--- eventviewer/flight/inc/FEVdetector.h 2007/02/26 17:30:30 1.3 +++ eventviewer/flight/inc/FEVdetector.h 2012/01/11 16:27:26 1.11 @@ -43,6 +43,8 @@ #include #include #include +#include +#include // #include #include @@ -64,9 +66,11 @@ private: TCanvas *thefigure; - TFile *file; - TTree *otr; - PamLevel2 *L2; + // TFile *file; + // TTree *otr; + TChain *otr; + // TTree *runtree; + // TChain *runtree; pamela::PscuHeader *ph; pamela::EventHeader *eh; pamela::calorimeter::CalorimeterEvent *de; @@ -77,8 +81,8 @@ pamela::S4::S4Event *s4; pamela::trigger::TriggerEvent *trigger; pamela::tof::TofEvent *tof; - OrbitalInfo *oinfoL2; - ItoRunInfo *runinfo; + // OrbitalInfo *oinfoL2; + // ItoRunInfo *runinfo; PAMevcontrol *pamgui; Int_t *ctrlword; Int_t thisentry; @@ -93,13 +97,17 @@ void ShowPalette(); void ShowCalo(Bool_t upd); void ShowTRK(Bool_t upd); + void ShowTRG(); void ShowTrack(); void ShowTOF(); void ShowAC(); void ShowS4(Bool_t upd); void ShowND(); - void PrintData(TTree *,Long64_t, Int_t); - void PrintLeaves(TTree *, Int_t, TBranchElement *,Int_t); + + // void PrintData(TTree *,Long64_t, Int_t); + // void PrintLeaves(TTree *, Int_t, TBranchElement *,Int_t); + void ShowInfo(TString); + void Calo1stcalib(); int OLDCaloFindCalibs(); int CaloPede(Int_t s); @@ -107,6 +115,7 @@ void CaloCompressData(Int_t l, Int_t m, Int_t pre); public: + PamLevel2 *L2; struct Levels level; struct Variables var; TString ddec; @@ -133,9 +142,13 @@ void SetGUIPtr(PAMevcontrol &mainpamgui); void SetDDEC(TString); void checkctrlword(); + void Reset(); void add(TString name); - Int_t Load(TTree &mainotr, TFile &mainfile); - // Int_t Load(TChain &mainotr, TFile &mainfile); + //Int_t Load(TTree &mainotr, TFile &mainfile); + // TChain *Load(TFile &mainfile); + TChain *Load(TString mainfile); + TChain *GetChain(){return otr;}; + // TChain *GetRunChain(){return runtree;}; void GetWindow(); void ClearVariables(); void GetEntry(Int_t i); @@ -146,6 +159,9 @@ int GetThisEntry(){return (thisentry);}; int GetCounter(); int SelectEvent(); + // + PamLevel2 *GetL2(){return L2;}; + // }; #endif