CandTrackCamList Class Reference

#include <CandTrackCamList.h>

Inheritance diagram for CandTrackCamList:
CandTrackList CandRecoList CandBase CandRefCounted

List of all members.

Public Member Functions

 CandTrackCamList ()

Static Public Member Functions

static CandTrackCamListHandle MakeCandidate (AlgHandle &ah, CandContext &ch)

Protected Member Functions

 CandTrackCamList (AlgHandle &ah)
 CandTrackCamList (AlgHandle &ah, CandHandle &ch, CandContext &cx)
 CandTrackCamList (const CandTrackCamList &rhs)
virtual ~CandTrackCamList ()
virtual void CreateLocalHandle ()
virtual CandTrackCamListDup () const

Private Attributes

double fCPUTime

Friends

class CandTrackCamListHandle

Detailed Description

Definition at line 19 of file CandTrackCamList.h.


Constructor & Destructor Documentation

CandTrackCamList::CandTrackCamList (  ) 

Definition at line 17 of file CandTrackCamList.cxx.

Referenced by Dup(), and MakeCandidate().

00017                                     :
00018   fCPUTime(0)
00019 {
00020 }

CandTrackCamList::CandTrackCamList ( AlgHandle ah  )  [protected]

Definition at line 25 of file CandTrackCamList.cxx.

00026   : CandTrackList(ah), fCPUTime(0)
00027 {
00028 }

CandTrackCamList::CandTrackCamList ( AlgHandle ah,
CandHandle ch,
CandContext cx 
) [protected]

Definition at line 33 of file CandTrackCamList.cxx.

References CreateLocalHandle(), and AlgHandle::RunAlg().

00034   : CandTrackList(ah), fCPUTime(0)
00035 {
00036     this->CreateLocalHandle();
00037     {
00038         CandTrackCamListHandle a_handle(this);
00039         ch = a_handle;
00040     }
00041     ah.RunAlg(ch,cx);
00042 }

CandTrackCamList::CandTrackCamList ( const CandTrackCamList rhs  )  [protected]

Definition at line 47 of file CandTrackCamList.cxx.

00048   : CandTrackList(rhs), fCPUTime(0)
00049 {
00050 }

CandTrackCamList::~CandTrackCamList (  )  [protected, virtual]

Definition at line 55 of file CandTrackCamList.cxx.

00056 {
00057 }


Member Function Documentation

void CandTrackCamList::CreateLocalHandle (  )  [protected, virtual]

Reimplemented from CandTrackList.

Definition at line 62 of file CandTrackCamList.cxx.

References CandTrackCamListHandle, and CandBase::SetLocalHandle().

Referenced by CandTrackCamList(), and Dup().

00063 {
00064     this->SetLocalHandle(new CandTrackCamListHandle(this));
00065 }

CandTrackCamList * CandTrackCamList::Dup (  )  const [protected, virtual]

Reimplemented from CandTrackList.

Definition at line 70 of file CandTrackCamList.cxx.

References CandBase::AddDaughterLink(), CandTrackCamList(), CreateLocalHandle(), and CandBase::GetDaughterIterator().

00071 {
00072   CandTrackCamList* newone = new CandTrackCamList(*this);
00073   newone->CreateLocalHandle();
00074   TIter iter = this->GetDaughterIterator();
00075   CandHandle* ch;
00076   while ((ch=(CandHandle*)iter())) newone->AddDaughterLink(*ch);
00077   return newone;
00078 }

CandTrackCamListHandle CandTrackCamList::MakeCandidate ( AlgHandle ah,
CandContext ch 
) [static]

Reimplemented from CandTrackList.

Definition at line 83 of file CandTrackCamList.cxx.

References CandTrackCamList().

Referenced by TrackCamListModule::Reco().

00084 {
00085     CandTrackCamListHandle a_handle;
00086     new CandTrackCamList(ah,a_handle,cx);
00087     return a_handle;
00088 }


Friends And Related Function Documentation

friend class CandTrackCamListHandle [friend]

Definition at line 21 of file CandTrackCamList.h.

Referenced by CreateLocalHandle().


Member Data Documentation

double CandTrackCamList::fCPUTime [private]

Definition at line 37 of file CandTrackCamList.h.


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

Generated on 22 Nov 2017 for loon by  doxygen 1.6.1