]> git.uio.no Git - u/mrichter/AliRoot.git/blame - T0/AliT0TriggerParameters.h
added slewing correction by data
[u/mrichter/AliRoot.git] / T0 / AliT0TriggerParameters.h
CommitLineData
0f786b96 1#ifndef AliT0TriggerParameters_H
2#define AliT0TriggerParameters_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// class for T0 calibration //
9////////////////////////////////////////////////
10
11#include "TObject.h"
12
13class AliT0TriggerParameters: public TObject {
14
15 public:
16 AliT0TriggerParameters();
17 AliT0TriggerParameters& operator= (const AliT0TriggerParameters &);
18 AliT0TriggerParameters(const AliT0TriggerParameters &calibda);
19 virtual ~AliT0TriggerParameters();
20
21 //Switched on/off
22 void SetPMTstatus(Int_t i, Int_t val);
23 Int_t GetPMTstatus(Int_t i) const;
24 //Thresholds
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;}
28 //mult threshold
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;}
37
38
39 void Reset();
40 virtual void Print(Option_t* option= "") const;
41
42 protected:
43
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
50
51
52 // AliT0TriggerParameters& operator= (const AliT0TriggerParameters &);
53 // AliT0TriggerParameters(const AliT0TriggerParameters &calibda);
54 //
4f9030cc 55 ClassDef(AliT0TriggerParameters,2) // T0 Sensor Calibration data
0f786b96 56};
57
58
59#endif
60