1 #ifndef ALITRDTRIGPARAM_H
2 #define ALITRDTRIGPARAM_H
3 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 * See cxx source for full Copyright notice */
6 ///////////////////////////////////////////////////////////////////////////////
8 // TRD trigger parameters class //
10 ///////////////////////////////////////////////////////////////////////////////
14 class AliTRDtrigParam : public TNamed {
19 AliTRDtrigParam(const Text_t* name, const Text_t* title);
20 AliTRDtrigParam(const AliTRDtrigParam &p);
21 virtual ~AliTRDtrigParam();
22 AliTRDtrigParam &operator=(const AliTRDtrigParam &p);
24 virtual void Copy(TObject &p) const;
27 void SetTimeRange(const Int_t time1, const Int_t time2) { fTime1 = time1; fTime2 = time2; };
28 Int_t GetTime1() const { return fTime1; };
29 Int_t GetTime2() const { return fTime2; };
30 void SetClusThr(const Float_t clth) { fClusThr = clth; };
31 void SetPadThr(const Float_t path) { fPadThr = path; };
32 Float_t GetClusThr() const { return fClusThr; };
33 Float_t GetPadThr() const { return fPadThr; };
34 void SetSum10(const Int_t sum) { fSum10 = sum; };
35 void SetSum12(const Int_t sum) { fSum12 = sum; };
36 Int_t GetSum10() const { return fSum10; };
37 Int_t GetSum12() const { return fSum12; };
39 void SetTailCancelation(Int_t tcOn = 0) { fTCOn = tcOn; };
40 void SetNexponential(Int_t nexp = 1) { fTCnexp = nexp; };
41 void SetFilterType(Int_t ftype = 0) { fFilterType = ftype; };
42 void SetFilterParam(Float_t r1, Float_t r2, Float_t c1, Float_t c2, Float_t ped)
43 { fR1 = r1; fR2 = r2; fC1 = c1; fC2 = c2; fPedestal = ped; };
45 Int_t GetTailCancelation() const { return fTCOn; };
46 Int_t GetNexponential() const { return fTCnexp; };
47 Int_t GetFilterType() const { return fFilterType; };
48 void GetFilterParam(Float_t &r1, Float_t &r2, Float_t &c1, Float_t &c2, Float_t &ped) const {
49 r1 = fR1; r2 = fR2; c1 = fC1; c2 = fC2; ped = fPedestal;
52 void SetADCnoise(const Float_t adcn) { fADCnoise = adcn; };
53 Float_t GetADCnoise() { return fADCnoise; };
55 void SetDebugLevel(const Int_t deb) { fDebug = deb; };
56 Int_t GetDebugLevel() { return fDebug; };
58 void SetDeltaY(Float_t dy) { fDeltaY = dy; };
59 Float_t GetDeltaY() { return fDeltaY; };
60 void SetDeltaS(Float_t ds) { fDeltaS = ds; };
61 Float_t GetDeltaS() { return fDeltaS; };
63 Float_t GetXprojPlane() { return fXprojPlane; };
65 void SetField(Float_t b) { fField = b; };
66 Float_t GetField() { return fField; };
68 void SetLtuPtCut(Float_t ptcut) { fLtuPtCut = ptcut; };
69 Float_t GetLtuPtCut() { return fLtuPtCut; };
71 void SetGtuPtCut(Float_t ptcut) { fGtuPtCut = ptcut; };
72 Float_t GetGtuPtCut() { return fGtuPtCut; };
76 Int_t fDebug; // debugging flag
78 Int_t fTime1; // first time bin for tracking (incl.)
79 Int_t fTime2; // last time bin for tracking (incl.)
80 Float_t fClusThr; // cluster threshold
81 Float_t fPadThr; // pad threshold
82 Int_t fSum10; // MCM CreateSeeds: Min_Thr_Left_Neighbour
83 Int_t fSum12; // MCM CreateSeeds: Min_Sum_From_Two_Neighbours
84 Int_t fTCOn; // tail cancelation flag
85 Int_t fTCnexp; // number of exp in filter
86 Int_t fFilterType; // filter type (0=A - analog, 1=D - digital)
87 Float_t fR1; // filter parameters (1 = long, 2 = short component)
92 Float_t fADCnoise; // ADC noise (not contained in the digitizer)
94 Float_t fDeltaY; // Y (offset) matching window in the GTU
95 Float_t fDeltaS; // Slope matching window in the GTU
97 Float_t fXprojPlane; // Projection plane (X) for GTU matching
99 Float_t fLtuPtCut; // Local pt cut
100 Float_t fGtuPtCut; // Global pt cut
102 Float_t fField; // Magnetic field
104 ClassDef(AliTRDtrigParam,1) // TRD trigger parameter class