Line data Source code
1 : #ifndef ALIEMCALTRIGGERSTU_H
2 : #define ALIEMCALTRIGGERSTU_H
3 : /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 : * See cxx source for full Copyright notice */
5 :
6 : /*
7 :
8 :
9 : Author: R. GUERNANE LPSC Grenoble CNRS/IN2P3
10 : */
11 :
12 : #include <AliEMCALTriggerTypes.h>
13 : #include <AliEMCALTriggerBoard.h>
14 :
15 : class TTree;
16 : class AliEMCALTriggerSTUDCSConfig;
17 :
18 : class AliEMCALTriggerSTU : public AliEMCALTriggerBoard
19 : {
20 : public:
21 :
22 : AliEMCALTriggerSTU();
23 : AliEMCALTriggerSTU(AliEMCALTriggerSTUDCSConfig *dcsConf, const TVector2& rsize);
24 : virtual ~AliEMCALTriggerSTU();
25 :
26 : virtual void Build(TString& str, Int_t i, Int_t** Map, const TVector2* rSize);
27 : virtual void L1(int type);
28 :
29 : virtual void ComputeThFromV0(int type, const Int_t M[]);
30 :
31 : virtual void SetThreshold(int type, Int_t v);
32 : virtual Int_t GetThreshold(int type);
33 :
34 : virtual void Reset();
35 :
36 0 : virtual AliEMCALTriggerSTUDCSConfig* GetDCSConfig() const {return fDCSConfig;}
37 :
38 : protected:
39 :
40 : AliEMCALTriggerSTU(const AliEMCALTriggerSTU& rhs);
41 : AliEMCALTriggerSTU& operator=(const AliEMCALTriggerSTU& rhs);
42 :
43 : private:
44 :
45 : Int_t fGammaTh[2]; // Gamma threshold
46 : Int_t fJetTh[2]; // Jet threshold
47 :
48 : AliEMCALTriggerSTUDCSConfig *fDCSConfig; // DCS config
49 :
50 817402 : ClassDef(AliEMCALTriggerSTU, 2)
51 : };
52 :
53 : #endif
|