--- calo/flight/CaloProfile/inc/CaloProfile.h 2009/08/12 14:54:15 1.8 +++ calo/flight/CaloProfile/inc/CaloProfile.h 2009/08/19 07:25:33 1.11 @@ -29,6 +29,7 @@ #include #include #include +#include #include @@ -56,6 +57,7 @@ UInt_t atime; // Float_t estrip[2][22][96]; + TString suf; // public: @@ -79,7 +81,9 @@ void Print(); void Print(Option_t *option){Print();}; // - ClassDef(CaloLat,1); + void SetSuffix(TString suffix){ suf = suffix;}; + // + ClassDef(CaloLat,2); }; /** @@ -131,12 +135,15 @@ Bool_t maskXO; Bool_t maskYO; // + Bool_t xyaverage; + // Float_t eplane[2][22]; // CaloLevel2 *clp; // - Float_t Evaluate(TString s, Float_t max); // expression must be of the form "5*t"."t+10","t-(4*t)"... + Float_t Evaluate(TString s, Float_t tmax, Float_t X0pl ); // expression must be of the form "tmax+2.*X0pl", "5*tmax"."tmax+10","tmax-(4*tmax)+3.*X0pl"... // + TString suf; public: // @@ -175,6 +182,9 @@ void SetDebug(Bool_t d){ debug=d; }; void UsePlane18X(){ no18x=false; }; // + void UseAverage(){ xyaverage = true;}; + void UseAllMeas(){ xyaverage = false;}; + // void MaskSection(TString); void UnMaskSection(TString); void UnMaskSections(); @@ -195,6 +205,8 @@ Float_t GetLowerLimit(){ return lmax;}; Float_t GetUpperLimit(){ return umax;}; // + void SetSuffix(TString suffix){ suf = suffix;}; + // void Clear(); void Clear(Option_t *option){Clear();}; void Delete(); @@ -204,7 +216,7 @@ void Print(); void Print(Option_t *option){Print();}; // - ClassDef(CaloLong,2); + ClassDef(CaloLong,3); }; /** @@ -227,6 +239,7 @@ Int_t smax[23]; Int_t smay[23]; // + TString suf; public: // @@ -245,11 +258,13 @@ void Delete(); void Delete(Option_t *option){Delete();}; // + void SetSuffix(TString suffix){ suf = suffix;}; + // void Process(); ///< Process data void Print(); void Print(Option_t *option){Print();}; // - ClassDef(Calo2D,1); + ClassDef(Calo2D,2); }; #endif