]>
Commit | Line | Data |
---|---|---|
8d72d1c2 | 1 | #ifndef ALIT0CALIBRATOR_H |
2 | #define ALIT0CALIBRATOR_H | |
3 | /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. * | |
4 | * See cxx source for full Copyright notice */ | |
5 | ||
6 | /* $Id$ */ | |
94249139 | 7 | /* $Id$ */ |
8 | //////////////////////////////////////////////// | |
9 | // class for T0 calibration during reconstruction // | |
10 | //////////////////////////////////////////////// | |
11 | ||
8d72d1c2 | 12 | |
9e1b06a2 | 13 | #include "TNamed.h" |
539b9cb9 | 14 | //#include "AliT0RecoParam.h" |
8d72d1c2 | 15 | |
16 | class AliT0Calibrator: public TNamed | |
17 | { | |
18 | public: | |
19 | ||
539b9cb9 | 20 | AliT0Calibrator(); |
94249139 | 21 | AliT0Calibrator( const AliT0Calibrator&r ); |
22 | AliT0Calibrator& operator=(const AliT0Calibrator&r); | |
8d72d1c2 | 23 | virtual ~AliT0Calibrator() {}; |
539b9cb9 | 24 | // const AliT0RecoParam* fRecoParam; // Pointer to T0 Recon. Pars |
25 | // const AliT0RecoParam* GetRecoParam() const { return fRecoParam; } | |
8d72d1c2 | 26 | |
539b9cb9 | 27 | |
28 | Int_t WalkCorrection(Int_t refAmp, Int_t ipmt, Int_t qt, Int_t time) ; | |
e5835843 | 29 | void SetEq(Int_t eq) { fEqualized= eq; }; |
8d72d1c2 | 30 | protected: |
31 | ||
94249139 | 32 | Int_t fTimeDelayCFD[24]; //CFD[i]-CFD[0] |
539b9cb9 | 33 | Float_t fMaxValue[24]; //CFD[i]-CFD[0] |
94249139 | 34 | Float_t fChannelWidth ; //channel width |
35 | TObjArray fWalk; //walk correction function | |
e5835843 | 36 | Int_t fEqualized; //if != 0 time centered around 0 |
37 | ||
38 | // const AliT0RecoParam* fRecoParam; ///< reference to reco parameters | |
539b9cb9 | 39 | |
e5835843 | 40 | ClassDef(AliT0Calibrator, 2) // class for the T0 reconstruction |
8d72d1c2 | 41 | |
42 | }; | |
43 | ||
44 | ||
45 | #endif |