/[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.51 by mocchiut, Fri Oct 17 14:03:45 2014 UTC revision 1.52 by mocchiut, Fri Oct 17 15:58:07 2014 UTC
# Line 40  Line 40 
40  #include <TChain.h>  #include <TChain.h>
41  #include <TChainElement.h>  #include <TChainElement.h>
42  #include <TFile.h>  #include <TFile.h>
43    #include <TTimeStamp.h>
44  #include <TList.h>  #include <TList.h>
45  #include <TKey.h>  #include <TKey.h>
46  #include <TSystemFile.h>  #include <TSystemFile.h>
# Line 298  class PamLevel2 : public TObject { Line 299  class PamLevel2 : public TObject {
299      Long64_t il0entry; ///< entry of level0 file in selection list      Long64_t il0entry; ///< entry of level0 file in selection list
300      TChain*   run_tree;      TChain*   run_tree;
301      TTree*    run_tree_clone;      TTree*    run_tree_clone;
302        TChain*   proc_tree;
303        TTree*    proc_tree_clone;
304      TChain*   sel_tree;      TChain*   sel_tree;
305      TTree*    sel_tree_clone;      TTree*    sel_tree_clone;
306      int *irunoffset;      int *irunoffset;
# Line 358  class PamLevel2 : public TObject { Line 361  class PamLevel2 : public TObject {
361      OrbitalInfo* orb2_obj;      OrbitalInfo* orb2_obj;
362      GL_RUN*      run_obj;      GL_RUN*      run_obj;
363      SoftInfo*    soft_obj; // Emiliano      SoftInfo*    soft_obj; // Emiliano
364        ProcInfo*    proc_obj; //EM
365    
366    
367    
# Line 441  class PamLevel2 : public TObject { Line 445  class PamLevel2 : public TObject {
445      Bool_t EXT;//get tracks from extended tracking algorythm      Bool_t EXT;//get tracks from extended tracking algorythm
446      Bool_t NUC;//get tracks from nuclei algorythm      Bool_t NUC;//get tracks from nuclei algorythm
447    
448        Bool_t PROC;//EM
449    
450      const char*  trkAlg;      const char*  trkAlg;
451    
452      // -----------      // -----------
# Line 517  class PamLevel2 : public TObject { Line 523  class PamLevel2 : public TObject {
523      Long64_t GetEntries(){return pam_tree->GetEntries();};      Long64_t GetEntries(){return pam_tree->GetEntries();};
524      TChain* GetPamTree(){return pam_tree;};      TChain* GetPamTree(){return pam_tree;};
525      TChain* GetRunTree(){return run_tree;};      TChain* GetRunTree(){return run_tree;};
526        TChain* GetProcessingInfoTree(){return proc_tree;};
527      TTree*  GetYodaTree();      TTree*  GetYodaTree();
528    
529      TFile*  GetYodaFile(){return l0_file;}; // can be useful to know the name of level0 file we are using or similar things      TFile*  GetYodaFile(){return l0_file;}; // can be useful to know the name of level0 file we are using or similar things
# Line 555  class PamLevel2 : public TObject { Line 562  class PamLevel2 : public TObject {
562      OrbitalInfo  *GetOrbitalInfo(){ return orb2_obj;  };      OrbitalInfo  *GetOrbitalInfo(){ return orb2_obj;  };
563      GL_RUN       *GetRunInfo()    { return run_obj;  };      GL_RUN       *GetRunInfo()    { return run_obj;  };
564      SoftInfo     *GetSoftInfo()   { return soft_obj; }; // Emiliano      SoftInfo     *GetSoftInfo()   { return soft_obj; }; // Emiliano
565        ProcInfo     *GetProcInfo()   { return proc_obj; }; // Emiliano
566      GPamela      *GetGPamela()    { return gp_obj;   };      GPamela      *GetGPamela()    { return gp_obj;   };
567    
568  //  ==============================================  //  ==============================================
# Line 649  class PamLevel2 : public TObject { Line 657  class PamLevel2 : public TObject {
657      Int_t  IsSELLI(){return SELLI;}; //trees of selected events (there is a selection list)      Int_t  IsSELLI(){return SELLI;}; //trees of selected events (there is a selection list)
658      void  SetSELLI(Int_t selli){SELLI=selli;};      void  SetSELLI(Int_t selli){SELLI=selli;};
659    
660        Bool_t IsPROC(){return PROC;};//EM
661    
662      Bool_t HasDiscardedFiles(){return fDiscarded;}; ///< true if something went wrong and not all files were processed      Bool_t HasDiscardedFiles(){return fDiscarded;}; ///< true if something went wrong and not all files were processed
663    
664      Bool_t IsGP(){return ISGP;};      Bool_t IsGP(){return ISGP;};
# Line 658  class PamLevel2 : public TObject { Line 668  class PamLevel2 : public TObject {
668      void SetDebug(Bool_t set){ DBG=set; TrkParams::SetVerboseMode(); };      void SetDebug(Bool_t set){ DBG=set; TrkParams::SetVerboseMode(); };
669    
670    
671      ClassDef(PamLevel2,3);      ClassDef(PamLevel2,4);
672  };  };
673    
674  //===============================================================================================  //===============================================================================================

Legend:
Removed from v.1.51  
changed lines
  Added in v.1.52

  ViewVC Help
Powered by ViewVC 1.1.23