]> git.uio.no Git - u/mrichter/AliRoot.git/blob - TOF/AliTOFT0FillOnlineCalib.h
Be sure to load mapping when needed
[u/mrichter/AliRoot.git] / TOF / AliTOFT0FillOnlineCalib.h
1 #ifndef ALITOFT0FILLONLINECALIB_H
2 #define ALITOFT0FILLONLINECALIB_H
3
4 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
5  * See cxx source for full Copyright notice                               */
6 /* $Id$ */
7
8 // *
9 // *
10 // *
11 // * this class defines the T0Fill online calibration object to be stored
12 // * in OCDB in order to obtain a corrected T0Fill from online algorithm
13 // * 
14 // *
15 // *
16 // *
17
18 #include "TObject.h"
19
20 class AliTOFT0FillOnlineCalib :
21 public TObject
22 {
23
24  public:
25
26   AliTOFT0FillOnlineCalib(); // default constructor
27   virtual ~AliTOFT0FillOnlineCalib(); // default destructor
28   AliTOFT0FillOnlineCalib(const AliTOFT0FillOnlineCalib &source); // copy constructor
29   AliTOFT0FillOnlineCalib &operator=(const AliTOFT0FillOnlineCalib &source); // operator=
30   Float_t GetOffset() const {return fOffset;}; // getter
31   Float_t GetCoefficient() const {return fCoefficient;}; // getter
32   void SetOffset(Float_t value) {fOffset = value;}; // setter
33   void SetCoefficient(Float_t value) {fCoefficient = value;}; // setter
34
35  private:
36
37   Float_t fOffset; // offset (ps)
38   Float_t fCoefficient; // coefficient
39
40   ClassDef(AliTOFT0FillOnlineCalib, 1);
41 };
42
43 #endif /* ALITOFT0FILLOnlineCalib_H */