Skip to content

Commit b284ac3

Browse files
author
Ionut Cristian Arsene
committed
switch off the jpsi decays
1 parent 552d68f commit b284ac3

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

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

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,12 +144,14 @@ FairGenerator*
144144
gen->addHadronPDGs(443);
145145
gen->setVerbose(verbose);
146146

147-
TString pathO2table = gSystem->ExpandPathName("${O2DPG_MC_CONFIG_ROOT}/MC/config/PWGDQ/pythia8/decayer/switchOffBhadrons.cfg");
147+
TString pathO2table = gSystem->ExpandPathName("${O2DPG_MC_CONFIG_ROOT}/MC/config/PWGDQ/pythia8/decayer/switchOffJpsi.cfg");
148148
gen->readFile(pathO2table.Data());
149149
gen->setConfigMBdecays(pathO2table);
150+
gen->PrintDebug(true);
150151

151152
gen->SetSizePdg(1);
152153
gen->AddPdg(443, 0);
154+
153155
gen->SetForceDecay(kEvtDiElectron);
154156

155157
// set random seed
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
#switch off jpsi decays
2+
3+
443:mayDecay off # J/psi

0 commit comments

Comments
 (0)