Skip to content

Commit 2b251ed

Browse files
committed
fixed comments
1 parent eafe367 commit 2b251ed

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

MC/config/examples/ini/tests/GeneratorEPOS4_pp13TeV.C

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,8 @@ int External()
3434
std::cerr << "Expected 100 events, got " << nEvents << "\n";
3535
return 1;
3636
}
37-
// check if each event has two protons with 6800 GeV of energy
38-
// exits if the particle is not a proton
37+
// check if each event has two protons with 6500 GeV of energy
38+
// exits if the particle is not a proton
3939
for (int i = 0; i < nEvents; i++)
4040
{
4141
auto check = tree->GetEntry(i);
@@ -44,7 +44,7 @@ int External()
4444
{
4545
auto track = tracks->at(idxMCTrack);
4646
double energy = track.GetEnergy();
47-
// Check if track energy is approximately equal to 6800 GeV (a tolerance of 65 keV is considered, straight equality does not work due to floating point precision)
47+
// Check if track energy is approximately equal to 6500 GeV (a tolerance of 65 keV is considered, straight equality does not work due to floating point precision)
4848
if (std::abs(energy - 6500) < 1e-4)
4949
{
5050
if (track.GetPdgCode() != 2212){

0 commit comments

Comments
 (0)