]> git.uio.no Git - u/mrichter/AliRoot.git/blame - ANALYSIS/TenderSupplies/AliT0TenderSupply.h
Merge branch 'master' of https://git.cern.ch/reps/AliRoot
[u/mrichter/AliRoot.git] / ANALYSIS / TenderSupplies / AliT0TenderSupply.h
CommitLineData
c9a7f36c 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
16class 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
1f671b29 27 void SetPass4LHC11aCorrection (Bool_t flag=kFALSE){fPass4LHC11aCorrection=flag;};\r
c9a7f36c 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
1f671b29 36 Float_t fTimeOffset[4]; //! time offset to be used for fCorrectMeanTime\r
c9a7f36c 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
1f671b29 39 Bool_t fPass4LHC11aCorrection; //! above this value pmt suffer from saturation\r
c9a7f36c 40\r
1f671b29 41 ClassDef(AliT0TenderSupply, 2); // T0 tender supply\r
c9a7f36c 42};\r
43\r
1f671b29 44#endif\r