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

Public Member Functions | |
| SimSnarlRecord () | |
| SimSnarlRecord (const SimSnarlHeader &head) | |
| virtual | ~SimSnarlRecord () |
| const SimSnarlHeader * | GetSimSnarlHeader () const |
| virtual std::ostream & | Print (std::ostream &os) const |
| virtual void | Print (const Option_t *option="") const |
Protected Member Functions | |
| virtual TObject * | FindSimComponent (const char *classname=0, const char *objectname=0) const |
| virtual TObject * | FindSimTemporary (const char *classname=0, const char *objectname=0) const |
| virtual TObject * | FindSimObject (const char *classname=0, const char *objectname=0) const |
Friends | |
| class | PTSimModule |
| class | PhotonTransport |
| class | DetSim |
|
|
Definition at line 21 of file SimSnarlRecord.cxx. 00021 {
00022 // Default constructor
00023 }
|
|
|
Definition at line 26 of file SimSnarlRecord.cxx. 00026 : 00027 RecDataRecord<SimSnarlHeader>(hdr) { 00028 // normal ctor 00029 }
|
|
|
Definition at line 33 of file SimSnarlRecord.cxx. 00033 {
00034 }
|
|
||||||||||||
|
Definition at line 74 of file SimSnarlRecord.cxx. References RecDataRecord< T >::FindComponent(). Referenced by FindSimObject(). 00075 {
00076 //
00077 // Purpose: Protected method. Return a non-const version of the
00078 // requested object. See RecDataRecord<T>::FindComponent
00079 // for more details.
00080 //
00081
00082 TObject *obj
00083 = const_cast<TObject*>(RecDataRecord<SimSnarlHeader>::FindComponent(
00084 className,objName));
00085 return obj;
00086
00087 }
|
|
||||||||||||
|
Definition at line 107 of file SimSnarlRecord.cxx. References FindSimComponent(), and FindSimTemporary(). 00108 {
00109 //
00110 // Purpose: Protected method. Return a non-const version of the
00111 // requested object. See RecDataRecord<T>::FindComponent
00112 // or RecDataRecord<T>::FindTemporay for more details
00113 // about argument names.
00114 // This method checks the Components list first, and if
00115 // no object is found, checks the Temporaries list.
00116 //
00117
00118 TObject *obj = 0;
00119 obj = FindSimComponent(className,objName);
00120 if ( !obj ) obj = FindSimTemporary(className,objName);
00121
00122 return obj;
00123
00124 }
|
|
||||||||||||
|
Definition at line 90 of file SimSnarlRecord.cxx. References RecDataRecord< T >::FindTemporary(). Referenced by FindSimObject(). 00091 {
00092 //
00093 // Purpose: Protected method. Return a non-const version of the
00094 // requested object. See RecDataRecord<T>::FindTemporary
00095 // for more details.
00096 //
00097
00098 TObject *obj
00099 = const_cast<TObject*>(RecDataRecord<SimSnarlHeader>::FindTemporary(
00100 className,objName));
00101
00102 return obj;
00103
00104 }
|
|
|
Definition at line 37 of file SimSnarlRecord.cxx. References RecRecordImp< T >::GetHeader(). Referenced by MCText::AddSimSnarl(), WriteStdHepFileModule::Ana(), ScintHitTruthModule::Ana(), ScintHitAna::Ana(), RerootToTruthModule::Ana(), RecoTreeModule::Ana(), NtpMaker::Ana(), HepevtModule::Ana(), DatabaseToucher::Ana(), CompareToReroot::Ana(), AtNuTreeModule::Ana(), AtNuDisplayModule::Ana(), DataUtil::dump_mom(), PhotonTransport::Get(), NtpStModule::Get(), HepevtModule::Get(), DetSim::Get(), MCMerge::GrabStreamEvents(), PTSimModule::Reco(), NtpTHModule::Reco(), NtpSRModule::Reco(), and NtpMCModule::Reco(). 00038 {
00039 return &RecDataRecord<SimSnarlHeader>::GetHeader();
00040 }
|
|
|
Definition at line 59 of file SimSnarlRecord.cxx. References Print(). 00059 {
00060 //
00061 // Purpose: Print status of record in form supported by TObject::Print.
00062 //
00063 // Arguments: option (not used)
00064 //
00065 // Return: none.
00066 //
00067
00068 Print(std::cout);
00069 return;
00070
00071 }
|
|
|
Reimplemented from RecDataRecord< SimSnarlHeader >. Definition at line 43 of file SimSnarlRecord.cxx. References RecDataRecord< T >::Print(). Referenced by RerootToTruthModule::Ana(), HepevtModule::Ana(), and Print(). 00043 {
00044 //
00045 // Purpose: Print status of record on ostream.
00046 //
00047 // Arguments: os ostream to display on.
00048 //
00049 // Return: ostream reference.
00050 //
00051
00052 os << "SimSnarlRecord:" << endl;
00053 RecDataRecord<SimSnarlHeader>::Print(os);
00054 return os;
00055
00056 }
|
|
|
Definition at line 29 of file SimSnarlRecord.h. |
|
|
Definition at line 28 of file SimSnarlRecord.h. |
|
|
Definition at line 27 of file SimSnarlRecord.h. |
1.3.9.1