--- PamelaLevel2/inc/PamLevel2.h 2014/10/17 14:03:45 1.51 +++ PamelaLevel2/inc/PamLevel2.h 2014/10/17 15:58:07 1.52 @@ -40,6 +40,7 @@ #include #include #include +#include #include #include #include @@ -298,6 +299,8 @@ Long64_t il0entry; ///< entry of level0 file in selection list TChain* run_tree; TTree* run_tree_clone; + TChain* proc_tree; + TTree* proc_tree_clone; TChain* sel_tree; TTree* sel_tree_clone; int *irunoffset; @@ -358,6 +361,7 @@ OrbitalInfo* orb2_obj; GL_RUN* run_obj; SoftInfo* soft_obj; // Emiliano + ProcInfo* proc_obj; //EM @@ -441,6 +445,8 @@ Bool_t EXT;//get tracks from extended tracking algorythm Bool_t NUC;//get tracks from nuclei algorythm + Bool_t PROC;//EM + const char* trkAlg; // ----------- @@ -517,6 +523,7 @@ Long64_t GetEntries(){return pam_tree->GetEntries();}; TChain* GetPamTree(){return pam_tree;}; TChain* GetRunTree(){return run_tree;}; + TChain* GetProcessingInfoTree(){return proc_tree;}; TTree* GetYodaTree(); TFile* GetYodaFile(){return l0_file;}; // can be useful to know the name of level0 file we are using or similar things @@ -555,6 +562,7 @@ OrbitalInfo *GetOrbitalInfo(){ return orb2_obj; }; GL_RUN *GetRunInfo() { return run_obj; }; SoftInfo *GetSoftInfo() { return soft_obj; }; // Emiliano + ProcInfo *GetProcInfo() { return proc_obj; }; // Emiliano GPamela *GetGPamela() { return gp_obj; }; // ============================================== @@ -649,6 +657,8 @@ Int_t IsSELLI(){return SELLI;}; //trees of selected events (there is a selection list) void SetSELLI(Int_t selli){SELLI=selli;}; + Bool_t IsPROC(){return PROC;};//EM + Bool_t HasDiscardedFiles(){return fDiscarded;}; ///< true if something went wrong and not all files were processed Bool_t IsGP(){return ISGP;}; @@ -658,7 +668,7 @@ void SetDebug(Bool_t set){ DBG=set; TrkParams::SetVerboseMode(); }; - ClassDef(PamLevel2,3); + ClassDef(PamLevel2,4); }; //===============================================================================================