#include <AlgClusterSR.h>
Inheritance diagram for AlgClusterSR:

Public Member Functions | |
| AlgClusterSR () | |
| virtual | ~AlgClusterSR () |
| virtual void | RunAlg (AlgConfig &ac, CandHandle &ch, CandContext &cx) |
| virtual void | Trace (const char *c) const |
|
|
Definition at line 32 of file AlgClusterSR.cxx. 00033 {
00034 }
|
|
|
Definition at line 37 of file AlgClusterSR.cxx. 00038 {
00039 }
|
|
||||||||||||||||
|
Implements AlgBase. Definition at line 43 of file AlgClusterSR.cxx. References CandHandle::AddDaughterLink(), and CandContext::GetDataIn(). 00044 {
00045 assert(ch.InheritsFrom("CandClusterHandle"));
00046 CandClusterHandle &cch = dynamic_cast<CandClusterHandle &>(ch);
00047 assert(cx.GetDataIn());
00048 assert(cx.GetDataIn()->InheritsFrom("TObjArray"));
00049 const TObjArray *tary =
00050 dynamic_cast<const TObjArray*>(cx.GetDataIn());
00051 for (Int_t i=0; i<=tary->GetLast(); i++) {
00052 TObject *tobj = tary->At(i);
00053 assert(tobj->InheritsFrom("CandStripHandle"));
00054 CandStripHandle *striphandle = dynamic_cast<CandStripHandle*>(tobj);
00055 cch.AddDaughterLink(*striphandle);
00056 }
00057 }
|
|
|
Reimplemented from AlgBase. Definition at line 61 of file AlgClusterSR.cxx. 00062 {
00063 }
|
1.3.9.1