#ifndef ALIT0TENDERSUPPLY_H #define ALIT0TENDERSUPPLY_H /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. * * See cxx source for full Copyright notice */ /////////////////////////////////////////////////////////////////////////// // // // // // // // // /////////////////////////////////////////////////////////////////////////// #include class AliT0TenderSupply: public AliTenderSupply { public: AliT0TenderSupply(); AliT0TenderSupply(const char *name, const AliTender *tender=NULL); virtual ~AliT0TenderSupply(); virtual void Init(); virtual void ProcessEvent(); void SetCorrectMeanTime (Bool_t flag=kFALSE){fCorrectMeanTime=flag;}; void SetAmplutudeCorrection (Bool_t flag=kFALSE){fCorrectStartTimeOnAmplSatur=flag;}; void SetPass4LHC11aCorrection (Bool_t flag=kFALSE){fPass4LHC11aCorrection=flag;}; private: AliT0TenderSupply(const AliT0TenderSupply&c); AliT0TenderSupply& operator= (const AliT0TenderSupply&c); Bool_t fCorrectMeanTime; //! mean time shift will be corrected Float_t fTimeOffset[4]; //! time offset to be used for fCorrectMeanTime Bool_t fCorrectStartTimeOnAmplSatur; //! fix start times suffering from saturated amplitude in pmts Float_t fAmplitudeThreshold; //! above this value pmt suffer from saturation Bool_t fPass4LHC11aCorrection; //! above this value pmt suffer from saturation ClassDef(AliT0TenderSupply, 2); // T0 tender supply }; #endif