Skip to content

Commit

Permalink
fix compilation issue
Browse files Browse the repository at this point in the history
  • Loading branch information
Simon Lonzen committed Nov 1, 2024
1 parent de0ce2b commit ff8a911
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion neuland/digitizing/NeulandPointFilter.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ void NeulandPointFilter::SetFilter(R3B::Neuland::BitSetParticle filtered_particl
minimum_allowed_energy_ = minimum_allowed_energy;
}

auto NeulandPointFilter::ShouldNeulandPointBeFiltered(const R3BNeulandPoint& neuland_point) -> bool
auto NeulandPointFilter::CheckFiltered(const R3BNeulandPoint& neuland_point) -> bool
{
return (
R3B::Neuland::CheckCriteria(R3B::Neuland::PidToBitSetParticle(neuland_point.GetPID()), filtered_particles_) or
Expand Down
2 changes: 1 addition & 1 deletion neuland/digitizing/R3BNeulandDigitizer.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ void R3BNeulandDigitizer::Exec(Option_t* /*option*/)
{
if (((neuland_point_filter_.GetFilter() != R3B::Neuland::BitSetParticle::none) or
(neuland_point_filter_.GetMinimumAllowedEnergy() != 0)) and
neuland_point_filter_.ShouldNeulandPointBeFiltered(point))
neuland_point_filter_.CheckFiltered(point))
{
continue;
}
Expand Down
2 changes: 1 addition & 1 deletion neuland/simulation/R3BNeuland.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ inline auto GetLightYield(const int charge, const double length, const double ed
// Apply Birk's law ( Adapted from G3BIRK/Geant3)
if (charge != 0 && length > 0)
{
constexpr auto birkC1Mod = BirkC1;
auto birkC1Mod = BirkC1;

// Apply correction for higher charge states
if (TMath::Abs(charge) >= 2)
Expand Down

0 comments on commit ff8a911

Please sign in to comment.