/[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.41 by pam-fi, Wed Apr 1 09:25:36 2009 UTC revision 1.44 by mocchiut, Mon Dec 12 16:11:41 2011 UTC
# Line 281  class PamLevel2 : public TObject { Line 281  class PamLevel2 : public TObject {
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      TChain*   run_tree;      TChain*   run_tree;
293      TTree*    run_tree_clone;      TTree*    run_tree_clone;
294      TChain*   sel_tree;      TChain*   sel_tree;
295      TTree*    sel_tree_clone;      TTree*    sel_tree_clone;
296      int *irunoffset;      int *irunoffset;
297      GL_TIMESYNC *gltsync; // Emiliano      GL_TIMESYNC *gltsync; // Emiliano
298        Bool_t fUpdateRunInfo; // Emiliano
299    
300      // -------------------------------------------      // -------------------------------------------
301      // variables to store total live and dead time      // variables to store total live and dead time
# Line 422  class PamLevel2 : public TObject { Line 431  class PamLevel2 : public TObject {
431      TTree*  GetRunTree(TFile*);      TTree*  GetRunTree(TFile*);
432      TChain* GetRunTree(TList*);      TChain* GetRunTree(TList*);
433      TChain* GetRunTree(TString ddir,TString list){ return GetRunTree(GetListOfLevel2Files(ddir,list)); };      TChain* GetRunTree(TString ddir,TString list){ return GetRunTree(GetListOfLevel2Files(ddir,list)); };
434      Bool_t  UpdateRunInfo(Long64_t);//{ return UpdateRunInfo(run_tree,iev); };      Bool_t  UpdateRunInfo(Long64_t);///< new implementation to solve Mori's bug
435        Bool_t  UpdateRunInfo_bckw_compat(Long64_t);///< backward compatibility method
436      Bool_t  UpdateRunInfo(TTree *,Long64_t);      Bool_t  UpdateRunInfo(TTree *,Long64_t);
437      Bool_t  UpdateRunInfo(TChain *,Long64_t);      Bool_t  UpdateRunInfo(TChain *,Long64_t);
438    
439        void    SkipRunInfoUpdate(); // Emiliano
440        void    DoRunInfoUpdate(){fUpdateRunInfo = true;}; // [default] Emiliano
441        void    NoDBconnections(){SkipRunInfoUpdate();}; // Emiliano
442    
443      void    CreateCloneTrees0(TChain *fChain, TFile* file);      void    CreateCloneTrees0(TChain *fChain, TFile* file);
444      void    CreateCloneTrees(TFile* file);      void    CreateCloneTrees(TFile* file);
445      void    CreateCloneTrees(){CreateCloneTrees(NULL);};      void    CreateCloneTrees(){CreateCloneTrees(NULL);};
# Line 558  class PamLevel2 : public TObject { Line 572  class PamLevel2 : public TObject {
572      void SetDebug(Bool_t set){ DBG=set; TrkParams::SetVerboseMode(); };      void SetDebug(Bool_t set){ DBG=set; TrkParams::SetVerboseMode(); };
573    
574    
575      ClassDef(PamLevel2,1);      ClassDef(PamLevel2,2);
576  };  };
577    
578  //===============================================================================================  //===============================================================================================

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

  ViewVC Help
Powered by ViewVC 1.1.23