]>
Commit | Line | Data |
---|---|---|
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 | ||
9 | Author: R. GUERNANE LPSC Grenoble CNRS/IN2P3 | |
10 | */ | |
11 | ||
12 | #include <AliEMCALTriggerBoard.h> | |
13 | ||
14 | class TTree; | |
15 | ||
16 | class AliEMCALTriggerSTU : public AliEMCALTriggerBoard | |
17 | { | |
18 | public: | |
19 | ||
20 | AliEMCALTriggerSTU(); | |
21 | AliEMCALTriggerSTU(AliEMCALCalibData *calibData, const TVector2& rsize); | |
22 | virtual ~AliEMCALTriggerSTU(); | |
23 | ||
24 | virtual void FetchFOR(Int_t i, Int_t** Region, const TVector2* rSize); | |
25 | virtual void BuildMap(Int_t i, Int_t** Map, const TVector2* rSize); | |
26 | virtual void PrintADC(L1TriggerType_t type, TVector2& pos, TVector2& idx); | |
27 | virtual void L1(L1TriggerType_t type);//, TTree& treeV0); | |
28 | virtual void PatchGenerator(const TClonesArray* lpos, Int_t val); | |
29 | virtual const Int_t* V0() const {return fV0M;} | |
30 | virtual void SetV0Multiplicity(Int_t M[], Int_t n) { for (Int_t i=0;i<n;i++) fV0M[i] = M[i]; } // for raw data rec | |
31 | virtual void V0Multiplicity(TTree& treeV0); | |
32 | virtual void Reset(); | |
33 | ||
34 | protected: | |
35 | AliEMCALTriggerSTU(const AliEMCALTriggerSTU& rhs); | |
36 | AliEMCALTriggerSTU& operator=(const AliEMCALTriggerSTU& rhs); | |
37 | ||
38 | private: | |
39 | ||
40 | virtual Float_t ThresholdFromV0(L1TriggerType_t type); | |
41 | ||
42 | Int_t fV0M[2]; //! 0/1: V0C/V0A | |
43 | ||
44 | ClassDef(AliEMCALTriggerSTU,1) | |
45 | }; | |
46 | ||
47 | #endif |