| 20 |
#include <NDLevel2.h> |
#include <NDLevel2.h> |
| 21 |
#include <AcLevel2.h> |
#include <AcLevel2.h> |
| 22 |
#include <OrbitalInfo.h> |
#include <OrbitalInfo.h> |
|
#include <OrbitalInfo.h> |
|
| 23 |
#include <RunInfo.h> |
#include <RunInfo.h> |
| 24 |
#include <GLTables.h> |
#include <GLTables.h> |
| 25 |
|
|
| 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; |
| 105 |
OrbitalInfo* orb_obj; |
OrbitalInfo* orb_obj; |
| 106 |
|
|
| 107 |
GL_RUN* run_obj; |
GL_RUN* run_obj; |
| 108 |
|
SoftInfo* soft_obj; // Emiliano |
| 109 |
|
|
| 110 |
TTree* tree_clone[8]; |
TTree* tree_clone[8]; |
| 111 |
|
|
| 141 |
void Clear(); |
void Clear(); |
| 142 |
void Delete(); |
void Delete(); |
| 143 |
|
|
| 144 |
GL_RUN* GetRunInfo() { return run_obj; }; |
|
|
|
|
| 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;}; |
| 187 |
NDLevel2 *GetNDLevel2() { return nd_obj;}; |
NDLevel2 *GetNDLevel2() { return nd_obj;}; |
| 188 |
AcLevel2 *GetAcLevel2() { return ac_obj;}; |
AcLevel2 *GetAcLevel2() { return ac_obj;}; |
| 189 |
OrbitalInfo *GetOrbitalInfo(){ return orb_obj;}; |
OrbitalInfo *GetOrbitalInfo(){ return orb_obj;}; |
| 190 |
|
GL_RUN *GetRunInfo() { return run_obj; }; |
| 191 |
|
SoftInfo *GetSoftInfo() { return soft_obj; }; // Emiliano |
| 192 |
|
|
| 193 |
// ============================================== |
// ============================================== |
| 194 |
// methods to retrieve subdetectors stored tracks |
// methods to retrieve subdetectors stored tracks |