/[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.10 by pam-fi, Mon Jan 15 11:51:40 2007 UTC revision 1.12 by mocchiut, Tue Jan 16 15:26:45 2007 UTC
# Line 20  Line 20 
20  #include <NDLevel2.h>  #include <NDLevel2.h>
21  #include <AcLevel2.h>  #include <AcLevel2.h>
22  #include <OrbitalInfo.h>  #include <OrbitalInfo.h>
 #include <OrbitalInfo.h>  
23  #include <RunInfo.h>  #include <RunInfo.h>
24  #include <GLTables.h>  #include <GLTables.h>
25    
# Line 85  class PamTrack : public TObject { Line 84  class PamTrack : public TObject {
84  class PamLevel2 : public TObject {  class PamLevel2 : public TObject {
85    
86   private:   private:
87        ULong64_t runfirstentry;
88        ULong64_t runlastentry;
89        Int_t irun;
90    
91   public:   public:
92    
93      TrkLevel1*   trk1_obj;      TrkLevel1*   trk1_obj;
# Line 102  class PamLevel2 : public TObject { Line 105  class PamLevel2 : public TObject {
105      OrbitalInfo* orb_obj;      OrbitalInfo* orb_obj;
106                    
107      GL_RUN*      run_obj;      GL_RUN*      run_obj;
108        SoftInfo*    soft_obj; // Emiliano
109            
110      TTree*       tree_clone[8];      TTree*       tree_clone[8];
111    
# Line 137  class PamLevel2 : public TObject { Line 141  class PamLevel2 : public TObject {
141      void Clear();      void Clear();
142      void Delete();      void Delete();
143    
144      GL_RUN*      GetRunInfo()    { return run_obj; };          
           
145  //  =========================================  //  =========================================
146  //  methods needed to read/write Level2 trees  //  methods needed to read/write Level2 trees
147  //  =========================================  //  =========================================
# Line 156  class PamLevel2 : public TObject { Line 159  class PamLevel2 : public TObject {
159    
160      TTree*  GetRunTree(TFile*);      TTree*  GetRunTree(TFile*);
161      TChain* GetRunTree(TList*);      TChain* GetRunTree(TList*);
162        TChain* GetRunTree(TString ddir,TString list){ return GetRunTree(GetListOfLevel2Files(ddir,list)); };
163        Bool_t  UpdateRunInfo(TTree *,ULong64_t);
164        Bool_t  UpdateRunInfo(TChain *,ULong64_t);
165    
166      void    CreateCloneTrees0(TChain *fChain, TFile* file);      void    CreateCloneTrees0(TChain *fChain, TFile* file);
167      void    CreateCloneTrees(TFile* file);      void    CreateCloneTrees(TFile* file);
# Line 171  class PamLevel2 : public TObject { Line 177  class PamLevel2 : public TObject {
177  //  ========================================================  //  ========================================================
178      void*       GetPointerTo(const char*);      void*       GetPointerTo(const char*);
179      TrkLevel1    *GetTrkLevel1()  { return trk1_obj;};      TrkLevel1    *GetTrkLevel1()  { return trk1_obj;};
180      TrkLevel2    *GetTrkLevel2()  {  return trk2_obj;};      TrkLevel2    *GetTrkLevel2()  { return trk2_obj;};
181      TrkHough     *GetTrkHough()   { return trkh_obj;};      TrkHough     *GetTrkHough()   { return trkh_obj;};
182      CaloLevel1   *GetCaloLevel1() { return calo1_obj;};      CaloLevel1   *GetCaloLevel1() { return calo1_obj;};
183      CaloLevel2   *GetCaloLevel2() { return calo2_obj;};      CaloLevel2   *GetCaloLevel2() { return calo2_obj;};
# Line 181  class PamLevel2 : public TObject { Line 187  class PamLevel2 : public TObject {
187      NDLevel2     *GetNDLevel2()   { return nd_obj;};      NDLevel2     *GetNDLevel2()   { return nd_obj;};
188      AcLevel2     *GetAcLevel2()   { return ac_obj;};      AcLevel2     *GetAcLevel2()   { return ac_obj;};
189      OrbitalInfo  *GetOrbitalInfo(){ return orb_obj;};      OrbitalInfo  *GetOrbitalInfo(){ return orb_obj;};
190        GL_RUN       *GetRunInfo()    { return run_obj; };
191        SoftInfo     *GetSoftInfo()   { return soft_obj; }; // Emiliano
192    
193  //  ==============================================  //  ==============================================
194  //  methods to retrieve subdetectors stored tracks  //  methods to retrieve subdetectors stored tracks

Legend:
Removed from v.1.10  
changed lines
  Added in v.1.12

  ViewVC Help
Powered by ViewVC 1.1.23