/[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.25 by pam-fi, Fri Aug 17 16:57:12 2007 UTC revision 1.26 by pam-fi, Wed Sep 12 08:13:59 2007 UTC
# Line 31  Line 31 
31  #include <TTree.h>  #include <TTree.h>
32  #include <TFriendElement.h>  #include <TFriendElement.h>
33  #include <TChain.h>  #include <TChain.h>
34    #include <TChainElement.h>
35  #include <TFile.h>  #include <TFile.h>
36  #include <TList.h>  #include <TList.h>
37  #include <TKey.h>  #include <TKey.h>
# Line 38  Line 39 
39  #include <TSystemDirectory.h>  #include <TSystemDirectory.h>
40  #include <TSQLServer.h>  #include <TSQLServer.h>
41    
42    #include <stdlib.h>
43  #include <iostream>  #include <iostream>
44    #include <iomanip>
45    using namespace std;
46    
47  #define NCLONES 10  #define NCLONES 10
48    
# Line 108  class PamLevel2 : public TObject { Line 112  class PamLevel2 : public TObject {
112      TTree*    run_tree_clone;      TTree*    run_tree_clone;
113      TChain*   sel_tree;      TChain*   sel_tree;
114      TTree*    sel_tree_clone;      TTree*    sel_tree_clone;
115        
116        // -------------------------------------------
117        // variables to store total live and dead time
118        // -------------------------------------------
119        ULong64_t  totdltime[3];// 0=live 1=dead 2=n.events  
120    
121      // ---------------------------------      // ---------------------------------
122      // variables to retrieve level0 info      // variables to retrieve level0 info
123      // ---------------------------------      // ---------------------------------
# Line 213  class PamLevel2 : public TObject { Line 222  class PamLevel2 : public TObject {
222      void    GetWhichTrees(TFile*);      void    GetWhichTrees(TFile*);
223    
224      TTree*  GetPamTree(TFile*,TString);      TTree*  GetPamTree(TFile*,TString);
225      TTree*  GetPamTree(TFile* f){return GetPamTree(f,"");};      TTree*  GetPamTree(TFile* f){return GetPamTree(f,"");};    
226    
227      TList*  GetListOfLevel2Files(TString, TString);      TList*  GetListOfLevel2Files(TString, TString);
228      Bool_t  CheckLevel2File(TString);      Bool_t  CheckLevel2File(TString);
229      TChain* GetPamTree(TList*,TString);      TChain* GetPamTree(TList*,TString);
230      TChain* GetPamTree(TString ddir,TString list,TString detlist){ return GetPamTree(GetListOfLevel2Files(ddir,list),detlist); };      TChain* GetPamTree(TString ddir,TString list,TString detlist){ return GetPamTree(GetListOfLevel2Files(ddir,list),detlist); };
231      TChain* GetPamTree(TString ddir,TString list){ return GetPamTree(GetListOfLevel2Files(ddir,list),""); };      TChain* GetPamTree(TString ddir,TString list){ return GetPamTree(GetListOfLevel2Files(ddir,list),""); };
232        TChain* AddFriend(TString);
233    
234      TTree*  GetRunTree(TFile*);      TTree*  GetRunTree(TFile*);
235      TChain* GetRunTree(TList*);      TChain* GetRunTree(TList*);

Legend:
Removed from v.1.25  
changed lines
  Added in v.1.26

  ViewVC Help
Powered by ViewVC 1.1.23