]>
Commit | Line | Data |
---|---|---|
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 | ||
19 | class 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) |
0aa756da | 28 | {fAdcThresHold=t; AliDebug(1,Form("ADC threshold set to %0.2f", fAdcThresHold));} |
29 | ||
c0d31131 | 30 | void SetTimeWindowWidth(Float_t w=50.0) {fTimeWindowWidth=w;} |
0aa756da | 31 | |
32 | ||
33 | private: | |
34 | ||
35 | Float_t fAdcThresHold; | |
36 | Float_t fTimeWindowWidth; // | |
37 | ||
38 | ClassDef( AliVZEROTrigger, 1 ) // VZERO Trigger Detector class | |
39 | }; | |
40 | ||
41 | #endif // AliVZEROTrigger_H |