--- calo/flight/CaloProfile/inc/CaloProfile.h 2009/08/13 15:56:38 1.9 +++ calo/flight/CaloProfile/inc/CaloProfile.h 2009/09/10 12:53:56 1.12 @@ -57,6 +57,7 @@ UInt_t atime; // Float_t estrip[2][22][96]; + TString suf; // public: @@ -80,7 +81,9 @@ void Print(); void Print(Option_t *option){Print();}; // - ClassDef(CaloLat,1); + void SetSuffix(TString suffix){ suf = suffix;}; + // + ClassDef(CaloLat,2); }; /** @@ -134,12 +137,17 @@ // Bool_t xyaverage; // + Bool_t heavytail; + Float_t letmax; + Float_t lmipth; + // 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: // @@ -165,7 +173,10 @@ Float_t Get_asymm(){this->Fit(); return asymm;}; Float_t Get_exptmax(){this->Process(); return etmax;}; Float_t Get_X0pl(){this->Process(); return X0pl;}; - Int_t Get_fitresult(){this->Fit(); return fitresult;}; + // + Float_t Get_letmax(){ return letmax;}; + Float_t Get_lmipth(){ return lmipth;}; + Int_t Get_fitresult(){this->Fit(); return fitresult;}; // void ForceNextFit(){atime=0;fatime=0;}; void Draw(); @@ -198,9 +209,15 @@ void SetLowerLimit(TString sl){ slmax = sl; };// expression must be of the form "5*t"."t+10","t-(4*t)"... where t will be replaced by the fitted maximum (X0) void SetUpperLimit(TString su){ sumax = su; };// expression must be of the form "5*t"."t+10","t-(4*t)"... where t will be replaced by the fitted maximum (X0) // + void Setletmax(Float_t l){ letmax = l;}; + void Setlmipth(Float_t l){ lmipth = l;}; + void HeavyTail(Bool_t b){ heavytail=b;}; + // 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(); @@ -210,7 +227,7 @@ void Print(); void Print(Option_t *option){Print();}; // - ClassDef(CaloLong,2); + ClassDef(CaloLong,3); }; /** @@ -233,6 +250,7 @@ Int_t smax[23]; Int_t smay[23]; // + TString suf; public: // @@ -251,11 +269,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