]> git.uio.no Git - u/mrichter/AliRoot.git/blame - EMCAL/AliEMCALTriggerSTU.h
updated calculation of supermodule positions based on information from engineers.
[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
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;}
fff39dd1 31 virtual void SetV0Multiplicity(const Int_t M[], Int_t n);
916f1e76 32 virtual void Reset();
fff39dd1 33 virtual Int_t GetThreshold(L1TriggerType_t type);
916f1e76 34
35protected:
36 AliEMCALTriggerSTU(const AliEMCALTriggerSTU& rhs);
37 AliEMCALTriggerSTU& operator=(const AliEMCALTriggerSTU& rhs);
38
39private:
40
916f1e76 41 Int_t fV0M[2]; //! 0/1: V0C/V0A
fff39dd1 42 Int_t fGammaTh;
43 Int_t fJetTh;
44
45 AliEMCALTriggerSTUDCSConfig* fDCSConfig;
916f1e76 46
47 ClassDef(AliEMCALTriggerSTU,1)
48};
49
50#endif