84 |
class PamLevel2 : public TObject { |
class PamLevel2 : public TObject { |
85 |
|
|
86 |
private: |
private: |
87 |
|
ULong64_t runfirstentry; |
88 |
|
ULong64_t runlastentry; |
89 |
|
Int_t irun; |
90 |
|
|
91 |
public: |
public: |
92 |
|
|
93 |
TrkLevel1* trk1_obj; |
TrkLevel1* trk1_obj; |
141 |
void Clear(); |
void Clear(); |
142 |
void Delete(); |
void Delete(); |
143 |
|
|
144 |
|
|
145 |
// ========================================= |
// ========================================= |
146 |
// methods needed to read/write Level2 trees |
// methods needed to read/write Level2 trees |
147 |
// ========================================= |
// ========================================= |
159 |
|
|
160 |
TTree* GetRunTree(TFile*); |
TTree* GetRunTree(TFile*); |
161 |
TChain* GetRunTree(TList*); |
TChain* GetRunTree(TList*); |
162 |
|
TChain* GetRunTree(TString ddir,TString list){ return GetRunTree(GetListOfLevel2Files(ddir,list)); }; |
163 |
|
Bool_t UpdateRunInfo(TTree *,ULong64_t); |
164 |
|
Bool_t UpdateRunInfo(TChain *,ULong64_t); |
165 |
|
|
166 |
void CreateCloneTrees0(TChain *fChain, TFile* file); |
void CreateCloneTrees0(TChain *fChain, TFile* file); |
167 |
void CreateCloneTrees(TFile* file); |
void CreateCloneTrees(TFile* file); |
177 |
// ======================================================== |
// ======================================================== |
178 |
void* GetPointerTo(const char*); |
void* GetPointerTo(const char*); |
179 |
TrkLevel1 *GetTrkLevel1() { return trk1_obj;}; |
TrkLevel1 *GetTrkLevel1() { return trk1_obj;}; |
180 |
TrkLevel2 *GetTrkLevel2() { return trk2_obj;}; |
TrkLevel2 *GetTrkLevel2() { return trk2_obj;}; |
181 |
TrkHough *GetTrkHough() { return trkh_obj;}; |
TrkHough *GetTrkHough() { return trkh_obj;}; |
182 |
CaloLevel1 *GetCaloLevel1() { return calo1_obj;}; |
CaloLevel1 *GetCaloLevel1() { return calo1_obj;}; |
183 |
CaloLevel2 *GetCaloLevel2() { return calo2_obj;}; |
CaloLevel2 *GetCaloLevel2() { return calo2_obj;}; |