]> git.uio.no Git - u/mrichter/AliRoot.git/blame_incremental - EMCAL/AliEMCALTriggerSTU.h
Uncomment AddLabels()
[u/mrichter/AliRoot.git] / EMCAL / AliEMCALTriggerSTU.h
... / ...
CommitLineData
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
9Author: R. GUERNANE LPSC Grenoble CNRS/IN2P3
10*/
11
12#include <AliEMCALTriggerBoard.h>
13
14class TTree;
15class AliEMCALTriggerSTUDCSConfig;
16
17class AliEMCALTriggerSTU : public AliEMCALTriggerBoard
18{
19public:
20
21 AliEMCALTriggerSTU();
22 AliEMCALTriggerSTU(AliEMCALTriggerSTUDCSConfig *dcsConf, const TVector2& rsize);
23 virtual ~AliEMCALTriggerSTU();
24
25 virtual void Build(TString& str, Int_t i, Int_t** Map, const TVector2* rSize);
26 virtual void PrintADC(TriggerType_t type, TVector2& pos, TVector2& idx);
27 virtual void L1(TriggerType_t type);
28 virtual void PatchGenerator(const TClonesArray* lpos, Int_t val);
29
30 virtual void ComputeThFromV0(TriggerType_t type, const Int_t M[]);
31
32 virtual void SetThreshold(TriggerType_t type, Int_t v);
33
34 virtual Int_t GetThreshold(TriggerType_t type);
35
36 virtual void Reset();
37
38 virtual AliEMCALTriggerSTUDCSConfig* GetDCSConfig() const {return fDCSConfig;}
39
40protected:
41
42 AliEMCALTriggerSTU(const AliEMCALTriggerSTU& rhs);
43 AliEMCALTriggerSTU& operator=(const AliEMCALTriggerSTU& rhs);
44
45private:
46
47 Int_t fGammaTh; // Gamma threshold
48 Int_t fJetTh; // Jet threshold
49
50 AliEMCALTriggerSTUDCSConfig* fDCSConfig; // DCS config
51
52 ClassDef(AliEMCALTriggerSTU,1)
53};
54
55#endif