]> git.uio.no Git - u/mrichter/AliRoot.git/blame - ANALYSIS/TenderSupplies/AliVZEROTenderSupply.h
New TOF Tender Sussplies (F. Noferini)
[u/mrichter/AliRoot.git] / ANALYSIS / TenderSupplies / AliVZEROTenderSupply.h
CommitLineData
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
18class TF1;
19class AliVZEROCalibData;
20
21class AliVZEROTenderSupply: public AliTenderSupply {
22
23public:
24 AliVZEROTenderSupply();
25 AliVZEROTenderSupply(const char *name, const AliTender *tender=NULL);
26
27 virtual ~AliVZEROTenderSupply(){;}
28
29 virtual void Init();
30 virtual void ProcessEvent();
31
32 void GetPhaseCorrection();
33
34 void SetDebug(Bool_t flag) { fDebug = flag; }
35
36private:
37 AliVZEROCalibData* fCalibData; //! calibration data
38 TF1* fTimeSlewing; //! Function for time slewing correction
39 Float_t fLHCClockPhase; //! the correction to the LHC-clock phase
40 Bool_t fDebug; // debug on/off
41
42 AliVZEROTenderSupply(const AliVZEROTenderSupply&c);
43 AliVZEROTenderSupply& operator= (const AliVZEROTenderSupply&c);
44
45 ClassDef(AliVZEROTenderSupply, 1) // VZERO tender task
46};
47
48
49#endif
50