Skip to content

Commit

Permalink
fix compilation error
Browse files Browse the repository at this point in the history
  • Loading branch information
giovannimarchiori committed Oct 24, 2024
1 parent 6f2125b commit 123a874
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions RecFCCeeCalorimeter/src/components/AugmentClustersFCCee.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -660,7 +660,7 @@ StatusCode AugmentClustersFCCee::execute([[maybe_unused]] const EventContext &ev
// Negative values can happen when noise is on and not filtered
// Negative values very close to zero can happen due to numerical precision
if (w_module2 < -1e-9) {
warning() << "w_module2 in module width calculation is negative: " << w_theta2 << " , will set module width to zero (this might happen when noise simulation is on)" << endmsg;
warning() << "w_module2 in module width calculation is negative: " << w_module2 << " , will set module width to zero (this might happen when noise simulation is on)" << endmsg;
width_module[layer+startPositionToFill] = 0. ;
}
else {
Expand Down Expand Up @@ -836,7 +836,7 @@ StatusCode AugmentClustersFCCee::execute([[maybe_unused]] const EventContext &ev
width_theta_7Bin[layer+startPositionToFill] = std::sqrt(_w_theta_7Bin2);
}
if (_w_theta_9Bin2 < 0) {
warning() << "_w_theta_9Bin2 in theta width calculation is negative: " << _w_theta_9Bin2 << << " , will set theta width to zero (this might happen when noise simulation is on)" << endmsg;
warning() << "_w_theta_9Bin2 in theta width calculation is negative: " << _w_theta_9Bin2 << " , will set theta width to zero (this might happen when noise simulation is on)" << endmsg;
width_theta_9Bin[layer+startPositionToFill] = 0.;
}
else {
Expand Down

0 comments on commit 123a874

Please sign in to comment.