X-Git-Url: http://git.uio.no/git/?a=blobdiff_plain;f=EMCAL%2FAliEMCALTriggerSTU.h;h=c8a2b2a8a31507b3f4dcaf1ecbd68ae9331ddd63;hb=488f127c177154befa0cd287a80cb548f9de14e6;hp=a839ca5ba429f029c0ae1fc0d44d559c5da787cd;hpb=fff39dd1c9b7380ecf499b74a254349e209a4cb7;p=u%2Fmrichter%2FAliRoot.git diff --git a/EMCAL/AliEMCALTriggerSTU.h b/EMCAL/AliEMCALTriggerSTU.h index a839ca5ba42..c8a2b2a8a31 100644 --- a/EMCAL/AliEMCALTriggerSTU.h +++ b/EMCAL/AliEMCALTriggerSTU.h @@ -9,6 +9,7 @@ Author: R. GUERNANE LPSC Grenoble CNRS/IN2P3 */ +#include #include class TTree; @@ -22,29 +23,31 @@ public: AliEMCALTriggerSTU(AliEMCALTriggerSTUDCSConfig *dcsConf, const TVector2& rsize); virtual ~AliEMCALTriggerSTU(); - virtual void FetchFOR(Int_t i, Int_t** Region, const TVector2* rSize); - virtual void BuildMap(Int_t i, Int_t** Map, const TVector2* rSize); - virtual void PrintADC(L1TriggerType_t type, TVector2& pos, TVector2& idx); - virtual void L1(L1TriggerType_t type);//, TTree& treeV0); - virtual void PatchGenerator(const TClonesArray* lpos, Int_t val); - virtual const Int_t* V0() const {return fV0M;} - virtual void SetV0Multiplicity(const Int_t M[], Int_t n); + virtual void Build(TString& str, Int_t i, Int_t** Map, const TVector2* rSize); + virtual void L1(int type); + + virtual void ComputeThFromV0(int type, const Int_t M[]); + + virtual void SetThreshold(int type, Int_t v); + virtual Int_t GetThreshold(int type); + virtual void Reset(); - virtual Int_t GetThreshold(L1TriggerType_t type); + virtual AliEMCALTriggerSTUDCSConfig* GetDCSConfig() const {return fDCSConfig;} + protected: - AliEMCALTriggerSTU(const AliEMCALTriggerSTU& rhs); - AliEMCALTriggerSTU& operator=(const AliEMCALTriggerSTU& rhs); + + AliEMCALTriggerSTU(const AliEMCALTriggerSTU& rhs); + AliEMCALTriggerSTU& operator=(const AliEMCALTriggerSTU& rhs); private: - Int_t fV0M[2]; //! 0/1: V0C/V0A - Int_t fGammaTh; - Int_t fJetTh; + Int_t fGammaTh[2]; // Gamma threshold + Int_t fJetTh[2]; // Jet threshold - AliEMCALTriggerSTUDCSConfig* fDCSConfig; + AliEMCALTriggerSTUDCSConfig *fDCSConfig; // DCS config - ClassDef(AliEMCALTriggerSTU,1) + ClassDef(AliEMCALTriggerSTU, 2) }; #endif