]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - ZDC/AliZDCReco.h
New parameterization of the dE/dx in the ITS standalone tracks (Leonardo)
[u/mrichter/AliRoot.git] / ZDC / AliZDCReco.h
index dae0cbdd1c48e916efcd54027e124f0da8e0794f..ee79fca064083b543b9d98a9a3c0c229fcceeca1 100644 (file)
@@ -22,9 +22,11 @@ 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 energyFlag, Bool_t scalerOn, 
+            UInt_t* scaler, Int_t tdcData[32][4]);
 
   AliZDCReco(const AliZDCReco &oldreco);
+  AliZDCReco& operator= (const AliZDCReco &reco);
   virtual ~AliZDCReco() {}
 
   // Getters 
@@ -77,6 +79,12 @@ 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  GetEnergyFlag()    const {return fEnergyFlag;}
+  virtual Bool_t  IsScalerOn()          const {return fIsScalerOn;}
+  virtual UInt_t  GetZDCScaler(Int_t k) const {return fZDCScaler[k];}
+  //
+  virtual Int_t   GetZDCTDCData(Int_t j, Int_t k) const {return fZDCTDCData[j][k];}
 
   // Print method
   virtual void Print(Option_t *) const;
@@ -114,8 +122,13 @@ private:
   Float_t fImpParSideC;           // Estimate of the impact parameter side B
   //
   UInt_t  fRecoFlag;       // Reconstruction flag
+  Bool_t  fEnergyFlag;     // Is the reco value in energy?
+  Bool_t  fIsScalerOn;     // True if scaler has been read in the event
+  UInt_t  fZDCScaler[32];  // Counts from ZDC VME scaler
+  //
+  Int_t fZDCTDCData[32][4];      // TDC data raw
 
-  ClassDef(AliZDCReco,7)  // RecPoints for the Zero Degree Calorimeters
+  ClassDef(AliZDCReco,14)  // RecPoints for the Zero Degree Calorimeters
 };
  
 #endif