We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 47ff46d commit 79a0671Copy full SHA for 79a0671
MC/config/PWGLF/pythia8/generator_pythia8_LF.C
@@ -161,14 +161,7 @@ class GeneratorPythia8LF : public o2::eventgen::GeneratorPythia8
161
LOG(info) << "Using config container ";
162
cfg.print();
163
if (mUseTriggering) { // Do the triggering
164
- bool doSignal = true; // Do signal or gap
165
- if (mGapBetweenInjection > 0) {
166
- if (mGapBetweenInjection == 1 && mEventCounter % 2 == 0) {
167
- doSignal = false;
168
- } else if (mEventCounter % (mGapBetweenInjection + 1) != 0) {
169
170
- }
171
+ bool doSignal{mEventCounter % (mGapBetweenInjection + 1) == 0}; // Do signal or gap
172
173
if (doSignal) {
174
LOG(info) << "Generating triggered signal event for particle";
0 commit comments