]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - STEER/AliESDv0.cxx
Structural changes in the getters of momentum and position in the global reference...
[u/mrichter/AliRoot.git] / STEER / AliESDv0.cxx
index 67e0ea36468d56db2c24f077836f3ed4a38f8ff9..5bd9aed281bdac1180193599b145e96153b47402 100644 (file)
  * provided "as is" without express or implied warranty.                  *
  **************************************************************************/
 
+/* $Id$ */
+
 //-------------------------------------------------------------------------
 //               Implementation of the ESD V0 vertex class
-//
+//            This class is part of the Event Data Summary
+//            set of classes and contains information about
+//            V0 kind vertexes generated by a neutral particle
 //     Origin: Iouri Belikov, IReS, Strasbourg, Jouri.Belikov@cern.ch
 //-------------------------------------------------------------------------
+
 #include <Riostream.h>
 #include <TMath.h>
 #include <TPDGCode.h>
 
+#include "AliLog.h"
 #include "AliESDv0.h"
 
 ClassImp(AliESDv0)
@@ -54,8 +60,7 @@ Double_t AliESDv0::ChangeMassHypothesis(Int_t code) {
   case kK0Short: 
     break;
   default:
-    cerr<<"AliV0vertex::ChangeMassHypothesis: ";
-    cerr<<"invalide PDG code ! Assuming K0s...\n";
+    AliError("invalide PDG code ! Assuming K0s...");
     fPdgCode=kK0Short;
     break;
   }