#include <CandSubShowerSRList.h>
Inheritance diagram for CandSubShowerSRList:

Public Member Functions | |
| CandSubShowerSRList () | |
Static Public Member Functions | |
| CandSubShowerSRListHandle | MakeCandidate (AlgHandle &ah, CandContext &cx) |
Protected Member Functions | |
| CandSubShowerSRList (AlgHandle &ah) | |
| CandSubShowerSRList (AlgHandle &ah, CandHandle &ch, CandContext &cx) | |
| CandSubShowerSRList (const CandSubShowerSRList &rhs) | |
| virtual | ~CandSubShowerSRList () |
| virtual void | CreateLocalHandle () |
| virtual CandSubShowerSRList * | Dup () const |
| virtual Bool_t | IsEquivalent (const TObject *rhs) const |
Friends | |
| class | CandSubShowerSRListHandle |
|
|
Definition at line 24 of file CandSubShowerSRList.cxx. References MSG. Referenced by Dup(), and MakeCandidate(). 00025 {
00026 MSG("Cand", Msg::kDebug)
00027 << "Begin CandSubShowerSRList::CandSubShowerSRList() ctor: " << endl
00028 << "UidInt = " << GetUidInt()
00029 << ", ArchUidInt " << GetArchUidInt() << endl
00030 << "No. of links = " << GetNLinks() << endl
00031 << "End CandSubShowerSRList::CandSubShowerSRList() ctor." << endl;
00032 }
|
|
|
Definition at line 35 of file CandSubShowerSRList.cxx. 00035 : 00036 CandRecoList(ah) // Should be the next class up on inheritance chain 00037 { 00038 00039 // The sole purpose of this constructor is to transmit the AlgHandle 00040 // up the inheritance chain to CandBase without having to invoke the 00041 // full constructor of an intermediate Candidate type which the highest 00042 // level Candidate might inherit from. One only wants to create the 00043 // LocalHandle and invoke the RunAlg() method in the lowest level class. 00044 }
|
|
||||||||||||||||
|
Definition at line 47 of file CandSubShowerSRList.cxx. References CreateLocalHandle(), CandBase::GetArchUidInt(), CandRefCounted::GetNLinks(), CandBase::GetUidInt(), MSG, and AlgHandle::RunAlg(). 00048 : 00049 CandRecoList(ah) // Should be the next class up on inheritance chain 00050 { 00051 CreateLocalHandle(); 00052 MSG("Cand", Msg::kDebug) 00053 << "Begin CandSubShowerSRList::CandSubShowerSRList" 00054 << "(AlgHandle &, CandHandle &, " << "CandContext &) ctor: " << endl 00055 << "UidInt = " << GetUidInt() 00056 << ", ArchUidInt " << GetArchUidInt() << endl 00057 << "No. of links = " << GetNLinks() << endl 00058 << "End CandSubShowerSRList::CandSubShowerSRList" 00059 << "(AlgHandle &, CandHandle &, " << "CandContext &) ctor." << endl; 00060 00061 // Run Algorithm to construct Candidate 00062 { // Start of scope 00063 CandSubShowerSRListHandle cshl(this); // cshl will go out of scope 00064 ch = cshl; // after setting ch. 00065 } // End of scope 00066 ah.RunAlg(ch, cx); 00067 }
|
|
|
Definition at line 70 of file CandSubShowerSRList.cxx. References CandBase::GetArchUidInt(), CandRefCounted::GetNLinks(), CandBase::GetUidInt(), and MSG. 00070 : 00071 CandRecoList(rhs) //Should be the next class up on inheritance chain 00072 { 00073 00074 //CreateLocalHandle(); // Moved to Dup function following copy-ctor call 00075 MSG("Cand", Msg::kDebug) 00076 << "Begin CandSubShowerSRList::CandSubShowerSRList" 00077 << "(const CandSubShowerSRList &rhs) ctor: " << endl 00078 << "UidInt = " << GetUidInt() 00079 << ", ArchUidInt " << GetArchUidInt() << endl 00080 << "No. of links = " << GetNLinks() << endl 00081 << "End CandSubShowerSRList::CandSubShowerSRList" 00082 << "(const CandSubShowerSRList &rhs) ctor." << endl; 00083 }
|
|
|
Definition at line 86 of file CandSubShowerSRList.cxx. References CandBase::GetArchUidInt(), CandRefCounted::GetNLinks(), CandBase::GetUidInt(), and MSG. 00087 {
00088 MSG("Cand", Msg::kDebug)
00089 << "Begin CandSubShowerSRList::~CandSubShowerSRList() dtor: " << endl
00090 << "UidInt = " << GetUidInt()
00091 << ", ArchUidInt " << GetArchUidInt() << endl
00092 << "No. of links = " << GetNLinks() << endl
00093 << "End CandSubShowerSRList::~CandSubShowerSRList() dtor." << endl;
00094 }
|
|
|
Reimplemented from CandRecoList. Definition at line 97 of file CandSubShowerSRList.cxx. References CandSubShowerSRListHandle, and CandBase::SetLocalHandle(). Referenced by CandSubShowerSRList(), and Dup(). 00098 {
00099 SetLocalHandle(new CandSubShowerSRListHandle(this));
00100 }
|
|
|
Reimplemented from CandRecoList. Definition at line 103 of file CandSubShowerSRList.cxx. References CandBase::AddDaughterLink(), CandSubShowerSRList(), CreateLocalHandle(), and CandBase::GetDaughterIterator(). 00104 {
00105
00106 // Base copy ctor dups owned pointers, but defers copying Daughter List.
00107 // Daughter List copy is made in the derived class Dup() function.
00108 // This is because base class copy constructor hasn't yet created
00109 // fLocalHandle with a CandHandle* of the full derived type.
00110 CandSubShowerSRList *cb = new CandSubShowerSRList(*this); // Copy-ctor
00111 cb->CreateLocalHandle(); // Initializes fLocalHandle after copy-ctor
00112 TIter iterdau = GetDaughterIterator();
00113 CandHandle *dau;
00114 while ((dau=(CandHandle *) iterdau())) cb->AddDaughterLink(*dau);
00115 return cb;
00116 }
|
|
|
Reimplemented from CandRecoList. Definition at line 119 of file CandSubShowerSRList.cxx. References CandRecoList::IsEquivalent(), CandBase::TestDisplayCandBanner(), and CandBase::TestNothing(). 00120 {
00121 Bool_t result = true;
00122 if (!CandRecoList::IsEquivalent(rhs)) result = false; // superclass
00123 TestDisplayCandBanner("CandSubShowerSRList");
00124 const CandSubShowerSRList* rCnd = dynamic_cast<const CandSubShowerSRList*>(rhs);
00125 if (rCnd == NULL) return false;
00126 TestNothing("CandSubShowerSRList");
00127 return result;
00128 }
|
|
||||||||||||
|
Definition at line 131 of file CandSubShowerSRList.cxx. References CandSubShowerSRList(). Referenced by SubShowerSRListModule::Reco(). 00133 {
00134 CandSubShowerSRListHandle cshl;
00135 new CandSubShowerSRList(ah, cshl, cx); // cshl owns new CandSubShowerSRList
00136 return cshl;
00137 }
|
|
|
Definition at line 21 of file CandSubShowerSRList.h. Referenced by CreateLocalHandle(). |
1.3.9.1