]>
Commit | Line | Data |
---|---|---|
916f1e76 | 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 | ||
63c22917 | 12 | #include <AliEMCALTriggerTypes.h> |
916f1e76 | 13 | #include <AliEMCALTriggerBoard.h> |
14 | ||
15 | class TTree; | |
fff39dd1 | 16 | class AliEMCALTriggerSTUDCSConfig; |
916f1e76 | 17 | |
18 | class AliEMCALTriggerSTU : public AliEMCALTriggerBoard | |
19 | { | |
20 | public: | |
21 | ||
22 | AliEMCALTriggerSTU(); | |
fff39dd1 | 23 | AliEMCALTriggerSTU(AliEMCALTriggerSTUDCSConfig *dcsConf, const TVector2& rsize); |
916f1e76 | 24 | virtual ~AliEMCALTriggerSTU(); |
25 | ||
de39a0ff | 26 | virtual void Build(TString& str, Int_t i, Int_t** Map, const TVector2* rSize); |
63c22917 | 27 | virtual void L1(int type); |
de39a0ff | 28 | |
63c22917 | 29 | virtual void ComputeThFromV0(int type, const Int_t M[]); |
de39a0ff | 30 | |
63c22917 | 31 | virtual void SetThreshold(int type, Int_t v); |
32 | virtual Int_t GetThreshold(int type); | |
de39a0ff | 33 | |
916f1e76 | 34 | virtual void Reset(); |
35 | ||
804b828a | 36 | virtual AliEMCALTriggerSTUDCSConfig* GetDCSConfig() const {return fDCSConfig;} |
37 | ||
916f1e76 | 38 | protected: |
de39a0ff | 39 | |
40 | AliEMCALTriggerSTU(const AliEMCALTriggerSTU& rhs); | |
41 | AliEMCALTriggerSTU& operator=(const AliEMCALTriggerSTU& rhs); | |
916f1e76 | 42 | |
43 | private: | |
44 | ||
63c22917 | 45 | Int_t fGammaTh[2]; // Gamma threshold |
46 | Int_t fJetTh[2]; // Jet threshold | |
fff39dd1 | 47 | |
63c22917 | 48 | AliEMCALTriggerSTUDCSConfig *fDCSConfig; // DCS config |
916f1e76 | 49 | |
63c22917 | 50 | ClassDef(AliEMCALTriggerSTU, 2) |
916f1e76 | 51 | }; |
52 | ||
53 | #endif |