--- eventviewer/flight/inc/FEVdetector.h 2006/07/14 14:17:57 1.1 +++ eventviewer/flight/inc/FEVdetector.h 2007/03/30 11:16:39 1.7 @@ -38,6 +38,12 @@ #include #include #include +#include +#include +#include +#include +#include +#include // #include #include @@ -60,7 +66,10 @@ private: TCanvas *thefigure; TFile *file; - TTree *otr; + // TTree *otr; + TChain *otr; + // TTree *runtree; + // TChain *runtree; PamLevel2 *L2; pamela::PscuHeader *ph; pamela::EventHeader *eh; @@ -72,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,6 +102,11 @@ 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 ShowInfo(TString); + void Calo1stcalib(); int OLDCaloFindCalibs(); int CaloPede(Int_t s); @@ -102,6 +116,7 @@ public: struct Levels level; struct Variables var; + TString ddec; Int_t lastevno; Int_t firstevno; Int_t si; @@ -123,9 +138,13 @@ // FEVdetector(TString filename, TString selfile, Int_t &mainctrlword, TCanvas &figure); void SetGUIPtr(PAMevcontrol &mainpamgui); + void SetDDEC(TString); void checkctrlword(); void add(TString name); - void Load(TTree &mainotr, TFile &mainfile); + //Int_t Load(TTree &mainotr, TFile &mainfile); + TChain *Load(TFile &mainfile); + TChain *GetChain(){return otr;}; + // TChain *GetRunChain(){return runtree;}; void GetWindow(); void ClearVariables(); void GetEntry(Int_t i); @@ -136,6 +155,9 @@ int GetThisEntry(){return (thisentry);}; int GetCounter(); int SelectEvent(); + // + PamLevel2 *GetL2(){return L2;}; + // }; #endif