]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - FMD/MakeFMDZeroMisAlignment.C
Updated alignment macros and related changes (Raffaele)
[u/mrichter/AliRoot.git] / FMD / MakeFMDZeroMisAlignment.C
index 7ef9a67b4eec51983f5c70ffafc5d751a94fc8ef..b3048eddc64d01d3e722b8356373614238473969 100644 (file)
@@ -11,7 +11,7 @@ void MakeFMDZeroMisAlignment()
   
   TString Storage;
   
-  if( gSystem->Getenv("TOCDB") == TString("kTRUE") ){
+  if( TString(gSystem->Getenv("TOCDB")) == TString("kTRUE") ){
     Storage = gSystem->Getenv("STORAGE");
     if(!Storage.BeginsWith("local://") && !Storage.BeginsWith("alien://")) {
       Error(macroname,"STORAGE variable set to %s is not valid. Exiting\n",Storage.Data());
@@ -33,7 +33,7 @@ void MakeFMDZeroMisAlignment()
   }    
   
   gSystem->Load("libFMDutil.so");
-  if( gSystem->Getenv("TOCDB") != TString("kTRUE") ){
+  if( TString(gSystem->Getenv("TOCDB")) != TString("kTRUE") ){
     // save on file
     AliFMDAlignFaker faker(AliFMDAlignFaker::kAll, "geometry.root","FMDAlignObjs.root");
   }else{