add getter for the array with digits and initialization inside, just for analysis...
[u/mrichter/AliRoot.git] / EMCAL / AliEMCALTriggerSTU.h
CommitLineData
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
9Author: R. GUERNANE LPSC Grenoble CNRS/IN2P3
10*/
11
12#include <AliEMCALTriggerBoard.h>
13
14class TTree;
fff39dd1 15class AliEMCALTriggerSTUDCSConfig;
916f1e76 16
17class AliEMCALTriggerSTU : public AliEMCALTriggerBoard
18{
19public:
20
21 AliEMCALTriggerSTU();
fff39dd1 22 AliEMCALTriggerSTU(AliEMCALTriggerSTUDCSConfig *dcsConf, const TVector2& rsize);
916f1e76 23 virtual ~AliEMCALTriggerSTU();
24
de39a0ff 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);
916f1e76 28 virtual void PatchGenerator(const TClonesArray* lpos, Int_t val);
de39a0ff 29
804b828a 30 virtual void ComputeThFromV0(TriggerType_t type, const Int_t M[]);
de39a0ff 31
32 virtual void SetThreshold(TriggerType_t type, Int_t v);
33
34 virtual Int_t GetThreshold(TriggerType_t type);
de39a0ff 35
916f1e76 36 virtual void Reset();
37
804b828a 38 virtual AliEMCALTriggerSTUDCSConfig* GetDCSConfig() const {return fDCSConfig;}
39
916f1e76 40protected:
de39a0ff 41
42 AliEMCALTriggerSTU(const AliEMCALTriggerSTU& rhs);
43 AliEMCALTriggerSTU& operator=(const AliEMCALTriggerSTU& rhs);
916f1e76 44
45private:
46
79b05051 47 Int_t fGammaTh; // Gamma threshold
48 Int_t fJetTh; // Jet threshold
fff39dd1 49
79b05051 50 AliEMCALTriggerSTUDCSConfig* fDCSConfig; // DCS config
916f1e76 51
52 ClassDef(AliEMCALTriggerSTU,1)
53};
54
55#endif