AlgHandle Class Reference

#include <AlgHandle.h>

List of all members.

Public Member Functions

 AlgHandle ()
 AlgHandle (AlgBase *ab, TRef &acr)
 AlgHandle (const AlgHandle &ah)
virtual ~AlgHandle ()
AlgBaseGetAlgBase ()
AlgConfigGetAlgConfig ()
TRef & GetAlgConfigRef () const
virtual const char * GetName () const
void RunAlg (CandHandle &ch, CandContext &cx)

Private Attributes

AlgBasefAlgBase
TRef fAlgConfigRef
 Owned by factory loan pool.

Detailed Description

Definition at line 22 of file AlgHandle.h.


Constructor & Destructor Documentation

AlgHandle::AlgHandle (  ) 

Definition at line 19 of file AlgHandle.cxx.

00019                      :
00020   fAlgBase(0)
00021 , fAlgConfigRef(0)
00022 {
00023 }

AlgHandle::AlgHandle ( AlgBase ab,
TRef &  acr 
)

Definition at line 26 of file AlgHandle.cxx.

00026                                            :
00027   fAlgBase(ab)
00028 , fAlgConfigRef(acr)
00029 {
00030 }

AlgHandle::AlgHandle ( const AlgHandle ah  ) 

Definition at line 33 of file AlgHandle.cxx.

00033                                         :
00034   TNamed(ah)
00035 , fAlgBase(ah.fAlgBase)
00036 , fAlgConfigRef(ah.fAlgConfigRef)
00037 {
00038 }

AlgHandle::~AlgHandle (  )  [virtual]

Definition at line 41 of file AlgHandle.cxx.

00042 {
00043 }


Member Function Documentation

AlgBase& AlgHandle::GetAlgBase (  )  [inline]

Definition at line 30 of file AlgHandle.h.

References fAlgBase.

00030 {return *fAlgBase;}

AlgConfig & AlgHandle::GetAlgConfig (  ) 
TRef & AlgHandle::GetAlgConfigRef (  )  const

Definition at line 52 of file AlgHandle.cxx.

References fAlgConfigRef.

00053 {
00054    return (TRef &) fAlgConfigRef;
00055 }

const char * AlgHandle::GetName (  )  const [virtual]

Definition at line 58 of file AlgHandle.cxx.

References Nav::GetName().

Referenced by EventSRListModule::Reco().

00059 {
00060 
00061 // Returns ClassName() if there is no assigned TNamed name.
00062  return strlen(TNamed::GetName()) > 0 ? TNamed::GetName() : ClassName();
00063 }

void AlgHandle::RunAlg ( CandHandle ch,
CandContext cx 
)

Definition at line 66 of file AlgHandle.cxx.

References fAlgBase, fAlgConfigRef, and AlgBase::RunAlg().

Referenced by CandAtNuReco::CandAtNuReco(), CandCalDetPID::CandCalDetPID(), CandCalDetSI::CandCalDetSI(), CandChopList::CandChopList(), CandCluster::CandCluster(), CandCluster3D::CandCluster3D(), CandCluster3DList::CandCluster3DList(), CandClusterList::CandClusterList(), CandDataQuality::CandDataQuality(), CandDeadChip::CandDeadChip(), CandDeMuxDigit::CandDeMuxDigit(), CandDeMuxDigitList::CandDeMuxDigitList(), CandDigit::CandDigit(), CandDigitList::CandDigitList(), CandEvent::CandEvent(), CandEventList::CandEventList(), CandFitShowerEM::CandFitShowerEM(), CandFitShowerEMList::CandFitShowerEMList(), CandFitTrack::CandFitTrack(), CandFitTrackAtNu::CandFitTrackAtNu(), CandFitTrackAtNuList::CandFitTrackAtNuList(), CandFitTrackCam::CandFitTrackCam(), CandFitTrackCamList::CandFitTrackCamList(), CandFitTrackList::CandFitTrackList(), CandFitTrackMS::CandFitTrackMS(), CandFitTrackMSList::CandFitTrackMSList(), CandFitTrackSA::CandFitTrackSA(), CandFitTrackSR::CandFitTrackSR(), CandFitTrackSRList::CandFitTrackSRList(), CandRmMu::CandRmMu(), CandRmMuList::CandRmMuList(), CandShieldPlank::CandShieldPlank(), CandShieldPlankList::CandShieldPlankList(), CandShower::CandShower(), CandShowerAtNu::CandShowerAtNu(), CandShowerAtNuList::CandShowerAtNuList(), CandShowerEM::CandShowerEM(), CandShowerEMList::CandShowerEMList(), CandShowerList::CandShowerList(), CandShowerSR::CandShowerSR(), CandShowerSRList::CandShowerSRList(), CandSlice::CandSlice(), CandSliceList::CandSliceList(), CandStrip::CandStrip(), CandStripList::CandStripList(), CandSubShowerSR::CandSubShowerSR(), CandSubShowerSRList::CandSubShowerSRList(), CandTrack::CandTrack(), CandTrackAtNu::CandTrackAtNu(), CandTrackAtNuList::CandTrackAtNuList(), CandTrackCam::CandTrackCam(), CandTrackCamList::CandTrackCamList(), CandTrackList::CandTrackList(), CandTrackSR::CandTrackSR(), CandTrackSRList::CandTrackSRList(), FarDetDataQuality::FarDetDataQuality(), FarDetDeadChip::FarDetDeadChip(), FarDetEvent::FarDetEvent(), FarDetEventList::FarDetEventList(), FarDetShieldPlank::FarDetShieldPlank(), FarDetShieldPlankList::FarDetShieldPlankList(), FarDetSlice::FarDetSlice(), FarDetSliceList::FarDetSliceList(), FarDetStrip::FarDetStrip(), FarDetStripList::FarDetStripList(), DmxDeMuxCosmicsModule::Reco(), DmxDeMuxFilterModule::Reco(), AltDeMuxModule::Reco(), AlgEventSSList::ReConstructShowers(), AlgEventSRList::ReConstructShowers(), and AlgDeMuxDigitList::RunAlg().

00067 {
00068    fAlgBase->RunAlg((AlgConfig &) *fAlgConfigRef.GetObject(), ch, cx);
00069 }


Member Data Documentation

Definition at line 37 of file AlgHandle.h.

Referenced by GetAlgBase(), and RunAlg().

TRef AlgHandle::fAlgConfigRef [private]

Owned by factory loan pool.

Definition at line 38 of file AlgHandle.h.

Referenced by GetAlgConfig(), GetAlgConfigRef(), and RunAlg().


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

Generated on 21 Oct 2017 for loon by  doxygen 1.6.1