]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - ZDC/AliZDCReco.h
Adding TOFFEE in ShuttleInput
[u/mrichter/AliRoot.git] / ZDC / AliZDCReco.h
index a8fd8b250d5550df74a76b943395a9d33e22e5b0..0951f749c1822ad64ea8a8fe29fae29df630e4d1 100644 (file)
@@ -13,32 +13,48 @@ class AliZDCReco : public TObject {
 
 public:
   AliZDCReco();
-  AliZDCReco(Float_t ezn1, Float_t ezp1, Float_t ezn2, Float_t ezp2,  
-            Float_t* ezn1tow, Float_t* ezp1tow,
-            Float_t* ezn2tow, Float_t* ezp2tow, 
-            Float_t ezem, 
+  AliZDCReco(Float_t* ezn1, Float_t* ezp1, Float_t* ezn2, Float_t* ezp2,  
+            Float_t* ezn1tow, Float_t* ezp1tow, Float_t* ezn2tow, Float_t* ezp2tow, 
+            Float_t* ezem1, Float_t* ezem2, Float_t* ref1, Float_t* ref2, 
             //    
             Int_t detspnLeft,  Int_t detsppLeft, Int_t detspnRight, Int_t detsppRight,  
             Int_t trspnLeft, Int_t trsppLeft, Int_t trspLeft, 
             Int_t trspnRight, Int_t trsppRight, Int_t trspRight,
-            Int_t partLeft, Int_t partRight,  
-            Float_t b);
+            Int_t partLeft, Int_t partRight, Float_t b);
 
   AliZDCReco(const AliZDCReco &oldreco);
   virtual ~AliZDCReco() {}
 
   // Getters 
-  virtual Float_t GetZN1Energy()   const  {return fZN1Energy;}
-  virtual Float_t GetZP1Energy()   const  {return fZP1Energy;}
-  virtual Float_t GetZN2Energy()   const  {return fZN2Energy;}
-  virtual Float_t GetZP2Energy()   const  {return fZP2Energy;}
+  virtual Float_t GetZN1HREnergy()   const  {return fZN1Energy[0];}
+  virtual Float_t GetZP1HREnergy()   const  {return fZP1Energy[0];}
+  virtual Float_t GetZN2HREnergy()   const  {return fZN2Energy[0];}
+  virtual Float_t GetZP2HREnergy()   const  {return fZP2Energy[0];}
   //
-  virtual Float_t GetZN1EnTow(Int_t tow)  const {return fZN1EnTow[tow];}
-  virtual Float_t GetZP1EnTow(Int_t tow)  const {return fZP1EnTow[tow];}
-  virtual Float_t GetZN2EnTow(Int_t tow)  const {return fZN2EnTow[tow];}
-  virtual Float_t GetZP2EnTow(Int_t tow)  const {return fZP2EnTow[tow];}
+  virtual Float_t GetZN1LREnergy()   const  {return fZN1Energy[1];}
+  virtual Float_t GetZP1LREnergy()   const  {return fZP1Energy[1];}
+  virtual Float_t GetZN2LREnergy()   const  {return fZN2Energy[1];}
+  virtual Float_t GetZP2LREnergy()   const  {return fZP2Energy[1];}
   //
-  virtual Float_t GetZEMsignal()   const  {return fZEMsignal;}
+  virtual Float_t GetZN1HREnTow(Int_t tow)  const {return fZN1EnTow[tow];}
+  virtual Float_t GetZP1HREnTow(Int_t tow)  const {return fZP1EnTow[tow];}
+  virtual Float_t GetZN2HREnTow(Int_t tow)  const {return fZN2EnTow[tow];}
+  virtual Float_t GetZP2HREnTow(Int_t tow)  const {return fZP2EnTow[tow];}
+  //
+  virtual Float_t GetZN1LREnTow(Int_t tow)  const {return fZN1EnTow[tow+5];}
+  virtual Float_t GetZP1LREnTow(Int_t tow)  const {return fZP1EnTow[tow+5];}
+  virtual Float_t GetZN2LREnTow(Int_t tow)  const {return fZN2EnTow[tow+5];}
+  virtual Float_t GetZP2LREnTow(Int_t tow)  const {return fZP2EnTow[tow+5];}
+  //
+  virtual Float_t GetZEM1HRsignal()   const  {return fZEM1signal[0];}
+  virtual Float_t GetZEM1LRsignal()   const  {return fZEM1signal[1];}
+  virtual Float_t GetZEM2HRsignal()   const  {return fZEM2signal[0];}
+  virtual Float_t GetZEM2LRsignal()   const  {return fZEM2signal[1];}
+  //
+  virtual Float_t GetPMRef1HRsignal()   const  {return fZEM1signal[0];}
+  virtual Float_t GetPMRef1LRsignal()   const  {return fZEM1signal[1];}
+  virtual Float_t GetPMRef2HRsignal()   const  {return fZEM2signal[0];}
+  virtual Float_t GetPMRef2LRsignal()   const  {return fZEM2signal[1];}
   //
   virtual Int_t   GetNDetSpecNLeft()   const {return fNDetSpecNLeft;}
   virtual Int_t   GetNDetSpecPLeft()   const {return fNDetSpecPLeft;}
@@ -59,17 +75,21 @@ public:
 
 private:
   // Data members
-  Float_t fZN1Energy;  // Energy detected in ZN1 (sum of 5 tower signals)
-  Float_t fZP1Energy;  // Energy detected in ZP1 (sum of 5 tower signals)
-  Float_t fZN2Energy;  // Energy detected in ZN2 (sum of 5 tower signals)
-  Float_t fZP2Energy;  // Energy detected in ZP2 (sum of 5 tower signals)
+  Float_t fZN1Energy[2];        // Energy detected in ZN1 (sum of 5 tower signals)
+  Float_t fZP1Energy[2];        // Energy detected in ZP1 (sum of 5 tower signals)
+  Float_t fZN2Energy[2];        // Energy detected in ZN2 (sum of 5 tower signals)
+  Float_t fZP2Energy[2];        // Energy detected in ZP2 (sum of 5 tower signals)
+  //
+  Float_t fZN1EnTow[10]; // Energy in ZN1 towers
+  Float_t fZP1EnTow[10]; // Energy in ZP1 towers
+  Float_t fZN2EnTow[10]; // Energy in ZN2 towers
+  Float_t fZP2EnTow[10]; // Energy in ZP2 towers
   //
-  Float_t fZN1EnTow[5];        // Energy in ZN1 towers
-  Float_t fZP1EnTow[5]; // Energy in ZP1 towers
-  Float_t fZN2EnTow[5];        // Energy in ZN2 towers
-  Float_t fZP2EnTow[5]; // Energy in ZP2 towers
+  Float_t fZEM1signal[2];// Signal in EM1 ZDC
+  Float_t fZEM2signal[2];// Signal in EM2 ZDC
   //
-  Float_t fZEMsignal;  // Signal in EM ZDC
+  Float_t fPMRef1[2];   // Reference PM side C
+  Float_t fPMRef2[2];   // Reference PM side A
   //
   Int_t          fNDetSpecNLeft;  // Number of spectator neutrons detected
   Int_t          fNDetSpecPLeft;  // Number of spectator protons detected
@@ -86,7 +106,7 @@ private:
   Float_t fImpPar;     // Estimate of the impact parameter
 
 
-  ClassDef(AliZDCReco,2)  // RecPoints for the Zero Degree Calorimeters
+  ClassDef(AliZDCReco,5)  // RecPoints for the Zero Degree Calorimeters
 };
  
 #endif