]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - EMCAL/AliEMCALTriggerSTU.h
Charged jets (pPb): Updated deltaPt calculation
[u/mrichter/AliRoot.git] / EMCAL / AliEMCALTriggerSTU.h
index a2d2e15f6cf32034db8b21c07edfcbef6bc020e6..c8a2b2a8a31507b3f4dcaf1ecbd68ae9331ddd63 100644 (file)
@@ -9,6 +9,7 @@
 Author: R. GUERNANE LPSC Grenoble CNRS/IN2P3
 */
 
+#include <AliEMCALTriggerTypes.h>
 #include <AliEMCALTriggerBoard.h>
 
 class TTree;
@@ -23,19 +24,17 @@ public:
        virtual      ~AliEMCALTriggerSTU();
        
        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 void  L1(int type);
        
-       virtual void  ComputeThFromV0(const Int_t M[]);
+       virtual void  ComputeThFromV0(int type, const Int_t M[]);
        
-       virtual void  SetThreshold(TriggerType_t type, Int_t v);
-       
-       virtual Int_t GetThreshold(TriggerType_t type);
-       virtual Int_t GetRawData() const;
+       virtual void  SetThreshold(int type, Int_t v);
+       virtual Int_t GetThreshold(int type);
 
        virtual void  Reset();
        
+       virtual AliEMCALTriggerSTUDCSConfig* GetDCSConfig() const {return fDCSConfig;}
+
 protected:
        
                                  AliEMCALTriggerSTU(const AliEMCALTriggerSTU& rhs);
@@ -43,12 +42,12 @@ protected:
 
 private:
        
-                 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