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

Public Member Functions | |
| AlgCluster3D () | |
| virtual | ~AlgCluster3D () |
| virtual void | RunAlg (AlgConfig &ac, CandHandle &ch, CandContext &cx) |
| virtual void | Trace (const char *c) const |
|
|
Definition at line 21 of file AlgCluster3D.h. 00021 {};
|
|
|
Definition at line 22 of file AlgCluster3D.h. 00022 {};
|
|
||||||||||||||||
|
Implements AlgBase. Definition at line 27 of file AlgCluster3D.cxx. References CandHandle::AddDaughterLink(), and MSG. 00028 {
00029 MSG("Cluster3D", Msg::kDebug) << "Starting AlgCluster3D::RunAlg()" << endl;
00030
00031 assert(ch.InheritsFrom("CandCluster3DHandle"));
00032 CandCluster3DHandle &cch = dynamic_cast<CandCluster3DHandle &>(ch);
00033
00034 assert(cx.GetDataIn());
00035
00036 assert(cx.GetDataIn()->InheritsFrom("TObjArray"));
00037
00038 const TObjArray *tary =
00039 dynamic_cast<const TObjArray*>(cx.GetDataIn());
00040
00041 for (Int_t i=0; i<=tary->GetLast(); i++) {
00042 TObject *tobj = tary->At(i);
00043 assert(tobj->InheritsFrom("CandStripHandle"));
00044 CandStripHandle *striphandle = dynamic_cast<CandStripHandle*>(tobj);
00045 cch.AddDaughterLink(*striphandle);
00046 }
00047
00048 }
|
|
|
Reimplemented from AlgBase. Definition at line 50 of file AlgCluster3D.cxx. 00051 {
00052 }
|
1.3.9.1