ZDC information added
authortkuhr <tkuhr@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 26 Aug 2004 12:38:41 +0000 (12:38 +0000)
committertkuhr <tkuhr@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 26 Aug 2004 12:38:41 +0000 (12:38 +0000)
STEER/AliESD.cxx
STEER/AliESD.h

index a08c3f51b35e30dfaef3c2f79935641981a541fc..df40ac80b520295e9621a72bb28c0e96313b744e 100644 (file)
@@ -33,6 +33,10 @@ AliESD::AliESD():
   fTrigger(0),
   fRecoVersion(0),
   fMagneticField(0),
+  fZDCNEnergy(0),
+  fZDCPEnergy(0),
+  fZDCEMEnergy(0),
+  fZDCParticipants(0),
   fT0zVertex(0),
   fPrimaryVertex(),
   fTracks("AliESDtrack",15000),
index 8cdd50ac705ad879f45e707fe39a5c8ef2b7351d..e25148e132714ab5d3632f9615e7f1206566a055 100644 (file)
@@ -108,6 +108,15 @@ public:
   Float_t GetT0zVertex() const {return fT0zVertex;}
   void SetT0zVertex(Float_t z) {fT0zVertex=z;}
 
+  Float_t GetZDCNEnergy() const {return fZDCNEnergy;}
+  Float_t GetZDCPEnergy() const {return fZDCPEnergy;}
+  Float_t GetZDCEMEnergy() const {return fZDCEMEnergy;}
+  Int_t   GetZDCParticipants() const {return fZDCParticipants;}
+  void    SetZDC(Float_t nEnergy, Float_t pEnergy, Float_t emEnergy,
+                 Int_t participants) 
+   {fZDCNEnergy=nEnergy; fZDCPEnergy=pEnergy; fZDCEMEnergy=emEnergy;
+    fZDCParticipants=participants;}
+
   void  Print(Option_t *option="") const;
    
 protected:
@@ -119,6 +128,11 @@ protected:
   Int_t        fRecoVersion;     // Version of reconstruction 
   Float_t      fMagneticField;   // Solenoid Magnetic Field in kG : for compatibility with AliMagF
 
+  Float_t      fZDCNEnergy;      // reconstructed energy in the neutron ZDC
+  Float_t      fZDCPEnergy;      // reconstructed energy in the proton ZDC
+  Float_t      fZDCEMEnergy;     // reconstructed energy in the electromagnetic ZDC
+  Int_t        fZDCParticipants; // number of participants estimated by the ZDC
+
   Float_t      fT0zVertex;       // vertex z position estimated by the START
   AliESDVertex fPrimaryVertex;   // Primary vertex estimated by the ITS
 
@@ -134,7 +148,7 @@ protected:
   Int_t        fFirstPHOSParticle; // First PHOS particle in the fTracks list 
   Int_t        fFirstEMCALParticle;// First EMCAL particle in the fTracks list 
  
-  ClassDef(AliESD,7)  //ESD class 
+  ClassDef(AliESD,8)  //ESD class 
 };
 #endif