Skip to content

Commit 594b3fe

Browse files
committed
update code
1 parent ba03d1a commit 594b3fe

1 file changed

Lines changed: 12 additions & 8 deletions

File tree

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

Lines changed: 12 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -26,19 +26,23 @@ o2::eventgen::GeneratorStarlight_class* makeStarlightGenerator(std::string confi
2626
void configureEvtGen(o2::eventgen::GeneratorEvtGen<GeneratorCocktail>* generator, bool midrapidity)
2727
{
2828
generator->SetPolarization(1); // Transverse
29+
generator->SetSizePdg(2);
30+
generator->AddPdg(443, 0);
31+
generator->AddPdg(100443, 1);
32+
TString pathO2 = gSystem->ExpandPathName("$O2DPG_MC_CONFIG_ROOT/MC/config/PWGDQ/EvtGen/DecayTablesEvtgen");
2933
if (midrapidity) {
30-
generator->SetSizePdg(2);
31-
generator->AddPdg(443, 0);
32-
generator->AddPdg(100443, 1);
33-
TString pathO2 = gSystem->ExpandPathName("$O2DPG_MC_CONFIG_ROOT/MC/config/PWGDQ/EvtGen/DecayTablesEvtgen");
34+
// generator->SetSizePdg(2);
35+
// generator->AddPdg(443, 0);
36+
// generator->AddPdg(100443, 1);
37+
// TString pathO2 = gSystem->ExpandPathName("$O2DPG_MC_CONFIG_ROOT/MC/config/PWGDQ/EvtGen/DecayTablesEvtgen");
3438
generator->SetDecayTable(Form("%s/PSITOJPSIPIPI.DEC", pathO2.Data()));
3539
} else {
3640
// generator->SetSizePdg(1);
3741
// generator->AddPdg(100443, 0);
38-
generator->SetSizePdg(2);
39-
generator->AddPdg(443, 0);
40-
generator->AddPdg(100443, 1);
41-
TString pathO2 = gSystem->ExpandPathName("$O2DPG_MC_CONFIG_ROOT/MC/config/PWGDQ/EvtGen/DecayTablesEvtgen");
42+
// generator->SetSizePdg(2);
43+
// generator->AddPdg(443, 0);
44+
// generator->AddPdg(100443, 1);
45+
// TString pathO2 = gSystem->ExpandPathName("$O2DPG_MC_CONFIG_ROOT/MC/config/PWGDQ/EvtGen/DecayTablesEvtgen");
4246
generator->SetDecayTable(Form("%s/PSITOJPSITOMU.DEC", pathO2.Data()));
4347
// TString pathO2 = gSystem->ExpandPathName("$O2DPG_MC_CONFIG_ROOT/MC/config/PWGUD/external/generator/DecayTablesEvtGen");
4448
// generator->SetDecayTable(Form("%s/PSI2S.MUMUPIPI.DEC", pathO2.Data()));

0 commit comments

Comments
 (0)