// pCA->Print();
- if(!gSystem->Getenv("$TOCDB")){
+ if( gSystem->Getenv("TOCDB") != TString("kTRUE") ){
// save on file
TFile f("HMPIDzeroMisalignment.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 *pMeta= new AliCDBMetaData();
pMeta->SetResponsible("HMPID Expert");
pMeta->SetComment("Zero alignment objects for HMPID");
- pMeta->SetAliRootVersion(gSystem->Getenv("$ARVERSION"));
+ pMeta->SetAliRootVersion(gSystem->Getenv("ARVERSION"));
AliCDBId id("HMPID/Align/Data",0,9999999);
storage->Put(pCA,id,pMeta);
}