| 30 |
#include <TSQLServer.h> |
#include <TSQLServer.h> |
| 31 |
#include <TF1.h> |
#include <TF1.h> |
| 32 |
#include <TGraphErrors.h> |
#include <TGraphErrors.h> |
| 33 |
|
#include <TMinuit.h> |
| 34 |
|
|
| 35 |
#include <PamLevel2.h> |
#include <PamLevel2.h> |
| 36 |
|
|
| 58 |
UInt_t atime; |
UInt_t atime; |
| 59 |
// |
// |
| 60 |
Float_t estrip[2][22][96]; |
Float_t estrip[2][22][96]; |
| 61 |
|
TString suf; |
| 62 |
// |
// |
| 63 |
|
|
| 64 |
public: |
public: |
| 82 |
void Print(); |
void Print(); |
| 83 |
void Print(Option_t *option){Print();}; |
void Print(Option_t *option){Print();}; |
| 84 |
// |
// |
| 85 |
ClassDef(CaloLat,1); |
void SetSuffix(TString suffix){ suf = suffix;}; |
| 86 |
|
// |
| 87 |
|
ClassDef(CaloLat,2); |
| 88 |
}; |
}; |
| 89 |
|
|
| 90 |
/** |
/** |
| 138 |
// |
// |
| 139 |
Bool_t xyaverage; |
Bool_t xyaverage; |
| 140 |
// |
// |
| 141 |
|
Bool_t heavytail; |
| 142 |
|
Float_t letmax; |
| 143 |
|
Float_t lmipth; |
| 144 |
|
// |
| 145 |
Float_t eplane[2][22]; |
Float_t eplane[2][22]; |
| 146 |
// |
// |
| 147 |
CaloLevel2 *clp; |
CaloLevel2 *clp; |
| 148 |
// |
// |
| 149 |
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"... |
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"... |
| 150 |
// |
// |
| 151 |
|
TString suf; |
| 152 |
|
|
| 153 |
public: |
public: |
| 154 |
// |
// |
| 174 |
Float_t Get_asymm(){this->Fit(); return asymm;}; |
Float_t Get_asymm(){this->Fit(); return asymm;}; |
| 175 |
Float_t Get_exptmax(){this->Process(); return etmax;}; |
Float_t Get_exptmax(){this->Process(); return etmax;}; |
| 176 |
Float_t Get_X0pl(){this->Process(); return X0pl;}; |
Float_t Get_X0pl(){this->Process(); return X0pl;}; |
| 177 |
Int_t Get_fitresult(){this->Fit(); return fitresult;}; |
// |
| 178 |
|
Float_t Get_letmax(){ return letmax;}; |
| 179 |
|
Float_t Get_lmipth(){ return lmipth;}; |
| 180 |
|
Int_t Get_fitresult(){this->Fit(); return fitresult;}; |
| 181 |
// |
// |
| 182 |
void ForceNextFit(){atime=0;fatime=0;}; |
void ForceNextFit(){atime=0;fatime=0;}; |
| 183 |
void Draw(); |
void Draw(); |
| 210 |
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 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) |
| 211 |
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 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) |
| 212 |
// |
// |
| 213 |
|
void Setletmax(Float_t l){ letmax = l;}; |
| 214 |
|
void Setlmipth(Float_t l){ lmipth = l;}; |
| 215 |
|
void HeavyTail(Bool_t b){ heavytail=b;}; |
| 216 |
|
// |
| 217 |
Float_t GetLowerLimit(){ return lmax;}; |
Float_t GetLowerLimit(){ return lmax;}; |
| 218 |
Float_t GetUpperLimit(){ return umax;}; |
Float_t GetUpperLimit(){ return umax;}; |
| 219 |
// |
// |
| 220 |
|
void SetSuffix(TString suffix){ suf = suffix;}; |
| 221 |
|
// |
| 222 |
void Clear(); |
void Clear(); |
| 223 |
void Clear(Option_t *option){Clear();}; |
void Clear(Option_t *option){Clear();}; |
| 224 |
void Delete(); |
void Delete(); |
| 228 |
void Print(); |
void Print(); |
| 229 |
void Print(Option_t *option){Print();}; |
void Print(Option_t *option){Print();}; |
| 230 |
// |
// |
| 231 |
ClassDef(CaloLong,2); |
ClassDef(CaloLong,3); |
| 232 |
}; |
}; |
| 233 |
|
|
| 234 |
/** |
/** |
| 251 |
Int_t smax[23]; |
Int_t smax[23]; |
| 252 |
Int_t smay[23]; |
Int_t smay[23]; |
| 253 |
// |
// |
| 254 |
|
TString suf; |
| 255 |
|
|
| 256 |
public: |
public: |
| 257 |
// |
// |
| 270 |
void Delete(); |
void Delete(); |
| 271 |
void Delete(Option_t *option){Delete();}; |
void Delete(Option_t *option){Delete();}; |
| 272 |
// |
// |
| 273 |
|
void SetSuffix(TString suffix){ suf = suffix;}; |
| 274 |
|
// |
| 275 |
void Process(); ///< Process data |
void Process(); ///< Process data |
| 276 |
void Print(); |
void Print(); |
| 277 |
void Print(Option_t *option){Print();}; |
void Print(Option_t *option){Print();}; |
| 278 |
// |
// |
| 279 |
ClassDef(Calo2D,1); |
ClassDef(Calo2D,2); |
| 280 |
}; |
}; |
| 281 |
|
|
| 282 |
#endif |
#endif |