281 |
Long64_t runfirstentry; //first entry of run, relative to the TChain |
Long64_t runfirstentry; //first entry of run, relative to the TChain |
282 |
Long64_t runlastentry; //last entry of run, relative to the TChain |
Long64_t runlastentry; //last entry of run, relative to the TChain |
283 |
Long64_t irunentry; //position of current entry, relative to the run |
Long64_t irunentry; //position of current entry, relative to the run |
284 |
|
Long64_t totrunentry; |
285 |
|
Long64_t totrunentrymax; |
286 |
|
Long64_t totrunentrymin; |
287 |
|
ULong64_t prevabstime; // abs time of previous event |
288 |
|
UInt_t prevpktnum; // packet number of previous event |
289 |
|
ULong64_t abstime; // current abs time |
290 |
|
UInt_t pktnum; // current packet number |
291 |
|
Bool_t isFragment; |
292 |
|
Bool_t isSync; ///< the file is fully sinchronized between L2 and L0/DB data |
293 |
|
// Bool_t hasL0EE; ///< backward compatibility flag for preselected event list |
294 |
|
Long64_t il0entry; ///< entry of level0 file in selection list |
295 |
TChain* run_tree; |
TChain* run_tree; |
296 |
TTree* run_tree_clone; |
TTree* run_tree_clone; |
297 |
TChain* sel_tree; |
TChain* sel_tree; |
311 |
TFile* l0_file; |
TFile* l0_file; |
312 |
TTree* l0_tree; |
TTree* l0_tree; |
313 |
Int_t iroot; |
Int_t iroot; |
314 |
Int_t prevshift; // to remember if any shift is needed to synchronize l0 and l2 data instead of calculating any time |
Long64_t prevshift; // shift needed to sync level2 data with the DB (nested+DV_skipped packets) - global position in level2 file EM |
315 |
|
Long64_t yprevshift; // shift needed to sync level2 data with level0 data (nested+DV_skipped packets) - run wise EM |
316 |
Int_t maxshift; // EMILIANO maximum discrepancy between L2 and L0 data (the bigger the better concering synch but the processing speed drops) default = 10 |
Int_t maxshift; // EMILIANO maximum discrepancy between L2 and L0 data (the bigger the better concering synch but the processing speed drops) default = 10 |
317 |
// -------------------------------------------- |
// -------------------------------------------- |
318 |
// variables to store Level0 info (if required) |
// variables to store Level0 info (if required) |
435 |
TTree* GetRunTree(TFile*); |
TTree* GetRunTree(TFile*); |
436 |
TChain* GetRunTree(TList*); |
TChain* GetRunTree(TList*); |
437 |
TChain* GetRunTree(TString ddir,TString list){ return GetRunTree(GetListOfLevel2Files(ddir,list)); }; |
TChain* GetRunTree(TString ddir,TString list){ return GetRunTree(GetListOfLevel2Files(ddir,list)); }; |
438 |
Bool_t UpdateRunInfo(Long64_t);//{ return UpdateRunInfo(run_tree,iev); }; |
Bool_t UpdateRunInfo(Long64_t);///< new implementation to solve Mori's bug |
439 |
Bool_t UpdateRunInfo(TTree *,Long64_t); |
Bool_t UpdateRunInfo(TTree *,Long64_t); |
440 |
Bool_t UpdateRunInfo(TChain *,Long64_t); |
Bool_t UpdateRunInfo(TChain *,Long64_t); |
441 |
|
|
442 |
void SkipRunInfoUpdate(){fUpdateRunInfo = false;}; // Emiliano |
void SkipRunInfoUpdate(); // Emiliano |
443 |
void DoRunInfoUpdate(){fUpdateRunInfo = true;}; // [default] Emiliano |
void DoRunInfoUpdate(){fUpdateRunInfo = true;}; // [default] Emiliano |
444 |
void NoDBconnections(){SkipRunInfoUpdate();}; // Emiliano |
void NoDBconnections(){SkipRunInfoUpdate();}; // Emiliano |
445 |
|
|
458 |
Long64_t GetReadEntry(); |
Long64_t GetReadEntry(); |
459 |
Int_t GetYodaEntry(); |
Int_t GetYodaEntry(); |
460 |
|
|
461 |
void SetMaxShift(Int_t sh){ maxshift = sh; return;}; // EMILIANO method to change the maxshift variable |
void SetMaxShift(Int_t sh); // EMILIANO method to change the maxshift variable |
462 |
|
|
463 |
Long64_t GetEntries(){return pam_tree->GetEntries();}; |
Long64_t GetEntries(){return pam_tree->GetEntries();}; |
464 |
TChain* GetPamTree(){return pam_tree;}; |
TChain* GetPamTree(){return pam_tree;}; |
575 |
void SetDebug(Bool_t set){ DBG=set; TrkParams::SetVerboseMode(); }; |
void SetDebug(Bool_t set){ DBG=set; TrkParams::SetVerboseMode(); }; |
576 |
|
|
577 |
|
|
578 |
ClassDef(PamLevel2,1); |
ClassDef(PamLevel2,2); |
579 |
}; |
}; |
580 |
|
|
581 |
//=============================================================================================== |
//=============================================================================================== |