IAP GITLAB

Skip to content
Snippets Groups Projects
Commit e830997d authored by Felix Riehn's avatar Felix Riehn
Browse files

max' comments

parent 9fa5f152
No related branches found
No related tags found
No related merge requests found
......@@ -38,7 +38,7 @@ namespace corsika::proposal {
inline static auto logger_{get_logger("corsika_proposal_HadronicPhotonModel")};
THadronicModel& heHadronicInteraction_;
//! threshold for high energy hadronic interaction model. Lab. energy per nucleon
HEPEnergyType heHadronicModelThresholdLabNN_;
HEPEnergyType const heHadronicModelThresholdLabNN_;
};
} // namespace corsika::proposal
......
......@@ -42,10 +42,7 @@ public:
}
}
bool constexpr isValid(Code const, Code const, HEPEnergyType const sqrsNN) const {
if (sqrsNN < 10_GeV)
return false;
else
return true;
return (sqrsNN >= 10_GeV);
};
};
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment