]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - ZDC/AliZDCReco.h
Following changes in STEER/AliESDZDC class
[u/mrichter/AliRoot.git] / ZDC / AliZDCReco.h
index dae0cbdd1c48e916efcd54027e124f0da8e0794f..db0957bc74a391c8748be63c30cf431fc78c6410 100644 (file)
@@ -22,7 +22,7 @@ public:
             Int_t trsp, Int_t trspSideA, Int_t trspSideC,
             Int_t npart, Int_t npartSideA, Int_t npartSideC, 
             Float_t b, Float_t bSideA, Float_t bSideC,
-            UInt_t recoFlag);
+            UInt_t recoFlag, Bool_t scalerOn, UInt_t* scaler);
 
   AliZDCReco(const AliZDCReco &oldreco);
   virtual ~AliZDCReco() {}
@@ -77,6 +77,9 @@ public:
   virtual UInt_t  GetChOnFlag()      const {return (fRecoFlag & 0x00000100);}
   virtual UInt_t  GetChOvflwFlag()   const {return (fRecoFlag & 0x00000200);}
   virtual UInt_t  GetChUndflwFlag()  const {return (fRecoFlag & 0x00000400);}
+  //
+  virtual Bool_t  IsScalerOn()          const {return fIsScalerOn;}
+  virtual UInt_t  GetZDCScaler(Int_t k) const {return fZDCScaler[k];}
 
   // Print method
   virtual void Print(Option_t *) const;
@@ -114,8 +117,10 @@ private:
   Float_t fImpParSideC;           // Estimate of the impact parameter side B
   //
   UInt_t  fRecoFlag;       // Reconstruction flag
+  Bool_t  fIsScalerOn;     // True if scaler has been read in the event
+  UInt_t  fZDCScaler[32];  // Counts from ZDC VME scaler
 
-  ClassDef(AliZDCReco,7)  // RecPoints for the Zero Degree Calorimeters
+  ClassDef(AliZDCReco,8)  // RecPoints for the Zero Degree Calorimeters
 };
  
 #endif