}
}
- if(!gSystem->Getenv("$TOCDB")){
+ if( gSystem->Getenv("TOCDB") != TString("kTRUE") ){
// save on file
TFile f("ITSfullMisalignment.root","RECREATE");
if(!f) {cerr<<"cannot open file for output\n";}
f.Close();
}else{
// save in CDB storage
- const char* Storage = gSystem->Getenv("$STORAGE");
+ const char* Storage = gSystem->Getenv("STORAGE");
AliCDBManager *CDB = AliCDBManager::Instance();
AliCDBStorage* storage = CDB->GetStorage(Storage);
AliCDBMetaData *md= new AliCDBMetaData();
md->SetResponsible("Ludovic Gaudichet");
md->SetComment("Alignment objects with actual ITS misalignment");
- md->SetAliRootVersion(gSystem->Getenv("$ARVERSION"));
+ md->SetAliRootVersion(gSystem->Getenv("ARVERSION"));
AliCDBId id("ITS/Align/Data",0,9999999);
storage->Put(array,id, md);
}