1 #ifndef ALIT0TENDERSUPPLY_H
2 #define ALIT0TENDERSUPPLY_H
4 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
5 * See cxx source for full Copyright notice */
7 ///////////////////////////////////////////////////////////////////////////
12 ///////////////////////////////////////////////////////////////////////////
14 #include <AliTenderSupply.h>
16 class AliT0TenderSupply: public AliTenderSupply {
20 AliT0TenderSupply(const char *name, const AliTender *tender=NULL);
21 virtual ~AliT0TenderSupply();
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;};
31 AliT0TenderSupply(const AliT0TenderSupply&c);
32 AliT0TenderSupply& operator= (const AliT0TenderSupply&c);
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
41 ClassDef(AliT0TenderSupply, 2); // T0 tender supply