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

CandFitTrack3List Class Reference

#include <CandFitTrack3List.h>

Inheritance diagram for CandFitTrack3List:

CandFitTrackList CandTrackList CandRecoList CandBase CandRefCounted List of all members.

Public Member Functions

 CandFitTrack3List ()

Static Public Member Functions

CandFitTrack3ListHandle MakeCandidate (AlgHandle &ah, CandContext &cx)

Protected Member Functions

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

Friends

class CandFitTrack3ListHandle

Constructor & Destructor Documentation

CandFitTrack3List::CandFitTrack3List  ) 
 

Definition at line 30 of file CandFitTrack3List.cxx.

References MSG.

Referenced by Dup(), and MakeCandidate().

00031 {
00032   MSG("Cand", Msg::kDebug)
00033       << "Begin CandFitTrack3List::CandFitTrack3List() ctor: " << endl
00034       << "UidInt = " << GetUidInt()
00035       << ", ArchUidInt " << GetArchUidInt() << endl
00036       << "No. of links = " << GetNLinks() << endl
00037       << "End CandFitTrack3List::CandFitTrack3List() ctor." << endl;
00038 }

CandFitTrack3List::CandFitTrack3List AlgHandle ah  )  [protected]
 

Definition at line 41 of file CandFitTrack3List.cxx.

00041                                                   :
00042   CandFitTrackList(ah)  // Should be the next class up on inheritance chain
00043 {
00044 
00045 // The sole purpose of this constructor is to transmit the AlgHandle
00046 // up the inheritance chain to CandBase without having to invoke the
00047 // full constructor of an intermediate Candidate type which the highest
00048 // level Candidate might inherit from.  One only wants to create the
00049 // LocalHandle and invoke the RunAlg() method in the lowest level class.
00050 
00051 }

CandFitTrack3List::CandFitTrack3List AlgHandle ah,
CandHandle ch,
CandContext cx
[protected]
 

Definition at line 54 of file CandFitTrack3List.cxx.

References CreateLocalHandle(), CandBase::GetArchUidInt(), CandRefCounted::GetNLinks(), CandBase::GetUidInt(), MSG, and AlgHandle::RunAlg().

00054                                                                                    :
00055   CandFitTrackList(ah)  // Should be the next class up on inheritance chain
00056 {
00057   CreateLocalHandle();
00058   MSG("Cand", Msg::kDebug)
00059       << "Begin CandFitTrack3List::CandFitTrack3List(AlgHandle &, CandHandle &, "
00060       << "CandContext &) ctor: " << endl
00061       << "UidInt = " << GetUidInt()
00062       << ", ArchUidInt " << GetArchUidInt() << endl
00063       << "No. of links = " << GetNLinks() << endl
00064       << "End CandFitTrack3List::CandFitTrack3List(AlgHandle &, CandHandle &, "
00065       << "CandContext &) ctor." << endl;
00066 
00067 // Run Algorithm to construct Candidate
00068    {                                         // Start of scope.
00069        CandFitTrack3ListHandle cftlh(this);              // cshl will go out of scope
00070        ch = cftlh;                               // after setting ch.
00071    }                                         // End of scope.
00072    ah.RunAlg(ch, cx);
00073 }

CandFitTrack3List::CandFitTrack3List const CandFitTrack3List rhs  )  [protected]
 

Definition at line 76 of file CandFitTrack3List.cxx.

References CandBase::GetArchUidInt(), CandRefCounted::GetNLinks(), CandBase::GetUidInt(), and MSG.

00076                                                                  :
00077   CandFitTrackList(rhs) // Should be the next class up on inheritance chain
00078 {
00079 //CreateLocalHandle(); // Moved to Dup function following copy-ctor call
00080   MSG("Cand", Msg::kDebug)
00081       << "Begin CandFitTrack3List::CandFitTrack3List(const CandFitTrack3List &rhs) ctor: " << endl
00082       << "UidInt = " << GetUidInt()
00083       << ", ArchUidInt " << GetArchUidInt() << endl
00084       << "No. of links = " << GetNLinks() << endl
00085       << "End CandFitTrack3List::CandFitTrack3List(const CandFitTrack3List &rhs) ctor." << endl;
00086 }

CandFitTrack3List::~CandFitTrack3List  )  [protected, virtual]
 

Definition at line 89 of file CandFitTrack3List.cxx.

References CandBase::GetArchUidInt(), CandRefCounted::GetNLinks(), CandBase::GetUidInt(), and MSG.

00090 {
00091   MSG("Cand", Msg::kDebug)
00092       << "Begin CandFitTrack3List::~CandFitTrack3List() dtor: " << endl
00093       << "UidInt = " << GetUidInt()
00094       << ", ArchUidInt " << GetArchUidInt() << endl
00095       << "No. of links = " << GetNLinks() << endl
00096       << "End CandFitTrack3List::~CandFitTrack3List() dtor." << endl;
00097 }


Member Function Documentation

void CandFitTrack3List::CreateLocalHandle  )  [protected, virtual]
 

Reimplemented from CandFitTrackList.

Definition at line 100 of file CandFitTrack3List.cxx.

References CandFitTrack3ListHandle, and CandBase::SetLocalHandle().

Referenced by CandFitTrack3List(), and Dup().

00101 {
00102   SetLocalHandle(new CandFitTrack3ListHandle(this));
00103 }

CandFitTrack3List * CandFitTrack3List::Dup  )  const [protected, virtual]
 

Reimplemented from CandFitTrackList.

Definition at line 106 of file CandFitTrack3List.cxx.

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

00107 {
00108 
00109 // Base copy ctor dups owned pointers, but defers copying Daughter List.
00110 // Daughter List copy is made in the derived class Dup() function.
00111 // This is because base class copy constructor hasn't yet created
00112 // fLocalHandle with a CandHandle* of the full derived type.
00113   CandFitTrack3List *cb = new CandFitTrack3List(*this);         // Copy-ctor
00114   cb->CreateLocalHandle();   // Initializes fLocalHandle after copy-ctor
00115   TIter iterdau = GetDaughterIterator();
00116   CandHandle *dau;
00117   while ((dau=(CandHandle *) iterdau())) cb->AddDaughterLink(*dau);
00118   return cb;
00119 }

CandFitTrack3ListHandle CandFitTrack3List::MakeCandidate AlgHandle ah,
CandContext cx
[static]
 

Reimplemented from CandFitTrackList.

Definition at line 122 of file CandFitTrack3List.cxx.

References CandFitTrack3List().

Referenced by FitTrack3ListModule::Reco().

00123 {
00124     CandFitTrack3ListHandle cftlh;
00125     new CandFitTrack3List(ah, cftlh, cx);//cftlh owns the new CandFitTrack3List
00126     return cftlh;
00127 }


Friends And Related Function Documentation

friend class CandFitTrack3ListHandle [friend]
 

Definition at line 24 of file CandFitTrack3List.h.

Referenced by CreateLocalHandle().


The documentation for this class was generated from the following files:
Generated on Mon Feb 15 11:08:53 2010 for loon by  doxygen 1.3.9.1