Skip to content

Commit e850411

Browse files
committed
fix bug
1 parent d7a7eb5 commit e850411

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

MC/config/PWGDQ/external/generator/GeneratorCocktailStarlight_PbPb5TeV.C

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ o2::eventgen::GeneratorEvtGen* makeStarlightToEvtGenGenerator(std::string config
4040
TString pathO2 = gSystem->ExpandPathName("$O2DPG_MC_CONFIG_ROOT/MC/config/PWGUD/external/generator/DecayTablesEvtGen");
4141
if (configuration.find("Psi2sToMuPi") != std::string::npos) generator->SetDecayTable(Form("%s/PSI2S.MUMUPIPI.DEC",pathO2.Data()));
4242
else if (configuration.find("Psi2sToElPi") != std::string::npos) generator->SetDecayTable(Form("%s/PSI2S.EEPIPI.DEC",pathO2.Data()));
43-
else if (configuration.find("JpsiToElRad") != std::string::npos) gen->SetDecayTable(Form("%s/JPSI.EE.DEC",pathO2.Data()));
43+
else if (configuration.find("JpsiToElRad") != std::string::npos) generator->SetDecayTable(Form("%s/JPSI.EE.DEC",pathO2.Data()));
4444
return generator;
4545
}
4646
} // namespace

0 commit comments

Comments
 (0)