]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - EMCAL/AliEMCALTriggerSTU.h
New online gain tables
[u/mrichter/AliRoot.git] / EMCAL / AliEMCALTriggerSTU.h
index a839ca5ba429f029c0ae1fc0d44d559c5da787cd..7c43722627b84f478f9ad3470514ac73d5f422e4 100644 (file)
@@ -22,27 +22,32 @@ 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  Build(TString& str, Int_t i, Int_t** Map, const TVector2* rSize);
+       virtual void  PrintADC(TriggerType_t type, TVector2& pos, TVector2& idx);
+       virtual void  L1(TriggerType_t type);
        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  ComputeThFromV0(TriggerType_t type, const Int_t M[]);
+       
+       virtual void  SetThreshold(TriggerType_t type, Int_t v);
+       
+       virtual Int_t GetThreshold(TriggerType_t 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; // Gamma threshold
+                 Int_t   fJetTh;   // Jet threshold
        
-       AliEMCALTriggerSTUDCSConfig* fDCSConfig;
+       AliEMCALTriggerSTUDCSConfig* fDCSConfig; // DCS config
 
        ClassDef(AliEMCALTriggerSTU,1)
 };