]> git.uio.no Git - u/mrichter/AliRoot.git/blob - EMCAL/AliEMCALTriggerSTU.h
Update on the trigger, new OCDB DCS trigger information, use ESDVZERO (Rachid)
[u/mrichter/AliRoot.git] / EMCAL / AliEMCALTriggerSTU.h
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 <AliEMCALTriggerBoard.h>
13
14 class TTree;
15 class AliEMCALTriggerSTUDCSConfig;
16
17 class AliEMCALTriggerSTU : public AliEMCALTriggerBoard 
18 {
19 public:
20         
21                       AliEMCALTriggerSTU();
22                       AliEMCALTriggerSTU(AliEMCALTriggerSTUDCSConfig *dcsConf, const TVector2& rsize);
23         virtual      ~AliEMCALTriggerSTU();
24         
25         virtual void  FetchFOR(Int_t i, Int_t** Region, const TVector2* rSize);
26         virtual void  BuildMap(Int_t i, Int_t**    Map, const TVector2* rSize);
27         virtual void  PrintADC(L1TriggerType_t type, TVector2& pos, TVector2& idx);
28         virtual void  L1(L1TriggerType_t type);//, TTree& treeV0);
29         virtual void  PatchGenerator(const TClonesArray* lpos, Int_t val);
30         virtual const Int_t* V0() const {return fV0M;}
31         virtual void  SetV0Multiplicity(const Int_t M[], Int_t n);
32         virtual void  Reset();
33         virtual Int_t GetThreshold(L1TriggerType_t type);
34         
35 protected:
36                             AliEMCALTriggerSTU(const AliEMCALTriggerSTU& rhs);
37                         AliEMCALTriggerSTU& operator=(const AliEMCALTriggerSTU& rhs);
38
39 private:
40         
41                 Int_t   fV0M[2]; //! 0/1: V0C/V0A
42                   Int_t   fGammaTh;
43                   Int_t   fJetTh;
44         
45         AliEMCALTriggerSTUDCSConfig* fDCSConfig;
46
47         ClassDef(AliEMCALTriggerSTU,1)
48 };
49  
50 #endif