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 359c8f9 commit b6a67b8Copy full SHA for b6a67b8
1 file changed
MC/config/common/external/generator/CoalescencePythia8.h
@@ -107,6 +107,7 @@ bool doCoal(Pythia8::Event& event, int charge, int pdgCode, float mass, bool tri
107
bool CoalescencePythia8(Pythia8::Event& event, std::vector<unsigned int> inputPdgList = {}, bool trivialCoal = false, double coalMomentum = 0.4, int firstDauID = -1, int lastDauId = -1, float maxRapidity = 1.)
108
{
109
const double coalescenceRadius{0.5 * 1.122462 * coalMomentum};
110
+
111
// if coalescence from a heavy hadron, loop only between firstDauID and lastDauID
112
int loopStart = firstDauID > -1 ? firstDauID : 0;
113
int loopEnd = lastDauId > -1 ? lastDauId : event.size() - 1;
0 commit comments