|
ATLAS Offline Software
|
Go to the documentation of this file.
17 auto func = [&](
const xAOD::Jet* jetPtr) {
18 return jetPtr->pt() >
value();
23 "Error in NVarRCJetSelector: Variable-R reclustered jets with parameter " +
m_name +
" not defined!");
24 std::unordered_map< std::string, std::shared_ptr<xAOD::JetContainer> > VarRCJets =
event.m_VarRCJets;
30 auto func = [&](
const xAOD::Jet* jetPtr) {
31 return jetPtr->pt() >
value();
36 "Error in NVarRCJetSelector: Variable-R reclustered jets with parameter " +
m_name +
" not defined!");
bool checkInt(int value, int cut) const
Compare a cut supplied by the user with the value calculated in the event.
TopConfig A simple configuration that is NOT a singleton.
double multiplicity() const
Get the cut multiplicity assigned in the constructor.
bool applyParticleLevel(const top::ParticleLevelEvent &) const override
This does stuff based on the information in a particle level event.
Many of the tools need a sign (>=) and a value (2).
bool apply(const top::Event &event) const override
This does stuff based on the information in an event.
POOL::TEvent event(POOL::TEvent::kClassAccess)
void check(bool thingToCheck, const std::string &usefulFailureMessage)
Print an error message and terminate if thingToCheck is false.
NVarRCJetSelector(const std::string &name, const std::string ¶ms)
void checkMultiplicityIsInteger()
Integers are annoying in C++.
double value() const
Get the cut value assigned in the constructor.
Very simple class to hold event data after reading from a file.