CandTrackSRListHandle Class Reference

#include <CandTrackSRListHandle.h>

Inheritance diagram for CandTrackSRListHandle:
CandTrackListHandle CandRecoListHandle CandHandle

List of all members.

Public Member Functions

 CandTrackSRListHandle ()
 CandTrackSRListHandle (const CandTrackSRListHandle &cdh)
 CandTrackSRListHandle (CandTrackSRList *cd)
virtual ~CandTrackSRListHandle ()
virtual CandTrackSRListHandleDupHandle () const
virtual void Trace (const char *c="") const
void AddTrackCluster (TrackClusterSR *)
TObjArray * GetTrackClusterList () const
Double_t GetCPUTime () const
void SetCPUTime (Double_t)

Detailed Description

Definition at line 23 of file CandTrackSRListHandle.h.


Constructor & Destructor Documentation

CandTrackSRListHandle::CandTrackSRListHandle (  ) 

Definition at line 27 of file CandTrackSRListHandle.cxx.

Referenced by DupHandle().

00028 {
00029 }

CandTrackSRListHandle::CandTrackSRListHandle ( const CandTrackSRListHandle cdh  ) 

Definition at line 32 of file CandTrackSRListHandle.cxx.

00033                                                                        :
00034   CandTrackListHandle(cdh)
00035 {
00036 }

CandTrackSRListHandle::CandTrackSRListHandle ( CandTrackSRList cd  ) 

Definition at line 39 of file CandTrackSRListHandle.cxx.

00039                                                                 :
00040   CandTrackListHandle(cd)
00041 {
00042 }

CandTrackSRListHandle::~CandTrackSRListHandle (  )  [virtual]

Definition at line 45 of file CandTrackSRListHandle.cxx.

00046 {
00047 }


Member Function Documentation

void CandTrackSRListHandle::AddTrackCluster ( TrackClusterSR tc  ) 

Definition at line 70 of file CandTrackSRListHandle.cxx.

References CandHandle::GetOwnedCandBase().

Referenced by AlgTrackSRList::MakeTrackClusters(), and AlgTrackSRList::SpectrometerTracking().

00071 {
00072   TrackClusterSR *newtc = new TrackClusterSR(*tc);
00073   dynamic_cast<CandTrackSRList *>
00074                     (GetOwnedCandBase())->fTrackClusterList->Add(newtc);
00075 }

CandTrackSRListHandle * CandTrackSRListHandle::DupHandle (  )  const [virtual]

Reimplemented from CandTrackListHandle.

Definition at line 50 of file CandTrackSRListHandle.cxx.

References CandTrackSRListHandle().

00051 {
00052   return (new CandTrackSRListHandle(*this));
00053 }

Double_t CandTrackSRListHandle::GetCPUTime (  )  const

Definition at line 92 of file CandTrackSRListHandle.cxx.

References CandHandle::GetCandBase().

Referenced by NtpSRModule::FillNtpTrack(), UberModule::FillNtpTrack(), and UberModuleLite::FillNtpTrack().

00093 {
00094   return dynamic_cast<const CandTrackSRList *>(GetCandBase())->fCPUTime;
00095 }

TObjArray * CandTrackSRListHandle::GetTrackClusterList (  )  const

Definition at line 78 of file CandTrackSRListHandle.cxx.

References CandHandle::GetCandBase().

Referenced by AlgTrackSRList::RemoveStripsInSlice(), AlgTrackSRList::RemoveUnusedSpectStrips(), and AlgFitTrackSRList::RunAlg().

00079 {
00080   return dynamic_cast<const CandTrackSRList *>
00081                                      (GetCandBase())->fTrackClusterList;
00082 }

void CandTrackSRListHandle::SetCPUTime ( Double_t  cputime  ) 

Definition at line 85 of file CandTrackSRListHandle.cxx.

References CandHandle::GetOwnedCandBase().

Referenced by TrackSRListModule::Reco().

00086 {
00087   dynamic_cast<CandTrackSRList *>
00088                                (GetOwnedCandBase())->fCPUTime = cputime;
00089 }

void CandTrackSRListHandle::Trace ( const char *  c = ""  )  const [virtual]

Reimplemented from CandTrackListHandle.

Definition at line 57 of file CandTrackSRListHandle.cxx.

References Msg::kDebug, and MSG.

00058 {
00059   MSG("Cand", Msg::kDebug)
00060       << "**********Begin CandTrackSRListHandle::Trace(\"" << c << "\")"
00061                                                                  << endl
00062      << "Information from CandTrackSRListHandle's CandHandle: " << endl;
00063   CandHandle::Trace(c);
00064   MSG("Cand", Msg::kDebug)
00065         << "**********End CandTrackSRListHandle::Trace(\"" << c << "\")"
00066                                                                 << endl;
00067 }


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

Generated on 2 Nov 2017 for loon by  doxygen 1.6.1