]>
Commit | Line | Data |
---|---|---|
782d2143 | 1 | #ifndef ALIVZEROTENDERSUPPLY_H |
2 | #define ALIVZEROTENDERSUPPLY_H | |
3 | ||
4 | /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. * | |
5 | * See cxx source for full Copyright notice */ | |
6 | ||
7 | //////////////////////////////////////////////////////////////////////// | |
8 | // // | |
9 | // Recalculate VZERO timing and decision using the tender // | |
10 | // (in case the LHC phase drift is updated in OCDB) // | |
11 | // // | |
12 | //////////////////////////////////////////////////////////////////////// | |
13 | ||
14 | ||
15 | ||
16 | #include <AliTenderSupply.h> | |
17 | ||
18 | class TF1; | |
19 | class AliVZEROCalibData; | |
7bf5b178 | 20 | class AliVZERORecoParam; |
782d2143 | 21 | |
22 | class AliVZEROTenderSupply: public AliTenderSupply { | |
23 | ||
24 | public: | |
25 | AliVZEROTenderSupply(); | |
26 | AliVZEROTenderSupply(const char *name, const AliTender *tender=NULL); | |
27 | ||
28 | virtual ~AliVZEROTenderSupply(){;} | |
29 | ||
30 | virtual void Init(); | |
31 | virtual void ProcessEvent(); | |
32 | ||
33 | void GetPhaseCorrection(); | |
34 | ||
35 | void SetDebug(Bool_t flag) { fDebug = flag; } | |
36 | ||
37 | private: | |
38 | AliVZEROCalibData* fCalibData; //! calibration data | |
39 | TF1* fTimeSlewing; //! Function for time slewing correction | |
7bf5b178 | 40 | AliVZERORecoParam* fRecoParam; //! pointer to reco-param object |
782d2143 | 41 | Float_t fLHCClockPhase; //! the correction to the LHC-clock phase |
42 | Bool_t fDebug; // debug on/off | |
43 | ||
44 | AliVZEROTenderSupply(const AliVZEROTenderSupply&c); | |
45 | AliVZEROTenderSupply& operator= (const AliVZEROTenderSupply&c); | |
46 | ||
7bf5b178 | 47 | ClassDef(AliVZEROTenderSupply, 2) // VZERO tender task |
782d2143 | 48 | }; |
49 | ||
50 | ||
51 | #endif | |
52 |