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

Public Member Functions | |
| NtpCluster3DRecord () | |
| NtpCluster3DRecord (const RecCandHeader &header) | |
| virtual | ~NtpCluster3DRecord () |
| virtual std::ostream & | Print (std::ostream &os) const |
| virtual void | Print (const Option_t *option="") const |
Public Attributes | |
| NtpCluster3DSummary | hdr3D |
| TClonesArray * | clu3D |
Private Member Functions | |
| void | Init () |
|
|
Definition at line 18 of file NtpCluster3DRecord.cxx. 00018 : RecRecordImp<RecCandHeader>(),clu3D(0) { 00019 // Purpose: Default constructor 00020 00021 this -> Init(); 00022 }
|
|
|
Definition at line 24 of file NtpCluster3DRecord.cxx. References Init(). 00024 : 00025 RecRecordImp<RecCandHeader>(hdr),clu3D(0) { 00026 // Purpose: Normal constructor 00027 00028 this -> Init(); 00029 }
|
|
|
Definition at line 31 of file NtpCluster3DRecord.cxx. References clu3D, RecArrayAllocator::Instance(), and RecArrayAllocator::ReleaseArray(). 00031 {
00032 // Purpose: Destructor
00033
00034 // Release arrays back to TClonesArray pool for reuse
00035 // Allocated memory of stored objects is retrieved via object Clear call
00036 RecArrayAllocator& allocator = RecArrayAllocator::Instance();
00037 if ( clu3D ) { allocator.ReleaseArray(clu3D); clu3D = 0; }
00038
00039 }
|
|
|
Definition at line 41 of file NtpCluster3DRecord.cxx. References clu3D, RecArrayAllocator::GetArray(), and RecArrayAllocator::Instance(). Referenced by NtpCluster3DRecord(). 00041 {
00042 //
00043 // Purpose: Initialize ntuple TClonesArrays
00044 //
00045
00046 RecArrayAllocator& allocator = RecArrayAllocator::Instance();
00047 if ( !clu3D ) clu3D = allocator.GetArray("NtpCluster3D");
00048
00049 }
|
|
|
Definition at line 63 of file NtpCluster3DRecord.cxx. References Print(). 00063 {
00064 //
00065 // Purpose: Print record in form supported by TObject::Print
00066 //
00067
00068 Print(std::cout);
00069 return;
00070
00071 }
|
|
|
Reimplemented from RecRecordImp< RecCandHeader >. Definition at line 51 of file NtpCluster3DRecord.cxx. References RecRecordImp< T >::Print(). Referenced by Print(). 00051 {
00052 //
00053 // Purpose: Print status of ntuple record on ostream
00054 //
00055
00056 os << "NtpCluster3DRecord::Print" << endl;
00057 RecRecordImp<RecCandHeader>::Print(os);
00058
00059 return os;
00060
00061 }
|
|
|
Definition at line 48 of file NtpCluster3DRecord.h. Referenced by NtpCluster3DModule::FillNtpCluster(), Init(), and ~NtpCluster3DRecord(). |
|
|
Definition at line 47 of file NtpCluster3DRecord.h. Referenced by NtpCluster3DModule::FillNtpClusterSummary(). |
1.3.9.1