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

Public Member Functions | |
| FarDetEventList () | |
Static Public Member Functions | |
| FarDetEventListHandle | MakeCandidate (AlgHandle &ah, CandContext &cx) |
Protected Member Functions | |
| FarDetEventList (AlgHandle &ah) | |
| FarDetEventList (AlgHandle &ah, CandHandle &ch, CandContext &cx) | |
| FarDetEventList (const FarDetEventList &rhs) | |
| virtual | ~FarDetEventList () |
| virtual void | CreateLocalHandle () |
| virtual FarDetEventList * | Dup () const |
| virtual Bool_t | IsEquivalent (const TObject *rhs) const |
Friends | |
| class | FarDetEventListHandle |
|
|
Definition at line 26 of file FarDetEventList.cxx. References MSG. Referenced by Dup(), and MakeCandidate(). 00027 {
00028 MSG("Cand", Msg::kDebug)
00029 << "Begin FarDetEventList::FarDetEventList() ctor: " << endl
00030 << "UidInt = " << GetUidInt()
00031 << ", ArchUidInt " << GetArchUidInt() << endl
00032 << "No. of links = " << GetNLinks() << endl
00033 << "End FarDetEventList::FarDetEventList() ctor." << endl;
00034 }
|
|
|
Definition at line 37 of file FarDetEventList.cxx. 00037 : 00038 CandEventList(ah) // Should be the next class up on inheritance chain 00039 { 00040 00041 // The sole purpose of this constructor is to transmit the AlgHandle 00042 // up the inheritance chain to CandBase without having to invoke the 00043 // full constructor of an intermediate Candidate type which the highest 00044 // level Candidate might inherit from. One only wants to create the 00045 // LocalHandle and invoke the RunAlg() method in the lowest level class. 00046 }
|
|
||||||||||||||||
|
Definition at line 49 of file FarDetEventList.cxx. References CreateLocalHandle(), CandBase::GetArchUidInt(), CandRefCounted::GetNLinks(), CandBase::GetUidInt(), MSG, and AlgHandle::RunAlg(). 00050 : 00051 CandEventList(ah) // Should be the next class up on inheritance chain 00052 { 00053 CreateLocalHandle(); 00054 MSG("Cand", Msg::kDebug) 00055 << "Begin FarDetEventList::FarDetEventList(AlgHandle &, CandHandle &, " 00056 << "CandContext &) ctor: " << endl 00057 << "UidInt = " << GetUidInt() 00058 << ", ArchUidInt " << GetArchUidInt() << endl 00059 << "No. of links = " << GetNLinks() << endl 00060 << "End FarDetEventList::FarDetEventList(AlgHandle &, CandHandle &, " 00061 << "CandContext &) ctor." << endl; 00062 00063 // Run Algorithm to construct Candidate 00064 { // Start of scope. 00065 FarDetEventListHandle cdh(this); // cdh will go out of scope 00066 ch = cdh; // after setting ch. 00067 } // End of scope. 00068 ah.RunAlg(ch, cx); 00069 }
|
|
|
Definition at line 72 of file FarDetEventList.cxx. References CandBase::GetArchUidInt(), CandRefCounted::GetNLinks(), CandBase::GetUidInt(), and MSG. 00072 : 00073 CandEventList(rhs) // Should be the next class up on inheritance chain 00074 { 00075 00076 //CreateLocalHandle(); // Moved to Dup function following copy-ctor call 00077 MSG("Cand", Msg::kDebug) 00078 << "Begin FarDetEventList::FarDetEventList(const FarDetEventList &rhs) ctor:" 00079 << endl 00080 << "UidInt = " << GetUidInt() 00081 << ", ArchUidInt " << GetArchUidInt() << endl 00082 << "No. of links = " << GetNLinks() << endl 00083 << "End FarDetEventList::FarDetEventList(const FarDetEventList &rhs) ctor." 00084 << endl; 00085 }
|
|
|
Definition at line 88 of file FarDetEventList.cxx. References CandBase::GetArchUidInt(), CandRefCounted::GetNLinks(), CandBase::GetUidInt(), and MSG. 00089 {
00090 MSG("Cand", Msg::kDebug)
00091 << "Begin FarDetEventList::~FarDetEventList() dtor: " << endl
00092 << "UidInt = " << GetUidInt()
00093 << ", ArchUidInt " << GetArchUidInt() << endl
00094 << "No. of links = " << GetNLinks() << endl
00095 << "End FarDetEventList::~FarDetEventList() dtor." << endl;
00096 }
|
|
|
Reimplemented from CandEventList. Definition at line 99 of file FarDetEventList.cxx. References FarDetEventListHandle, and CandBase::SetLocalHandle(). Referenced by Dup(), and FarDetEventList(). 00100 {
00101 SetLocalHandle(new FarDetEventListHandle(this));
00102 }
|
|
|
Reimplemented from CandEventList. Definition at line 105 of file FarDetEventList.cxx. References CandBase::AddDaughterLink(), CreateLocalHandle(), FarDetEventList(), and CandBase::GetDaughterIterator(). 00106 {
00107
00108 // Base copy ctor dups owned pointers, but defers copying Daughter List.
00109 // Daughter List copy is made in the derived class Dup() function.
00110 // This is because base class copy constructor hasn't yet created
00111 // fLocalHandle with a CandHandle* of the full derived type.
00112 FarDetEventList *cb = new FarDetEventList(*this); // Copy-ctor dups ptrs
00113 cb->CreateLocalHandle(); // Initializes fLocalHandle after copy-ctor
00114 TIter iterdau = GetDaughterIterator();
00115 CandHandle *dau;
00116 while ((dau=(CandHandle *) iterdau())) cb->AddDaughterLink(*dau);
00117 return cb;
00118 }
|
|
|
Reimplemented from CandEventList. Definition at line 121 of file FarDetEventList.cxx. References CandBase::IsEquivalent(), CandBase::TestDisplayCandBanner(), and CandBase::TestNothing(). 00122 {
00123 Bool_t result = true;
00124 if (!CandBase::IsEquivalent(rhs)) result = false; // superclass test
00125 TestDisplayCandBanner("FarDetEventList");
00126 const FarDetEventList* rCnd = dynamic_cast<const FarDetEventList*>(rhs);
00127 if (rCnd == NULL) return false;
00128
00129 TestNothing("FarDetEventList");
00130
00131 return result;
00132 }
|
|
||||||||||||
|
Reimplemented from CandEventList. Definition at line 135 of file FarDetEventList.cxx. References FarDetEventList(). Referenced by FarDetEventModule::Reco(). 00137 {
00138 FarDetEventListHandle cdh;
00139 new FarDetEventList(ah, cdh, cx); // cdh owns the new FarDetEventList
00140 return cdh;
00141 }
|
|
|
Definition at line 25 of file FarDetEventList.h. Referenced by CreateLocalHandle(). |
1.3.9.1