Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions MC/config/PWGEM/external/generator/GeneratorEMCocktailV2.C
Original file line number Diff line number Diff line change
Expand Up @@ -435,11 +435,11 @@ GenerateEMCocktail(Int_t collisionsSystem = GeneratorParamEMlibV2::kpp7TeV,
Double_t yGenRange = 0.1, TString useLMeeDecaytable = "",
Int_t weightingMode = 1) {

TString O2DPG_ROOT = TString(getenv("O2DPG_ROOT"));
paramFile=paramFile.ReplaceAll("$O2DPG_ROOT",O2DPG_ROOT);
paramFile=paramFile.ReplaceAll("${O2DPG_ROOT}",O2DPG_ROOT);
useLMeeDecaytable=useLMeeDecaytable.ReplaceAll("$O2DPG_ROOT",O2DPG_ROOT);
useLMeeDecaytable=useLMeeDecaytable.ReplaceAll("${O2DPG_ROOT}",O2DPG_ROOT);
TString O2DPG_MC_CONFIG_ROOT = TString(getenv("O2DPG_MC_CONFIG_ROOT"));
paramFile=paramFile.ReplaceAll("$O2DPG_MC_CONFIG_ROOT",O2DPG_MC_CONFIG_ROOT);
paramFile=paramFile.ReplaceAll("${O2DPG_MC_CONFIG_ROOT}",O2DPG_MC_CONFIG_ROOT);
useLMeeDecaytable=useLMeeDecaytable.ReplaceAll("$O2DPG_MC_CONFIG_ROOT",O2DPG_MC_CONFIG_ROOT);
useLMeeDecaytable=useLMeeDecaytable.ReplaceAll("${O2DPG_MC_CONFIG_ROOT}",O2DPG_MC_CONFIG_ROOT);
if (paramFile.BeginsWith("alien://")){
TGrid::Connect("alien://");
}
Expand Down