/[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.7 by pam-fi, Tue Dec 5 12:13:39 2006 UTC revision 1.8 by pam-fi, Mon Dec 11 17:49:03 2006 UTC
# Line 57  class PamTrack : public TrkTrack, public Line 57  class PamTrack : public TrkTrack, public
57    
58      PamTrack(TrkTrack* , CaloTrkVar* , ToFTrkVar* );      PamTrack(TrkTrack* , CaloTrkVar* , ToFTrkVar* );
59    
60        TrkTrack* GetTrkTrack(){return trk_track;};
61        CaloTrkVar* GetCaloTrack(){return calo_track;};
62        ToFTrkVar* GetToFTrack(){return tof_track;};
63    
64      ClassDef(PamTrack,1);      ClassDef(PamTrack,1);
65  };  };
66    
# Line 115  class PamLevel2 : public CaloLevel2, pub Line 119  class PamLevel2 : public CaloLevel2, pub
119    
120      TRefArray*   sorted_tracks;      TRefArray*   sorted_tracks;
121                    
 //    TChain*      Tout;  
           
   
122      Bool_t CAL2; //level2 branch      Bool_t CAL2; //level2 branch
123      Bool_t CAL1; //level1 branch      Bool_t CAL1; //level1 branch
124    
# Line 165  class PamLevel2 : public CaloLevel2, pub Line 166  class PamLevel2 : public CaloLevel2, pub
166  //  methods needed to read/write Level2 trees  //  methods needed to read/write Level2 trees
167  //  =========================================  //  =========================================
168      void    SetWhichTrees(TString);      void    SetWhichTrees(TString);
169        void    GetWhichTrees(TFile*);
170    
171        TTree*  GetPamTree(TFile*,TString);
172        TTree*  GetPamTree(TFile* f){return GetPamTree(f,"");};
173    
174      TList*  GetListOfLevel2Files(TString, TString);      TList*  GetListOfLevel2Files(TString, TString);
175      Bool_t  CheckLevel2File(TString);      Bool_t  CheckLevel2File(TString);
     TTree*  GetPamTree(TFile*,TString);  
     TTree*  GetPamTree(TFile* f){return GetPamTree(f,"+ALL");};  
176      TChain* GetPamTree(TList*,TString);      TChain* GetPamTree(TList*,TString);
177        TChain* GetPamTree(TString ddir,TString list,TString detlist){ return GetPamTree(GetListOfLevel2Files(ddir,list),detlist); };
178        TChain* GetPamTree(TString ddir,TString list){ return GetPamTree(GetListOfLevel2Files(ddir,list),""); };
179    
180      TTree*  GetRunTree(TFile*);      TTree*  GetRunTree(TFile*);
181      TChain* GetRunTree(TList*);      TChain* GetRunTree(TList*);
182    
183  //    TTree*  GetNewPamTree();      void    CreateCloneTrees0(TChain *fChain, TFile* file);
184  //    void    FillNewPamTree(TTree*);      void    CreateCloneTrees(TFile* file);
 //    void    FillNewPamTree();  
     void    CreateCloneTrees(TChain *fChain);  
185      void    FillCloneTrees();      void    FillCloneTrees();
186      TTree  *GetCloneTree(TString);      TTree  *GetCloneTree(TString);
187      void    WriteCloneTrees();      void    WriteCloneTrees();

Legend:
Removed from v.1.7  
changed lines
  Added in v.1.8

  ViewVC Help
Powered by ViewVC 1.1.23