--- eventviewer/flight/inc/FEVdetector.h 2007/03/30 11:16:39 1.7 +++ 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; 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,9 +141,11 @@ 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();