message: OVERRIDE_BKG_PATH_RECORD env.var allows overriding of embedding bkg record in galice.root
diff: @@ -2795,8 +2795,18 @@ void AliSimulation::StoreUsedCDBMapsAndEmbPaths() const
  // store embedding info
  if (fBkgrdFileNames) {
  + TString str(gSystem->Getenv("OVERRIDE_BKG_PATH_RECORD"));
  + if (!str.IsNull()) {
  + TObjArray arrTmp;
  + arrTmp.AddLast( new TObjString(str.Data()) );
  + arrTmp.SetOwner(kTRUE);
  + AliInfoF("Overriding background path to: %s",str.Data());
  + gDirectory->WriteObject(&arrTmp,AliStack::GetEmbeddingBKGPathsKey(),"kSingleKey");
  + }
  + else {
  gDirectory->WriteObject(fBkgrdFileNames,AliStack::GetEmbeddingBKGPathsKey(),"kSingleKey");
  }
  + }
  delete runLoader;
  //
  