]> git.uio.no Git - u/mrichter/AliRoot.git/blame_incremental - EMCAL/AliEMCALTriggerSTU.h
protection + extension of Nch weights to 100
[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 <AliEMCALTriggerTypes.h>
13#include <AliEMCALTriggerBoard.h>
14
15class TTree;
16class AliEMCALTriggerSTUDCSConfig;
17
18class AliEMCALTriggerSTU : public AliEMCALTriggerBoard
19{
20public:
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 virtual AliEMCALTriggerSTUDCSConfig* GetDCSConfig() const {return fDCSConfig;}
37
38protected:
39
40 AliEMCALTriggerSTU(const AliEMCALTriggerSTU& rhs);
41 AliEMCALTriggerSTU& operator=(const AliEMCALTriggerSTU& rhs);
42
43private:
44
45 Int_t fGammaTh[2]; // Gamma threshold
46 Int_t fJetTh[2]; // Jet threshold
47
48 AliEMCALTriggerSTUDCSConfig *fDCSConfig; // DCS config
49
50 ClassDef(AliEMCALTriggerSTU, 2)
51};
52
53#endif