Removing warnings (Sun)
authorhristov <hristov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 18 May 2004 12:23:09 +0000 (12:23 +0000)
committerhristov <hristov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 18 May 2004 12:23:09 +0000 (12:23 +0000)
STEER/AliESDVertex.cxx
STEER/AliESDVertex.h

index 25c9939..accc3b1 100644 (file)
@@ -41,7 +41,7 @@ AliESDVertex::AliESDVertex() {
 }
 //--------------------------------------------------------------------------
 AliESDVertex::AliESDVertex(Double_t positionZ,Double_t sigmaZ,
-                          Int_t nContributors,Char_t *vtxName) {
+                          Int_t nContributors,const Char_t *vtxName) {
   //
   // Constructor for vertex Z from pixels
   //
@@ -56,7 +56,7 @@ AliESDVertex::AliESDVertex(Double_t positionZ,Double_t sigmaZ,
 }
 //------------------------------------------------------------------------- 
 AliESDVertex::AliESDVertex(Double_t position[3],Double_t covmatrix[6],
-                          Double_t chi2,Int_t nContributors,Char_t *vtxName) {
+                          Double_t chi2,Int_t nContributors, const Char_t *vtxName) {
 //
 // Constructor for vertex in 3D from tracks
 //
@@ -81,7 +81,7 @@ AliESDVertex::AliESDVertex(Double_t position[3],Double_t covmatrix[6],
 }
 //--------------------------------------------------------------------------
 AliESDVertex::AliESDVertex(Double_t position[3],Double_t sigma[3],
-                          Char_t *vtxName) {
+                          const Char_t *vtxName) {
 //
 // Constructor for smearing of true position
 //
@@ -103,7 +103,7 @@ AliESDVertex::AliESDVertex(Double_t position[3],Double_t sigma[3],
 }
 //--------------------------------------------------------------------------
 AliESDVertex::AliESDVertex(Double_t position[3],Double_t sigma[3],
-                          Double_t snr[3],Char_t *vtxName) {
+                          Double_t snr[3], const Char_t *vtxName) {
   //
   // Constructor for Pb-Pb
   //
index be4dfbd..51dce9b 100644 (file)
@@ -35,14 +35,14 @@ class AliESDVertex : public TNamed {
  
   AliESDVertex();
   AliESDVertex(Double_t positionZ,Double_t sigmaZ,Int_t nContributors,
-              Char_t *vtxName="Vertex");
+              const Char_t *vtxName="Vertex");
   AliESDVertex(Double_t position[3],Double_t covmatrix[6],
               Double_t chi2,Int_t nContributors,
-              Char_t *vtxName="Vertex");
+              const Char_t *vtxName="Vertex");
   AliESDVertex(Double_t position[3],Double_t sigma[3],
-              Char_t *vtxName="Vertex");
+              const Char_t *vtxName="Vertex");
   AliESDVertex(Double_t position[3],Double_t sigma[3],Double_t snr[3],
-              Char_t *vtxName="Vertex");
+              const Char_t *vtxName="Vertex");
 
   virtual ~AliESDVertex();