AlgCluster3D Class Reference

#include <AlgCluster3D.h>

Inheritance diagram for AlgCluster3D:
AlgBase

List of all members.

Public Member Functions

 AlgCluster3D ()
virtual ~AlgCluster3D ()
virtual void RunAlg (AlgConfig &ac, CandHandle &ch, CandContext &cx)
virtual void Trace (const char *c) const

Detailed Description

Definition at line 17 of file AlgCluster3D.h.


Constructor & Destructor Documentation

AlgCluster3D::AlgCluster3D (  )  [inline]

Definition at line 21 of file AlgCluster3D.h.

00021 {};

virtual AlgCluster3D::~AlgCluster3D (  )  [inline, virtual]

Definition at line 22 of file AlgCluster3D.h.

00022 {};


Member Function Documentation

void AlgCluster3D::RunAlg ( AlgConfig ac,
CandHandle ch,
CandContext cx 
) [virtual]

Implements AlgBase.

Definition at line 27 of file AlgCluster3D.cxx.

References Msg::kDebug, 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 }

void AlgCluster3D::Trace ( const char *  c  )  const [virtual]

Reimplemented from AlgBase.

Definition at line 50 of file AlgCluster3D.cxx.

00051 {
00052 }


The documentation for this class was generated from the following files:

Generated on 2 Nov 2017 for loon by  doxygen 1.6.1