133 |
TTree* l0_tree; |
TTree* l0_tree; |
134 |
Int_t iroot; |
Int_t iroot; |
135 |
Int_t prevshift; // to remember if any shift is needed to synchronize l0 and l2 data instead of calculating any time |
Int_t prevshift; // to remember if any shift is needed to synchronize l0 and l2 data instead of calculating any time |
136 |
|
Int_t maxshift; // EMILIANO maximum discrepancy between L2 and L0 data (the bigger the better concering synch but the processing speed drops) default = 10 |
137 |
// -------------------------------------------- |
// -------------------------------------------- |
138 |
// variables to store Level0 info (if required) |
// variables to store Level0 info (if required) |
139 |
// -------------------------------------------- |
// -------------------------------------------- |
243 |
TTree* GetRunTree(TFile*); |
TTree* GetRunTree(TFile*); |
244 |
TChain* GetRunTree(TList*); |
TChain* GetRunTree(TList*); |
245 |
TChain* GetRunTree(TString ddir,TString list){ return GetRunTree(GetListOfLevel2Files(ddir,list)); }; |
TChain* GetRunTree(TString ddir,TString list){ return GetRunTree(GetListOfLevel2Files(ddir,list)); }; |
246 |
|
Bool_t UpdateRunInfo(Long64_t);//{ return UpdateRunInfo(run_tree,iev); }; |
247 |
Bool_t UpdateRunInfo(TTree *,Long64_t); |
Bool_t UpdateRunInfo(TTree *,Long64_t); |
248 |
Bool_t UpdateRunInfo(TChain *,Long64_t); |
Bool_t UpdateRunInfo(TChain *,Long64_t); |
|
Bool_t UpdateRunInfo(Long64_t iev);//{ return UpdateRunInfo(run_tree,iev); }; |
|
249 |
|
|
250 |
void CreateCloneTrees0(TChain *fChain, TFile* file); |
void CreateCloneTrees0(TChain *fChain, TFile* file); |
251 |
void CreateCloneTrees(TFile* file); |
void CreateCloneTrees(TFile* file); |
261 |
Int_t GetEntry(Long64_t); |
Int_t GetEntry(Long64_t); |
262 |
Int_t GetYodaEntry(); |
Int_t GetYodaEntry(); |
263 |
|
|
264 |
|
void SetMaxShift(Int_t sh){ maxshift = sh; return;}; // EMILIANO method to change the maxshift variable |
265 |
|
|
266 |
Long64_t GetEntries(){return pam_tree->GetEntries();}; |
Long64_t GetEntries(){return pam_tree->GetEntries();}; |
267 |
TChain* GetPamTree(){return pam_tree;}; |
TChain* GetPamTree(){return pam_tree;}; |
268 |
TChain* GetRunTree(){return run_tree;}; |
TChain* GetRunTree(){return run_tree;}; |