We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ed03b93 commit 747e8ceCopy full SHA for 747e8ce
Steer/src/InteractionSampler.cxx
@@ -107,7 +107,7 @@ int InteractionSampler::simulateInteractingBC()
107
for (int i = ncoll; i--;) {
108
double tInBC = 0; // tInBC should be in the vicinity of the BC
109
do {
110
- tInBC = gRandom->Gaus(mBCTimeRMS);
+ tInBC = gRandom->Gaus(0.,mBCTimeRMS);
111
} while (std::abs(tInBC) > o2::constants::lhc::LHCBunchSpacingNS / 2.1);
112
mTimeInBC.push_back(tInBC);
113
}
0 commit comments