]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - ZDC/AliZDCReco.cxx
Updated ZDC geometry
[u/mrichter/AliRoot.git] / ZDC / AliZDCReco.cxx
index 2296ef40af80a4b23f9d64b90c8c07a8b8f045c9..feb5f0909159c5d006a196eeb1dc87f30d52e1b3 100644 (file)
  * provided "as is" without express or implied warranty.                  *
  **************************************************************************/
 
-/*
-$Log
-*/
+/* $Id$ */
 
 ////////////////////////////////////////////////
 //  RecPoints classes for set ZDC             //
+//  This class reconstructs the space         //
+//  points from digits                        //
+//  for the ZDC calorimeter                   //
 ////////////////////////////////////////////////
 
 
@@ -30,6 +31,9 @@ ClassImp(AliZDCReco)
 AliZDCReco::AliZDCReco(Float_t ezn, Float_t ezp, Float_t ezdc, Float_t ezem,
      Int_t detspn, Int_t detspp, Int_t trspn, Int_t trspp, Int_t trsp, Int_t part, Float_t b)
 { 
+  //
+  // Standard constructor
+  //
   fZNenergy  = ezn;
   fZPenergy  = ezp;
   fZDCenergy = ezdc;
@@ -43,3 +47,15 @@ AliZDCReco::AliZDCReco(Float_t ezn, Float_t ezp, Float_t ezdc, Float_t ezem,
   fImpPar    = b;
   
 }
+
+//______________________________________________________________________________
+void AliZDCReco::Print(Option_t *) const {
+  //
+  // Printing Reconstruction Parameters
+  //
+  printf("     ---   Reconstruction -> EZN = %f TeV, EZP = %f TeV, EZDC = %f TeV,"
+        " EZEM = %f GeV \n             NDetSpecN = %d, NDetSpecP = %d, Nspecn = %d,"
+        " Nspecp = %d, Npart = %d, b = %f fm.\n ", 
+        fZNenergy,fZPenergy,fZDCenergy,fZEMenergy,fNDetSpecN,fNDetSpecP,
+        fNTrueSpecN,fNTrueSpecP,fNPart,fImpPar);
+}