CandTrackCam Class Reference

#include <CandTrackCam.h>

Inheritance diagram for CandTrackCam:
CandTrack CandReco CandBase CandRefCounted

List of all members.

Public Member Functions

 CandTrackCam ()

Static Public Member Functions

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

Protected Member Functions

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

Friends

class CandTrackCamHandle

Detailed Description

Definition at line 20 of file CandTrackCam.h.


Constructor & Destructor Documentation

CandTrackCam::CandTrackCam (  ) 

Definition at line 17 of file CandTrackCam.cxx.

Referenced by Dup(), and MakeCandidate().

00018 {
00019 }

CandTrackCam::CandTrackCam ( AlgHandle ah  )  [protected]

Definition at line 24 of file CandTrackCam.cxx.

00025     : CandTrack(ah)
00026 {
00027 }

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

Definition at line 32 of file CandTrackCam.cxx.

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

00033     : CandTrack(ah)
00034 {
00035     this->CreateLocalHandle();
00036     {
00037         CandTrackCamHandle a_handle(this);
00038         ch = a_handle;
00039     }
00040     ah.RunAlg(ch,cx);
00041 }

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

Definition at line 46 of file CandTrackCam.cxx.

00047     : CandTrack(rhs)
00048 {
00049 }

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

Definition at line 54 of file CandTrackCam.cxx.

00055 {
00056 }


Member Function Documentation

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

Reimplemented from CandTrack.

Definition at line 61 of file CandTrackCam.cxx.

References CandTrackCamHandle, and CandBase::SetLocalHandle().

Referenced by CandTrackCam(), and Dup().

00062 {
00063   this->SetLocalHandle(new CandTrackCamHandle(this));
00064 }

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

Reimplemented from CandTrack.

Definition at line 69 of file CandTrackCam.cxx.

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

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

CandTrackCamHandle CandTrackCam::MakeCandidate ( AlgHandle ah,
CandContext ch 
) [static]

Reimplemented from CandTrack.

Definition at line 82 of file CandTrackCam.cxx.

References CandTrackCam().

Referenced by AlgTrackCamList::RunAlg().

00083 {
00084   CandTrackCamHandle a_handle;
00085   new CandTrackCam(ah,a_handle,cx);
00086   return a_handle;
00087 }


Friends And Related Function Documentation

friend class CandTrackCamHandle [friend]

Definition at line 22 of file CandTrackCam.h.

Referenced by CreateLocalHandle().


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

Generated on 22 Nov 2017 for loon by  doxygen 1.6.1