/[PAMELA software]/PamelaLevel2/inc/PamLevel2.h
ViewVC logotype

Diff of /PamelaLevel2/inc/PamLevel2.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.44 by mocchiut, Mon Dec 12 16:11:41 2011 UTC revision 1.45 by mocchiut, Wed Dec 14 16:38:30 2011 UTC
# Line 289  class PamLevel2 : public TObject { Line 289  class PamLevel2 : public TObject {
289      ULong64_t    abstime; // current abs time      ULong64_t    abstime; // current abs time
290      UInt_t    pktnum; // current packet number      UInt_t    pktnum; // current packet number
291      Bool_t isFragment;      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;
# Line 308  class PamLevel2 : public TObject { Line 311  class PamLevel2 : public TObject {
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)
# Line 432  class PamLevel2 : public TObject { Line 436  class PamLevel2 : public TObject {
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);///< new implementation to solve Mori's bug      Bool_t  UpdateRunInfo(Long64_t);///< new implementation to solve Mori's bug
     Bool_t  UpdateRunInfo_bckw_compat(Long64_t);///< backward compatibility method  
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    
# Line 454  class PamLevel2 : public TObject { Line 457  class PamLevel2 : public TObject {
457      Int_t   GetEntry(Long64_t);      Int_t   GetEntry(Long64_t);
458      Long64_t GetReadEntry();      Long64_t GetReadEntry();
459      Int_t   GetYodaEntry();      Int_t   GetYodaEntry();
460        Int_t   GetYodaEntry_bckw_compat();
461    
462      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
463    
464      Long64_t GetEntries(){return pam_tree->GetEntries();};      Long64_t GetEntries(){return pam_tree->GetEntries();};
465      TChain* GetPamTree(){return pam_tree;};      TChain* GetPamTree(){return pam_tree;};

Legend:
Removed from v.1.44  
changed lines
  Added in v.1.45

  ViewVC Help
Powered by ViewVC 1.1.23