Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

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.


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.

00030 {return *fAlgBase;}

AlgConfig & AlgHandle::GetAlgConfig  ) 
 

Definition at line 46 of file AlgHandle.cxx.

References fAlgConfigRef.

Referenced by AltDeMuxModule::AltDeMuxModule(), atmo_configure_common(), DmxDeMuxFilterModule::BeginJob(), DigitListModule::BeginJob(), FitTrackMSListModule::Config(), FitTrack3ListModule::Config(), FarDetStripListModule::Config(), FarDetSliceListModule::Config(), FarDetShieldPlankListModule::Config(), Cluster3DModule::Config(), AtNuFitModule::Config(), AtNuFindModule::Config(), AltModuleStpPatternRec::Config(), AltModuleSliceList::Config(), FitTrack3ListModule::DefaultConfig(), FarDetStripListModule::DefaultConfig(), FarDetSliceListModule::DefaultConfig(), FarDetShieldPlankListModule::DefaultConfig(), Cluster3DModule::DefaultConfig(), AtNuFitModule::DefaultConfig(), AtNuFindModule::DefaultConfig(), AltModuleStpPatternRec::DefaultConfig(), AltModuleSliceList::DefaultConfig(), DmxDeMuxCosmicsModule::DmxDeMuxCosmicsModule(), DmxDeMuxModule::DmxDeMuxModule(), AlgFactory::GetOwnedConfigRecord(), main(), RemoveMuon::Reco(), RealCalDetPIDModule::Reco(), FitTrackCamListModule::Reco(), AlgEventSSList::ReConstructShowers(), AlgEventSRList::ReConstructShowers(), AlgRmMuList::RunAlg(), AlgMuonRemoval::RunAlg(), AlgCosmicMuonRemoval::RunAlg(), and StripSRKeyFromTime().

00047 {
00048    return (AlgConfig &) *fAlgConfigRef.GetObject();
00049 }

TRef & AlgHandle::GetAlgConfigRef  )  const
 

Definition at line 52 of file AlgHandle.cxx.

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 AltCandStpProb::AltCandStpProb(), AltCandStpProbList::AltCandStpProbList(), 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(), CandFitTrack3::CandFitTrack3(), CandFitTrack3List::CandFitTrack3List(), 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(), DmxDeMuxFilterModule::Reco(), DmxDeMuxCosmicsModule::Reco(), AltDeMuxModule::Reco(), AlgEventSSList::ReConstructShowers(), AlgEventSRList::ReConstructShowers(), and AlgDeMuxDigitList::RunAlg().

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


Member Data Documentation

AlgBase* AlgHandle::fAlgBase [private]
 

Definition at line 37 of file AlgHandle.h.

Referenced by RunAlg().

TRef AlgHandle::fAlgConfigRef [private]
 

Owned by factory loan pool.

Definition at line 38 of file AlgHandle.h.

Referenced by GetAlgConfig(), and RunAlg().


The documentation for this class was generated from the following files:
Generated on Sat Nov 21 22:49:18 2009 for loon by  doxygen 1.3.9.1