Skip to content

Commit 747e8ce

Browse files
noferiniktf
authored andcommitted
bug fix in interaction sampler for event time jitter (#1601)
1 parent ed03b93 commit 747e8ce

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Steer/src/InteractionSampler.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ int InteractionSampler::simulateInteractingBC()
107107
for (int i = ncoll; i--;) {
108108
double tInBC = 0; // tInBC should be in the vicinity of the BC
109109
do {
110-
tInBC = gRandom->Gaus(mBCTimeRMS);
110+
tInBC = gRandom->Gaus(0.,mBCTimeRMS);
111111
} while (std::abs(tInBC) > o2::constants::lhc::LHCBunchSpacingNS / 2.1);
112112
mTimeInBC.push_back(tInBC);
113113
}

0 commit comments

Comments
 (0)