1 #ifndef ALIVZEROTENDERSUPPLY_H
2 #define ALIVZEROTENDERSUPPLY_H
4 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
5 * See cxx source for full Copyright notice */
7 ////////////////////////////////////////////////////////////////////////
9 // Recalculate VZERO timing and decision using the tender //
10 // (in case the LHC phase drift is updated in OCDB) //
12 ////////////////////////////////////////////////////////////////////////
16 #include <AliTenderSupply.h>
19 class AliVZEROCalibData;
20 class AliVZERORecoParam;
22 class AliVZEROTenderSupply: public AliTenderSupply {
25 AliVZEROTenderSupply();
26 AliVZEROTenderSupply(const char *name, const AliTender *tender=NULL);
28 virtual ~AliVZEROTenderSupply(){;}
31 virtual void ProcessEvent();
33 void GetPhaseCorrection();
35 void SetDebug(Bool_t flag) { fDebug = flag; }
38 AliVZEROCalibData* fCalibData; //! calibration data
39 TF1* fTimeSlewing; //! Function for time slewing correction
40 AliVZERORecoParam* fRecoParam; //! pointer to reco-param object
41 Float_t fLHCClockPhase; //! the correction to the LHC-clock phase
42 Bool_t fDebug; // debug on/off
44 AliVZEROTenderSupply(const AliVZEROTenderSupply&c);
45 AliVZEROTenderSupply& operator= (const AliVZEROTenderSupply&c);
47 ClassDef(AliVZEROTenderSupply, 2) // VZERO tender task