]>
Commit | Line | Data |
---|---|---|
a65a7e70 | 1 | #ifndef ALIT0TENDERSUPPLY_H |
2 | #define ALIT0TENDERSUPPLY_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 | // // | |
10 | // // | |
11 | // // | |
12 | /////////////////////////////////////////////////////////////////////////// | |
13 | ||
14 | #include <AliTenderSupply.h> | |
15 | ||
16 | class AliT0TenderSupply: public AliTenderSupply { | |
17 | ||
18 | public: | |
19 | AliT0TenderSupply(); | |
20 | AliT0TenderSupply(const char *name, const AliTender *tender=NULL); | |
21 | virtual ~AliT0TenderSupply(); | |
22 | ||
23 | virtual void Init(); | |
24 | virtual void ProcessEvent(); | |
25 | void SetCorrectMeanTime (Bool_t flag=kFALSE){fCorrectMeanTime=flag;}; | |
26 | void SetAmplutudeCorrection (Bool_t flag=kFALSE){fCorrectStartTimeOnAmplSatur=flag;}; | |
27 | void SetPass4LHC11aCorrection (Bool_t flag=kFALSE){fPass4LHC11aCorrection=flag;}; | |
28 | ||
29 | private: | |
30 | ||
31 | AliT0TenderSupply(const AliT0TenderSupply&c); | |
32 | AliT0TenderSupply& operator= (const AliT0TenderSupply&c); | |
33 | ||
34 | ||
35 | Bool_t fCorrectMeanTime; //! mean time shift will be corrected | |
36 | Float_t fTimeOffset[4]; //! time offset to be used for fCorrectMeanTime | |
37 | Bool_t fCorrectStartTimeOnAmplSatur; //! fix start times suffering from saturated amplitude in pmts | |
38 | Float_t fAmplitudeThreshold; //! above this value pmt suffer from saturation | |
39 | Bool_t fPass4LHC11aCorrection; //! above this value pmt suffer from saturation | |
40 | ||
41 | ClassDef(AliT0TenderSupply, 2); // T0 tender supply | |
42 | }; | |
43 | ||
44 | #endif |