29 |
#include <TSystemDirectory.h> |
#include <TSystemDirectory.h> |
30 |
#include <TSQLServer.h> |
#include <TSQLServer.h> |
31 |
#include <TF1.h> |
#include <TF1.h> |
32 |
|
#include <TGraphErrors.h> |
33 |
|
|
34 |
#include <PamLevel2.h> |
#include <PamLevel2.h> |
35 |
|
|
57 |
UInt_t atime; |
UInt_t atime; |
58 |
// |
// |
59 |
Float_t estrip[2][22][96]; |
Float_t estrip[2][22][96]; |
60 |
|
TString suf; |
61 |
// |
// |
62 |
|
|
63 |
public: |
public: |
81 |
void Print(); |
void Print(); |
82 |
void Print(Option_t *option){Print();}; |
void Print(Option_t *option){Print();}; |
83 |
// |
// |
84 |
ClassDef(CaloLat,1); |
void SetSuffix(TString suffix){ suf = suffix;}; |
85 |
|
// |
86 |
|
ClassDef(CaloLat,2); |
87 |
}; |
}; |
88 |
|
|
89 |
/** |
/** |
135 |
Bool_t maskXO; |
Bool_t maskXO; |
136 |
Bool_t maskYO; |
Bool_t maskYO; |
137 |
// |
// |
138 |
|
Bool_t xyaverage; |
139 |
|
// |
140 |
Float_t eplane[2][22]; |
Float_t eplane[2][22]; |
141 |
// |
// |
142 |
CaloLevel2 *clp; |
CaloLevel2 *clp; |
143 |
// |
// |
144 |
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"... |
145 |
// |
// |
146 |
|
TString suf; |
147 |
|
|
148 |
public: |
public: |
149 |
// |
// |
182 |
void SetDebug(Bool_t d){ debug=d; }; |
void SetDebug(Bool_t d){ debug=d; }; |
183 |
void UsePlane18X(){ no18x=false; }; |
void UsePlane18X(){ no18x=false; }; |
184 |
// |
// |
185 |
|
void UseAverage(){ xyaverage = true;}; |
186 |
|
void UseAllMeas(){ xyaverage = false;}; |
187 |
|
// |
188 |
void MaskSection(TString); |
void MaskSection(TString); |
189 |
void UnMaskSection(TString); |
void UnMaskSection(TString); |
190 |
void UnMaskSections(); |
void UnMaskSections(); |
202 |
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) |
203 |
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) |
204 |
// |
// |
205 |
|
Float_t GetLowerLimit(){ return lmax;}; |
206 |
|
Float_t GetUpperLimit(){ return umax;}; |
207 |
|
// |
208 |
|
void SetSuffix(TString suffix){ suf = suffix;}; |
209 |
|
// |
210 |
void Clear(); |
void Clear(); |
211 |
void Clear(Option_t *option){Clear();}; |
void Clear(Option_t *option){Clear();}; |
212 |
void Delete(); |
void Delete(); |
216 |
void Print(); |
void Print(); |
217 |
void Print(Option_t *option){Print();}; |
void Print(Option_t *option){Print();}; |
218 |
// |
// |
219 |
ClassDef(CaloLong,2); |
ClassDef(CaloLong,3); |
220 |
}; |
}; |
221 |
|
|
222 |
/** |
/** |
239 |
Int_t smax[23]; |
Int_t smax[23]; |
240 |
Int_t smay[23]; |
Int_t smay[23]; |
241 |
// |
// |
242 |
|
TString suf; |
243 |
|
|
244 |
public: |
public: |
245 |
// |
// |
258 |
void Delete(); |
void Delete(); |
259 |
void Delete(Option_t *option){Delete();}; |
void Delete(Option_t *option){Delete();}; |
260 |
// |
// |
261 |
|
void SetSuffix(TString suffix){ suf = suffix;}; |
262 |
|
// |
263 |
void Process(); ///< Process data |
void Process(); ///< Process data |
264 |
void Print(); |
void Print(); |
265 |
void Print(Option_t *option){Print();}; |
void Print(Option_t *option){Print();}; |
266 |
// |
// |
267 |
ClassDef(Calo2D,1); |
ClassDef(Calo2D,2); |
268 |
}; |
}; |
269 |
|
|
270 |
#endif |
#endif |