/[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.30 by pam-fi, Mon Nov 5 13:10:13 2007 UTC revision 1.36 by mocchiut, Wed Oct 1 16:06:18 2008 UTC
# Line 24  Line 24 
24  #include <NDLevel2.h>  #include <NDLevel2.h>
25  #include <AcLevel2.h>  #include <AcLevel2.h>
26  #include <OrbitalInfo.h>  #include <OrbitalInfo.h>
27    #include <InclinationInfo.h> // EMILIANO, now this library is included in libDarthVader.so
28                             // and the header installed in $PAM_INC. If you get the
29                             // error "Cannot find InclinationInfo.h" update your DV installation
30    #include <OrientationInfo.h> // EMILIANO, now this library is included in libDarthVader.so
31                             // and the header installed in $PAM_INC. If you get the
32                             // error "Cannot find InclinationInfo.h" update your DV installation
33  #include <RunInfo.h>  #include <RunInfo.h>
34  #include <GLTables.h>  #include <GLTables.h>
35    
# Line 222  class PamTrack : public TObject { Line 228  class PamTrack : public TObject {
228      TrkTrack*   trk_track;      TrkTrack*   trk_track;
229      CaloTrkVar* calo_track;      CaloTrkVar* calo_track;
230      ToFTrkVar*  tof_track;      ToFTrkVar*  tof_track;
231        OrbitalInfoTrkVar*  orb_track;
232      Int_t pscore;      Int_t pscore;
233      Int_t iscore;      Int_t iscore;
234      bool candeleteobj;      bool candeleteobj;
# Line 231  class PamTrack : public TObject { Line 238  class PamTrack : public TObject {
238   public:   public:
239    
240      PamTrack();      PamTrack();
241      PamTrack(TrkTrack* , CaloTrkVar* , ToFTrkVar* );      PamTrack(TrkTrack* , CaloTrkVar* , ToFTrkVar*, OrbitalInfoTrkVar* );
242      PamTrack(const PamTrack&);      PamTrack(const PamTrack&);
243      ~PamTrack(){ Delete(); };      ~PamTrack(){ Delete(); };
244    
# Line 249  class PamTrack : public TObject { Line 256  class PamTrack : public TObject {
256      TrkTrack*   GetTrkTrack(){return trk_track;};      TrkTrack*   GetTrkTrack(){return trk_track;};
257      CaloTrkVar* GetCaloTrack(){return calo_track;};      CaloTrkVar* GetCaloTrack(){return calo_track;};
258      ToFTrkVar*  GetToFTrack(){return tof_track;};      ToFTrkVar*  GetToFTrack(){return tof_track;};
259        OrbitalInfoTrkVar*  GetOrbitalInfoTrack(){return orb_track;};
260    
261      ClassDef(PamTrack,1);      ClassDef(PamTrack,2);
262  };  };
263    
264  /**  /**
# Line 268  class PamLevel2 : public TObject { Line 276  class PamLevel2 : public TObject {
276      // ------------------------------      // ------------------------------
277      // variables to retrieve run info      // variables to retrieve run info
278      // ------------------------------      // ------------------------------
 //    Int_t     irun;          //current run entry, relative to the TChain  
279      Long64_t  irun;          //current run entry, relative to the TChain      Long64_t  irun;          //current run entry, relative to the TChain
280  //    ULong64_t runfirstentry; //first entry of run, relative to the TChain      Long64_t  irunt;         //current run entry, relative to the TTree in the TChain
 //    ULong64_t runlastentry;  //last  entry of run, relative to the TChain  
 //    Int_t     irunentry;     //position of current entry, relative to the run  
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
# Line 280  class PamLevel2 : public TObject { Line 285  class PamLevel2 : public TObject {
285      TTree*    run_tree_clone;      TTree*    run_tree_clone;
286      TChain*   sel_tree;      TChain*   sel_tree;
287      TTree*    sel_tree_clone;      TTree*    sel_tree_clone;
288        int *irunoffset;
289    
290      // -------------------------------------------      // -------------------------------------------
291      // variables to store total live and dead time      // variables to store total live and dead time
# Line 376  class PamLevel2 : public TObject { Line 382  class PamLevel2 : public TObject {
382      Bool_t ISGP;  // GP simulation (...sort of patch, to skip OBT check, since OrbitalInfo is sometime missing)      Bool_t ISGP;  // GP simulation (...sort of patch, to skip OBT check, since OrbitalInfo is sometime missing)
383      Int_t  SELLI; // tree of selected events (there is a selection list)      Int_t  SELLI; // tree of selected events (there is a selection list)
384    
385        Bool_t DBG;
386    
387      void Initialize();      void Initialize();
388    
389    
# Line 471  class PamLevel2 : public TObject { Line 479  class PamLevel2 : public TObject {
479      OrbitalInfo  *GetOrbitalInfo(){ return orb_obj;  };      OrbitalInfo  *GetOrbitalInfo(){ return orb_obj;  };
480      GL_RUN       *GetRunInfo()    { return run_obj;  };      GL_RUN       *GetRunInfo()    { return run_obj;  };
481      SoftInfo     *GetSoftInfo()   { return soft_obj; }; // Emiliano      SoftInfo     *GetSoftInfo()   { return soft_obj; }; // Emiliano
482      GPamela      *GetGPamela()    { return gp_obj; };      GPamela      *GetGPamela()    { return gp_obj;   };
483    
484  //  ==============================================  //  ==============================================
485  //  methods to retrieve subdetectors stored tracks  //  methods to retrieve subdetectors stored tracks
# Line 479  class PamLevel2 : public TObject { Line 487  class PamLevel2 : public TObject {
487      TrkTrack*   GetTrkStoredTrack(int seqno){return trk2_obj->TrkLevel2::GetStoredTrack(seqno); };      TrkTrack*   GetTrkStoredTrack(int seqno){return trk2_obj->TrkLevel2::GetStoredTrack(seqno); };
488      CaloTrkVar* GetCaloStoredTrack(int);      CaloTrkVar* GetCaloStoredTrack(int);
489      ToFTrkVar*  GetToFStoredTrack(int);      ToFTrkVar*  GetToFStoredTrack(int);
490        OrbitalInfoTrkVar*  GetOrbitalInfoStoredTrack(int);
491      //      //
492      PamTrack*   GetPamTrackAlong(TrkTrack*);      PamTrack*   GetPamTrackAlong(TrkTrack*);
493  //      PamTrack*   GetPamTrackAlong(CaloTrkVar*);      //se serve  //      PamTrack*   GetPamTrackAlong(CaloTrkVar*);      //se serve
# Line 505  class PamLevel2 : public TObject { Line 514  class PamLevel2 : public TObject {
514  //  =================================  //  =================================
515  //    Int_t ntrk(){ return trk2_obj->TrkLevel2::ntrk(); };  //    Int_t ntrk(){ return trk2_obj->TrkLevel2::ntrk(); };
516    
517    
518        Long64_t  GetRunID(){ return irun;};
519        Long64_t  GetRunEntryID(){ return irunentry; };
520    
521      // -----      // -----
522      // flags methods      // flags methods
523      // -----      // -----
# Line 536  class PamLevel2 : public TObject { Line 549  class PamLevel2 : public TObject {
549    
550      void   SetGP(Bool_t tt){ISGP=tt;};      void   SetGP(Bool_t tt){ISGP=tt;};
551    
552        void SetDebug(Bool_t set){ DBG=set; };
553    
554      ClassDef(PamLevel2,1);      ClassDef(PamLevel2,1);
555  };  };

Legend:
Removed from v.1.30  
changed lines
  Added in v.1.36

  ViewVC Help
Powered by ViewVC 1.1.23