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

Public Member Functions | |
| CandRecord () | |
| CandRecord (CandHeader *head) | |
| virtual | ~CandRecord () |
| CandHandle * | FindCandHandle (const char *classname=0, const char *objname=0) const |
| TIter | GetCandHandleIter (Bool_t dir=kIterForward) |
| const CandHeader * | GetCandHeader () const |
| const TObjArray & | GetCandHandleList () const |
| Bool_t | RemoveCandHandle (CandHandle *ch) |
| void | SecureCandHandle (CandHandle &ch) |
| void | SwitchCandHandlePersToTemp (CandHandle *ch) |
| virtual void | Print (Option_t *option="ntid99") const |
|
|
Definition at line 19 of file CandRecord.cxx. 00020 {
00021 }
|
|
|
Definition at line 24 of file CandRecord.cxx. 00024 : 00025 RecMinos(head) 00026 { 00027 00028 // adopt the CandHeader for ownership 00029 }
|
|
|
Definition at line 32 of file CandRecord.cxx. 00033 {
00034 }
|
|
||||||||||||
|
|
Definition at line 71 of file CandRecord.cxx. Referenced by StripCands::Ana(), RecoTreeModule::Ana(), AtNuTreeModule::Ana(), NtpMaker::FillCandInfo(), and StripCands::Reco(). 00072 {
00073 return TIter(&RecMinos::GetComponents(),dir);
00074 }
|
|
|
Definition at line 33 of file CandRecord.h. References RecMinos::GetComponents(). Referenced by DataUtil::dump_mom(), and Mint::DumpMom(). 00034 {return RecMinos::GetComponents();}
|
|
|
Definition at line 78 of file CandRecord.cxx. References RecMinos::GetHeader(). Referenced by ShieldPlankListModule::Ana(), RecoTreeModule::Ana(), FitTrackCamAnalysisModule::Ana(), FCPCFilterModule::Ana(), FarDetStripListModule::Ana(), FarDetShieldPlankListModule::Ana(), AtNuTreeModule::Ana(), DataUtil::dump_mom(), UberModuleLite::Get(), UberModule::Get(), UberDST::Get(), DataUtil::GetCandHeader(), DataUtil::GetUgliGeomHandle(), CandHandle::GetVldContext(), UberModule::Reco(), DmxDeMuxFilterModule::Reco(), AlgTrackSRList::RunAlg(), AlgFitTrackSR::RunAlg(), AlgFitTrackCam::RunAlg(), AlgFitShowerEM::RunAlg(), AlgFilterDigitListSR::RunAlg(), AlgDeMuxCosmics::RunAlg(), AlgDeMuxBeam::RunAlg(), and AlgCalDetSI::RunAlg(). 00079 {
00080 return dynamic_cast<const CandHeader *>(RecMinos::GetHeader());
00081 }
|
|
|
Reimplemented from RecMinos. Definition at line 125 of file CandRecord.cxx. References option, and RecMinosHdr::Print(). Referenced by DemoEventDump::DumpCandRecords(), and DemoEventDump::DumpObjectTable(). 00126 {
00127 // Print header, loop over raw blocks, print those
00128 // unless passed "l" option, then just list the blocks.
00129
00130 if (fHeader) fHeader->Print();
00131 else std::cout << "CandRecord: has no header";
00132 std::cout << std::endl; // header doesn't terminate the line
00133
00134 std::string opt = option;
00135 bool doList = ( opt.find("l") != std::string::npos );
00136 bool doTemp = ( opt.find("T") != std::string::npos ) && fTemporaries.GetSize() != 0;
00137
00138 const TObject *tobj = 0;
00139
00140 if (doTemp)
00141 std::cout << " --------- Components ---------" << std::endl;
00142 TIter iterComp(&fComponents);
00143 while ((tobj = iterComp())) {
00144 if (doList) tobj->Print("ntd0v0");
00145 else tobj->Print(option);
00146 }
00147
00148 if (doTemp) {
00149 std::cout << " --------- Temporaries ---------" << std::endl;
00150 TIter iterTemp(&fTemporaries);
00151 while ((tobj = iterTemp())) {
00152 if (doList) tobj->Print("ntd0v0");
00153 else tobj->Print(option);
00154 }
00155 }
00156
00157 }
|
|
|
Definition at line 84 of file CandRecord.cxx. References RecMinos::RemoveComponent(), and RecMinos::RemoveTemporary(). Referenced by StripCands::Reco(), and PurgeCandidateModule::Reco(). 00085 {
00086
00087 // Remove CandHandle from fComponents or fTemporaries and delete it.
00088 // Return true if successfully removed, false otherwise.
00089 CandHandle *chremove = 0;
00090 if ((chremove =
00091 dynamic_cast<CandHandle *>(RecMinos::RemoveComponent(ch)))) {
00092 delete chremove;
00093 return true;
00094 }
00095 else if ((chremove =
00096 dynamic_cast<CandHandle *>(RecMinos::RemoveTemporary(ch)))) {
00097 delete chremove;
00098 return true;
00099 }
00100 return false;
00101 }
|
|
|
|
Definition at line 115 of file CandRecord.cxx. References RecMinos::AdoptTemporary(), and RecMinos::RemoveComponent(). Referenced by FilterDigitListModule::Reco(), DeMuxDigitListModule::Reco(), and BiggestChopModule::Reco(). 00116 {
00117
00118 // Switch a CandHandle from "fComponents" to "fTemporaries"
00119 CandHandle *chswitch = dynamic_cast<CandHandle *>
00120 (RecMinos::RemoveComponent(ch));
00121 if (chswitch) RecMinos::AdoptTemporary(chswitch);
00122 }
|
1.3.9.1