BunchCrossing-based L1phase time offset correction added
[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
30 virtual void ComputeThFromV0(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 virtual Int_t GetRawData() const;
36
916f1e76 37 virtual void Reset();
38
39protected:
de39a0ff 40
41 AliEMCALTriggerSTU(const AliEMCALTriggerSTU& rhs);
42 AliEMCALTriggerSTU& operator=(const AliEMCALTriggerSTU& rhs);
916f1e76 43
44private:
45
fff39dd1 46 Int_t fGammaTh;
47 Int_t fJetTh;
48
49 AliEMCALTriggerSTUDCSConfig* fDCSConfig;
916f1e76 50
51 ClassDef(AliEMCALTriggerSTU,1)
52};
53
54#endif