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 */
8 ////////////////////////////////////////////////
9 // class for T0 calibration during reconstruction //
10 ////////////////////////////////////////////////
14 //#include "AliT0RecoParam.h"
16 class AliT0Calibrator: public TNamed
21 AliT0Calibrator( const AliT0Calibrator&r );
22 AliT0Calibrator& operator=(const AliT0Calibrator&r);
23 virtual ~AliT0Calibrator() {};
24 // const AliT0RecoParam* fRecoParam; // Pointer to T0 Recon. Pars
25 // const AliT0RecoParam* GetRecoParam() const { return fRecoParam; }
28 Int_t WalkCorrection(Int_t refAmp, Int_t ipmt, Int_t qt, Int_t time) ;
29 void SetEq(Int_t eq) { fEqualized= eq; };
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
38 // const AliT0RecoParam* fRecoParam; ///< reference to reco parameters
40 ClassDef(AliT0Calibrator, 2) // class for the T0 reconstruction