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

Public Member Functions | |
| CandAtNuRecoHandle () | |
| CandAtNuRecoHandle (const CandAtNuRecoHandle &cdh) | |
| CandAtNuRecoHandle (CandAtNuReco *cd) | |
| virtual | ~CandAtNuRecoHandle () |
| virtual CandAtNuRecoHandle * | DupHandle () const |
| virtual void | Trace (const char *c="") const |
| void | AddShower (CandShowerAtNuHandle *shower) |
| void | AddTrack (CandTrackAtNuHandle *track) |
| CandShowerAtNuHandle * | GetShower (Int_t i) |
| CandTrackAtNuHandle * | GetTrack (Int_t i) |
| Int_t | GetLastShower () const |
| Int_t | GetLastTrack () const |
| Int_t | GetNtracks () const |
| Int_t | GetNshowers () const |
| void | SetAtNuRecoScore (Double_t scr) |
| Double_t | GetAtNuRecoScore () const |
| void | SetCPUTime (Double_t time) |
| Double_t | GetCPUTime () const |
| void | SetNBlocks (Int_t nblocks) |
| Int_t | GetNBlocks () const |
|
|
Definition at line 24 of file CandAtNuRecoHandle.cxx. References MSG. Referenced by DupHandle(). 00025 {
00026 MSG("CandAtNuRecoHandle", Msg::kDebug) << " " << endl;
00027 }
|
|
|
Definition at line 29 of file CandAtNuRecoHandle.cxx. 00029 : 00030 CandRecoHandle(cdh) 00031 { 00032 00033 }
|
|
|
Definition at line 35 of file CandAtNuRecoHandle.cxx. 00035 : 00036 CandRecoHandle(cd) 00037 { 00038 00039 }
|
|
|
Definition at line 41 of file CandAtNuRecoHandle.cxx. 00042 {
00043
00044 }
|
|
|
Definition at line 56 of file CandAtNuRecoHandle.cxx. References CandHandle::GetOwnedCandBase(). Referenced by AlgAtNuRecoMCTruth::RunAlg(), and AlgAtNuReco::RunAlg(). 00057 {
00058 TObjArray *fShowerList = &(dynamic_cast<CandAtNuReco*>(GetOwnedCandBase())->fShowerList);
00059 Bool_t found = 0;
00060 for (Int_t i=0; i<=fShowerList->GetLast() && !found; i++) {
00061 CandShowerAtNuHandle *target = dynamic_cast<CandShowerAtNuHandle*>(fShowerList->At(i));
00062 if (*shower == *target) {
00063 found = 1;
00064 }
00065 }
00066 if (found) {
00067 return;
00068 }
00069 fShowerList->Add(shower);
00070 }
|
|
|
Definition at line 72 of file CandAtNuRecoHandle.cxx. References CandHandle::GetOwnedCandBase(). Referenced by AlgAtNuRecoMCTruth::RunAlg(), and AlgAtNuReco::RunAlg(). 00073 {
00074 TObjArray *fTrackList = &(dynamic_cast<CandAtNuReco*>(GetOwnedCandBase())->fTrackList);
00075 Bool_t found = 0;
00076 for (Int_t i=0; i<=fTrackList->GetLast() && !found; i++) {
00077 CandTrackAtNuHandle *target = dynamic_cast<CandTrackAtNuHandle*>(fTrackList->At(i));
00078 if (*track == *target) {
00079 found = 1;
00080 }
00081 }
00082 if (found) {
00083 return;
00084 }
00085 fTrackList->Add(track);
00086 }
|
|
|
Reimplemented from CandRecoHandle. Definition at line 46 of file CandAtNuRecoHandle.cxx. References CandAtNuRecoHandle(). 00047 {
00048 return (new CandAtNuRecoHandle(*this));
00049 }
|
|
|
Definition at line 131 of file CandAtNuRecoHandle.cxx. References CandHandle::GetCandBase(). 00132 {
00133 return dynamic_cast<const CandAtNuReco*>(GetCandBase())->fAtNuRecoScore;
00134 }
|
|
|
Definition at line 141 of file CandAtNuRecoHandle.cxx. References CandHandle::GetCandBase(). 00142 {
00143 return dynamic_cast<const CandAtNuReco*>(GetCandBase())->fCPUTime;
00144 }
|
|
|
Definition at line 106 of file CandAtNuRecoHandle.cxx. References CandHandle::GetCandBase(). 00107 {
00108 return dynamic_cast<const CandAtNuReco*>(GetCandBase())->fShowerList.GetLast();
00109 }
|
|
|
Definition at line 111 of file CandAtNuRecoHandle.cxx. References CandHandle::GetCandBase(). 00112 {
00113 return dynamic_cast<const CandAtNuReco*>(GetCandBase())->fTrackList.GetLast();
00114 }
|
|
|
Definition at line 151 of file CandAtNuRecoHandle.cxx. References CandHandle::GetCandBase(). 00152 {
00153 return dynamic_cast<const CandAtNuReco*>(GetCandBase())->fNBlocks;
00154 }
|
|
|
Definition at line 121 of file CandAtNuRecoHandle.cxx. References CandHandle::GetCandBase(). 00122 {
00123 return dynamic_cast<const CandAtNuReco*>(GetCandBase())->fShowerList.GetLast()+1;
00124 }
|
|
|
Definition at line 116 of file CandAtNuRecoHandle.cxx. References CandHandle::GetCandBase(). 00117 {
00118 return dynamic_cast<const CandAtNuReco*>(GetCandBase())->fTrackList.GetLast()+1;
00119 }
|
|
|
Definition at line 88 of file CandAtNuRecoHandle.cxx. References CandHandle::GetCandBase(). 00089 {
00090 const TObjArray* fShowerList = &(dynamic_cast<const CandAtNuReco*>(GetCandBase())->fShowerList);
00091 if (i>fShowerList->GetLast()) {
00092 return 0;
00093 }
00094 return dynamic_cast<CandShowerAtNuHandle*>(fShowerList->At(i));
00095 }
|
|
|
Definition at line 97 of file CandAtNuRecoHandle.cxx. References CandHandle::GetCandBase(). 00098 {
00099 const TObjArray* fTrackList = &(dynamic_cast<const CandAtNuReco*>(GetCandBase())->fTrackList);
00100 if (i>fTrackList->GetLast()) {
00101 return 0;
00102 }
00103 return dynamic_cast<CandTrackAtNuHandle*>(fTrackList->At(i));
00104 }
|
|
|
Definition at line 126 of file CandAtNuRecoHandle.cxx. References CandHandle::GetOwnedCandBase(). Referenced by AlgAtNuReco::RunAlg(). 00127 {
00128 dynamic_cast<CandAtNuReco*>(GetOwnedCandBase())->fAtNuRecoScore=scr;
00129 }
|
|
|
Definition at line 136 of file CandAtNuRecoHandle.cxx. References CandHandle::GetOwnedCandBase(). Referenced by AlgAtNuReco::RunAlg(). 00137 {
00138 dynamic_cast<CandAtNuReco*>(GetOwnedCandBase())->fCPUTime=time;
00139 }
|
|
|
Definition at line 146 of file CandAtNuRecoHandle.cxx. References CandHandle::GetOwnedCandBase(). Referenced by AlgAtNuReco::RunAlg(). 00147 {
00148 dynamic_cast<CandAtNuReco*>(GetOwnedCandBase())->fNBlocks=nblocks;
00149 }
|
|
|
Reimplemented from CandRecoHandle. Definition at line 51 of file CandAtNuRecoHandle.cxx. References CandHandle::Trace(). 00052 {
00053 CandHandle::Trace(c);
00054 }
|
1.3.9.1