]> git.uio.no Git - u/mrichter/AliRoot.git/blame - VZERO/AliVZEROTriggerMask.h
Coding conv viols fixed (Raphael)
[u/mrichter/AliRoot.git] / VZERO / AliVZEROTriggerMask.h
CommitLineData
2647fc37 1#ifndef ALIVZEROTRIGGERMASK_H
2#define ALIVZEROTRIGGERMASK_H
a055ee24 3
4///_________________________________________________________________________
5///
6/// Auxiliary classs to compute the VZERO Trigger
7///_________________________________________________________________________
8
9#include <TObject.h>
2647fc37 10class TTree;
11class TClonesArray;
a055ee24 12
13class AliVZEROTriggerMask : public TObject
14{
15 public:
16 AliVZEROTriggerMask(); // constructor
17 virtual ~AliVZEROTriggerMask(){} // destructor
18
19 void FillMasks(TTree* vzeroDigitsTree,
2647fc37 20 TClonesArray* const vzeroDigits);
a055ee24 21 Double_t GetZPosition(const char* symname);
22
23 void SetAdcThreshold(Float_t t=55.0)
24 {fAdcThresHold=t;}
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;}
33
2647fc37 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;}
a055ee24 38
39private:
40
2647fc37 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
a055ee24 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
50
51
52 ClassDef( AliVZEROTriggerMask, 1 ) // VZERO Trigger Detector class
53};
54
2647fc37 55#endif // ALIVZEROTRIGGERMASK_H