1 #ifndef ALIVZEROTRIGGERMASK_H
2 #define ALIVZEROTRIGGERMASK_H
4 ///_________________________________________________________________________
6 /// Auxiliary classs to compute the VZERO Trigger
7 ///_________________________________________________________________________
13 class AliVZEROTriggerMask : public TObject
16 AliVZEROTriggerMask(); // constructor
17 virtual ~AliVZEROTriggerMask(){} // destructor
19 void FillMasks(TTree* vzeroDigitsTree,
20 TClonesArray* const vzeroDigits);
21 Double_t GetZPosition(const char* symname);
23 void SetAdcThreshold(Float_t t=55.0)
25 void SetTimeWindowWidthBBA(Float_t w=50.0)
26 {fTimeWindowWidthBBA=w;}
27 void SetTimeWindowWidthBBC(Float_t w=50.0)
28 {fTimeWindowWidthBBC=w;}
29 void SetTimeWindowWidthBGA(Float_t w=20.0)
30 {fTimeWindowWidthBGA=w;}
31 void SetTimeWindowWidthBGC(Float_t w=20.0)
32 {fTimeWindowWidthBGC=w;}
34 UInt_t GetBBtriggerV0A() const { return fBBtriggerV0A;}
35 UInt_t GetBGtriggerV0A() const { return fBGtriggerV0A;}
36 UInt_t GetBBtriggerV0C() const { return fBBtriggerV0C;}
37 UInt_t GetBGtriggerV0C() const { return fBGtriggerV0C;}
41 Float_t fAdcThresHold; // Threshold on the ADC
42 Float_t fTimeWindowWidthBBA; // size of the BBA window
43 Float_t fTimeWindowWidthBGA; // size of the BGA window
44 Float_t fTimeWindowWidthBBC; // size of the BBC window
45 Float_t fTimeWindowWidthBGC; // size of the BGC window
46 UInt_t fBBtriggerV0A; // bit mask for Beam-Beam trigger in V0A
47 UInt_t fBGtriggerV0A; // bit mask for Beam-Gas trigger in V0A
48 UInt_t fBBtriggerV0C; // bit mask for Beam-Beam trigger in V0C
49 UInt_t fBGtriggerV0C; // bit mask for Beam-Gas trigger in V0C
52 ClassDef( AliVZEROTriggerMask, 1 ) // VZERO Trigger Detector class
55 #endif // ALIVZEROTRIGGERMASK_H