1 #ifndef AliT0TriggerParameters_H
2 #define AliT0TriggerParameters_H
4 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
5 * See cxx source for full Copyright notice */
7 ////////////////////////////////////////////////
8 // class for T0 calibration //
9 ////////////////////////////////////////////////
13 class AliT0TriggerParameters: public TObject {
16 AliT0TriggerParameters();
17 AliT0TriggerParameters& operator= (const AliT0TriggerParameters &);
18 AliT0TriggerParameters(const AliT0TriggerParameters &calibda);
19 virtual ~AliT0TriggerParameters();
22 void SetPMTstatus(Int_t i, Int_t val);
23 Int_t GetPMTstatus(Int_t i) const;
25 void SetThreshold(Int_t i, Int_t val) {fThreshold[i]=val;}
26 Int_t GetThreshold(Int_t i) {return fThreshold[i];}
27 Int_t* GetThreshold() {return fThreshold;}
29 Float_t GetTimeWindowLow() const {return fTimeWindowLow;}
30 void SetTimeWindowLow(Float_t low) { fTimeWindowLow = low;}
31 Float_t GetTimeWindowHigh() const {return fTimeWindowHigh;}
32 void SetTimeWindowHigh(Float_t high) { fTimeWindowHigh = high;}
33 Int_t GetAmpCentr() const {return fAmpCentr;}
34 void SetAmpCentr(Int_t ref) {fAmpCentr = ref;}
35 Int_t GetAmpSemiCentr() const {return fAmpSemiCentr;}
36 void SetAmpSemiCentr(Int_t ref) {fAmpSemiCentr = ref;}
40 virtual void Print(Option_t* option= "") const;
44 Int_t fSwtPmt; // PMT on/off
45 Int_t fThreshold[24]; // thresholds
46 Int_t fAmpCentr; // threshold for central event
47 Int_t fAmpSemiCentr; // threshold for semi-central event
48 Float_t fTimeWindowLow; //low border for TVDC
49 Float_t fTimeWindowHigh; //low border for TVDC
52 // AliT0TriggerParameters& operator= (const AliT0TriggerParameters &);
53 // AliT0TriggerParameters(const AliT0TriggerParameters &calibda);
55 ClassDef(AliT0TriggerParameters,2) // T0 Sensor Calibration data