--- eventviewer/flight/inc/FEVdetector.h 2007/03/15 14:02:31 1.5 +++ eventviewer/flight/inc/FEVdetector.h 2009/06/12 12:37:24 1.10 @@ -44,6 +44,7 @@ #include #include #include +#include // #include #include @@ -65,12 +66,11 @@ private: TCanvas *thefigure; - TFile *file; + // TFile *file; // TTree *otr; TChain *otr; // TTree *runtree; - TChain *runtree; - PamLevel2 *L2; + // TChain *runtree; pamela::PscuHeader *ph; pamela::EventHeader *eh; pamela::calorimeter::CalorimeterEvent *de; @@ -114,6 +114,7 @@ void CaloCompressData(Int_t l, Int_t m, Int_t pre); public: + PamLevel2 *L2; struct Levels level; struct Variables var; TString ddec; @@ -140,10 +141,13 @@ void SetGUIPtr(PAMevcontrol &mainpamgui); void SetDDEC(TString); void checkctrlword(); + void Reset(); void add(TString name); //Int_t Load(TTree &mainotr, TFile &mainfile); - TChain *Load(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); @@ -154,6 +158,9 @@ int GetThisEntry(){return (thisentry);}; int GetCounter(); int SelectEvent(); + // + PamLevel2 *GetL2(){return L2;}; + // }; #endif