Modified file access mode
[u/mrichter/AliRoot.git] / VZERO / AliVZEROTrigger.h
CommitLineData
0aa756da 1#ifndef ALIVZEROTrigger_H
2#define ALIVZEROTrigger_H
3
4///_________________________________________________________________________
5///
6/// Class for making VZERO Trigger
7///_________________________________________________________________________
8
9
10#include "AliTriggerDetector.h"
11#include "AliTriggerInput.h"
12
13#include "AliVZEROLoader.h"
14#include "AliVZEROdigit.h"
15
16#include "AliLog.h"
17
18
19class AliVZEROTrigger : public AliTriggerDetector
20{
21 public:
22 AliVZEROTrigger(); // constructor
23 virtual ~AliVZEROTrigger(){} // destructor
24 virtual void CreateInputs();
25 virtual void Trigger();
26
fe864f48 27 void SetAdcThreshold(Float_t t=55.0)
a055ee24 28 {fAdcThresHold=t;
29 AliDebug(1,Form("ADC threshold set to %0.2f", fAdcThresHold));}
0aa756da 30
a055ee24 31 void SetTimeWindowWidth(Float_t w=50.0)
32 {fTimeWindowWidthBBA=fTimeWindowWidthBGA
33 =fTimeWindowWidthBBC=fTimeWindowWidthBGC=w;}
34 void SetTimeWindowWidthBBA(Float_t w=50.0)
35 {fTimeWindowWidthBBA=w;}
36 void SetTimeWindowWidthBBC(Float_t w=50.0)
37 {fTimeWindowWidthBBC=w;}
38 void SetTimeWindowWidthBGA(Float_t w=20.0)
39 {fTimeWindowWidthBGA=w;}
40 void SetTimeWindowWidthBGC(Float_t w=20.0)
41 {fTimeWindowWidthBGC=w;}
0aa756da 42
43private:
44
45 Float_t fAdcThresHold;
a055ee24 46 Float_t fTimeWindowWidthBBA; //
47 Float_t fTimeWindowWidthBGA; //
48 Float_t fTimeWindowWidthBBC; //
49 Float_t fTimeWindowWidthBGC; //
0aa756da 50
51 ClassDef( AliVZEROTrigger, 1 ) // VZERO Trigger Detector class
52};
53
54#endif // AliVZEROTrigger_H