]> git.uio.no Git - u/mrichter/AliRoot.git/blob - ANALYSIS/TenderSupplies/AliT0TenderSupply.h
DQM configure file
[u/mrichter/AliRoot.git] / ANALYSIS / TenderSupplies / AliT0TenderSupply.h
1 #ifndef ALIT0TENDERSUPPLY_H\r
2 #define ALIT0TENDERSUPPLY_H\r
3 \r
4 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *\r
5  * See cxx source for full Copyright notice                               */\r
6 \r
7 ///////////////////////////////////////////////////////////////////////////\r
8 //                                                                       //\r
9 //      //\r
10 //   //\r
11 //                                                                       //\r
12 ///////////////////////////////////////////////////////////////////////////\r
13 \r
14 #include <AliTenderSupply.h>\r
15 \r
16 class AliT0TenderSupply: public AliTenderSupply {\r
17   \r
18  public:\r
19   AliT0TenderSupply();\r
20   AliT0TenderSupply(const char *name, const AliTender *tender=NULL);\r
21   virtual ~AliT0TenderSupply();\r
22 \r
23   virtual void          Init();\r
24   virtual void          ProcessEvent();\r
25   void SetCorrectMeanTime (Bool_t flag=kFALSE){fCorrectMeanTime=flag;};\r
26   void SetAmplutudeCorrection (Bool_t flag=kFALSE){fCorrectStartTimeOnAmplSatur=flag;};\r
27   void SetPass4LHC11aCorrection (Bool_t flag=kFALSE){fPass4LHC11aCorrection=flag;};\r
28 \r
29  private:\r
30   \r
31   AliT0TenderSupply(const AliT0TenderSupply&c);\r
32   AliT0TenderSupply& operator= (const AliT0TenderSupply&c);\r
33 \r
34 \r
35   Bool_t  fCorrectMeanTime; //! mean time shift will be corrected\r
36   Float_t fTimeOffset[4]; //! time offset to be used for fCorrectMeanTime\r
37   Bool_t  fCorrectStartTimeOnAmplSatur; //!  fix start times suffering from saturated amplitude in pmts\r
38   Float_t fAmplitudeThreshold; //! above this value pmt suffer from saturation\r
39   Bool_t fPass4LHC11aCorrection; //! above this value pmt suffer from saturation\r
40 \r
41   ClassDef(AliT0TenderSupply, 2);  // T0 tender supply\r
42 };\r
43 \r
44 #endif\r