]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - EMCAL/AliEMCALTriggerData.h
Added histograms for LTM monitoring
[u/mrichter/AliRoot.git] / EMCAL / AliEMCALTriggerData.h
index 8f311f5337a01c445cdcb162aaa2f654337847fb..ab33d75a15b4be16097ca0744bf6b6fd290233a2 100644 (file)
@@ -5,7 +5,7 @@
 
 /*
 EMCal trigger data container: can be used independently of the data stream (simulation or raw data)
-for persistency of produced data presently stored in TTreeD
+for transient storage of trigger data
 Author: R. GUERNANE LPSC Grenoble CNRS/IN2P3
 */
 
@@ -30,9 +30,14 @@ public:
        
        virtual void SetPatches(TriggerType_t type, Int_t i, const TClonesArray& patches);
        
-       virtual void SetL1GammaThreshold(Int_t v) {fL1GammaThreshold = v;}
-       virtual void SetL1JetThreshold(  Int_t v) {  fL1JetThreshold = v;}
+       virtual void SetL1GammaThreshold(Int_t  v) {fL1GammaThreshold = v;}
+       virtual void SetL1JetThreshold(  Int_t  v) {  fL1JetThreshold = v;}
+       virtual void SetL1V0(            Int_t* v) {for (int i = 0; i < 2; i++) fL1V0[i] = v[i];}
+       virtual void SetL1FrameMask(     Int_t  v) {     fL1FrameMask = v;}            
+       virtual void SetL1TriggerType(   Int_t* v) {for (int i = 0; i < 8; i++) fL1TriggerType[i] = v[i];}
 
+       virtual void SetL1DataDecoded(   Int_t  v) {   fL1DataDecoded = v;} 
+       
        virtual void          GetL0Trigger(  Int_t i, Int_t j, Int_t& k  ) const {   k = fL0Trigger[i][j];}
        virtual Int_t         GetL0Trigger(  Int_t i, Int_t j            ) const {return fL0Trigger[i][j];}
        
@@ -41,9 +46,14 @@ public:
 
        virtual void          GetL1Region( Int_t i, Int_t arr[][64]             ) const;
        
-       virtual Int_t         GetL1GammaThreshold() const {return fL1GammaThreshold;}
-       virtual Int_t         GetL1JetThreshold()   const {return   fL1JetThreshold;}
-
+       virtual Int_t         GetL1GammaThreshold()           const {return fL1GammaThreshold;}
+       virtual Int_t         GetL1JetThreshold()             const {return   fL1JetThreshold;}
+       virtual void          GetL1V0(            Int_t  v[]) const {for (int i = 0; i < 2; i++) v[i] = fL1V0[i];}
+       virtual Int_t         GetL1FrameMask(               ) const {return fL1FrameMask;}            
+       virtual void          GetL1TriggerType(   Int_t  v[]) const {for (int i = 0; i < 8; i++) v[i] = fL1TriggerType[i];}
+       
+       virtual Int_t         GetL1DataDecoded(             ) const {return fL1DataDecoded;}
+       
        virtual Int_t         GetMode() const {return fMode;}
        
        virtual void          Scan() const;
@@ -54,9 +64,9 @@ private:
     AliEMCALTriggerData(const AliEMCALTriggerData& rhs);            // NOT implemented
        AliEMCALTriggerData& operator=(const AliEMCALTriggerData& rhs); // NOT implemented
        
-       Int_t                      fMode;
+       Int_t                      fMode;          //
        
-       Int_t           fL0Trigger[2][32];
+       Int_t               fL0Trigger[2][32];      //
        
        TClonesArray*       fL0Patches[2];          // array of patches  
        
@@ -70,7 +80,13 @@ private:
        Int_t        fL1GammaThreshold;             //
        Int_t          fL1JetThreshold;             //  
        
-       ClassDef(AliEMCALTriggerData,1)
+       Int_t                    fL1V0[2];          //
+       Int_t             fL1FrameMask;             //
+       Int_t           fL1TriggerType[8];          //
+       
+       Int_t           fL1DataDecoded;
+       
+       ClassDef(AliEMCALTriggerData,2)
 };
 
 #endif