]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - GRP/UpdateCDBVertexDiamond.C
New start time: Fri, 20 Jun 2014 12:03:00 (GMT)
[u/mrichter/AliRoot.git] / GRP / UpdateCDBVertexDiamond.C
index 8d2559e9ac37f0aed0bc2fe55ca860ce67f3da7f..c34acd0ef7b930cbb761ff7a9f65d1c3e5c22cd3 100644 (file)
@@ -40,17 +40,17 @@ void UpdateCDBVertexDiamond(const char* objName, Double_t xmed, Double_t ymed, D
 
   // Get root and AliRoot versions
   const char* rootv = gROOT->GetVersion();
-  TString av(ALIROOT_SVN_BRANCH);
-  Int_t revnum = ALIROOT_SVN_REVISION;
+  TString av(ALIROOT_BRANCH);
+  TString revnum(ALIROOT_REVISION);
 
   metadata->SetResponsible("prino@to.infn.it");
   metadata->SetComment("Default mean vertex position");
   metadata->SetAliRootVersion(av.Data());
-  metadata->SetComment(Form("Default mean vertex produced with root version %s and AliRoot %s, revision number %d",rootv,av.Data(),revnum));
+  metadata->SetComment(Form("Default mean vertex produced with root version %s and AliRoot %s, revision number %s",rootv,av.Data(),revnum));
   
 
   Printf(Form("Storing in CDB the default mean vertex produced with root version %s and"
-                         "AliRoot version %s, revision number %d", rootv, av.Data(), revnum));
+                         "AliRoot version %s, revision number %s", rootv, av.Data(), revnum));
 
   Double_t sigma[3],position[3];
   position[0]=xmed;
@@ -82,17 +82,17 @@ void UpdateCDBVertexDiamondOld(Double_t xmed = 0., Double_t ymed = 0., Double_t
 
   // Get root and AliRoot versions
   const char* rootv = gROOT->GetVersion();
-  TString av(ALIROOT_SVN_BRANCH);
-  Int_t revnum = ALIROOT_SVN_REVISION;
+  TString av(ALIROOT_BRANCH);
+  TString revnum(ALIROOT_REVISION);
 
   metadata->SetResponsible("prino@to.infn.it");
   metadata->SetComment("Default mean vertex position");
   metadata->SetAliRootVersion(av.Data());
-  metadata->SetComment(Form("Default mean vertex produced with root version %s and AliRoot %s, revision number %d",rootv,av.Data(),revnum));
+  metadata->SetComment(Form("Default mean vertex produced with root version %s and AliRoot %s, revision number %s",rootv,av.Data(),revnum));
   
 
   Printf(Form("Storing in CDB the default mean vertex produced with root version %s and"
-                         "AliRoot version %s, revision number %d", rootv, av.Data(), revnum));
+                         "AliRoot version %s, revision number %s", rootv, av.Data(), revnum));
 
   Double_t resolx=5./10000.; // this is error on the weighted mean (5 micron) 
   Double_t resoly=5./10000.; // this is error on the weighted mean (5 micron)