Line data Source code
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$ */
7 : /* $Id$ */
8 : ////////////////////////////////////////////////
9 : // class for T0 calibration during reconstruction //
10 : ////////////////////////////////////////////////
11 :
12 :
13 : #include <TNamed.h>
14 : #include <TObjArray.h>
15 :
16 : class AliT0Calibrator: public TNamed
17 : {
18 : public:
19 :
20 : AliT0Calibrator();
21 : AliT0Calibrator( const AliT0Calibrator&r );
22 : AliT0Calibrator& operator=(const AliT0Calibrator&r);
23 0 : virtual ~AliT0Calibrator() {};
24 : // const AliT0RecoParam* fRecoParam; // Pointer to T0 Recon. Pars
25 : // const AliT0RecoParam* GetRecoParam() const { return fRecoParam; }
26 :
27 :
28 : Int_t WalkCorrection(Int_t refAmp, Int_t ipmt, Int_t qt, Int_t time) ;
29 16 : void SetEq(Int_t eq) { fEqualized= eq; };
30 : protected:
31 :
32 : Int_t fTimeDelayCFD[24]; //CFD[i]-CFD[0]
33 : Float_t fMaxValue[24]; //CFD[i]-CFD[0]
34 : Float_t fChannelWidth ; //channel width
35 : TObjArray fWalk; //walk correction function
36 : Int_t fEqualized; //if != 0 time centered around 0
37 :
38 : // const AliT0RecoParam* fRecoParam; ///< reference to reco parameters
39 :
40 32 : ClassDef(AliT0Calibrator, 2) // class for the T0 reconstruction
41 :
42 : };
43 :
44 :
45 : #endif
|