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

Public Member Functions | |
| AlgSliceSR () | |
| virtual | ~AlgSliceSR () |
| virtual void | RunAlg (AlgConfig &ac, CandHandle &ch, CandContext &cx) |
| virtual void | Trace (const char *c) const |
|
|
Definition at line 33 of file AlgSliceSR.cxx. 00034 {
00035 }
|
|
|
Definition at line 38 of file AlgSliceSR.cxx. 00039 {
00040 }
|
|
||||||||||||||||
|
Implements AlgBase. Definition at line 43 of file AlgSliceSR.cxx. References CandHandle::AddDaughterLink(), and CandContext::GetDataIn(). 00044 {
00045
00046 assert(ch.InheritsFrom("CandSliceHandle"));
00047 CandSliceHandle &csh = dynamic_cast<CandSliceHandle &>(ch);
00048
00049 assert(cx.GetDataIn());
00050 assert(cx.GetDataIn()->InheritsFrom("TObjArray"));
00051
00052 const TObjArray *tary =
00053 dynamic_cast<const TObjArray*>(cx.GetDataIn());
00054
00055 for (Int_t i=0; i<=tary->GetLast(); i++) {
00056 TObject *tobj = tary->At(i);
00057 assert(tobj->InheritsFrom("CandStripHandle"));
00058 CandStripHandle *striphandle = dynamic_cast<CandStripHandle*>(tobj);
00059 csh.AddDaughterLink(*striphandle);
00060
00061 }
00062
00063 }
|
|
|
Reimplemented from AlgBase. Definition at line 66 of file AlgSliceSR.cxx. 00067 {
00068 }
|
1.3.9.1