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 */
9 Author: R. GUERNANE LPSC Grenoble CNRS/IN2P3
12 #include <AliEMCALTriggerBoard.h>
16 class AliEMCALTriggerSTU : public AliEMCALTriggerBoard
21 AliEMCALTriggerSTU(AliEMCALCalibData *calibData, const TVector2& rsize);
22 virtual ~AliEMCALTriggerSTU();
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);
35 AliEMCALTriggerSTU(const AliEMCALTriggerSTU& rhs);
36 AliEMCALTriggerSTU& operator=(const AliEMCALTriggerSTU& rhs);
40 virtual Float_t ThresholdFromV0(L1TriggerType_t type);
42 Int_t fV0M[2]; //! 0/1: V0C/V0A
44 ClassDef(AliEMCALTriggerSTU,1)