|
ATLAS Offline Software
|
Go to the documentation of this file.
14 auto func = [&](
const xAOD::Jet* jetPtr) {
15 return jetPtr->pt() >
value();
17 auto count = std::count_if(
event.m_jets.begin(),
event.m_jets.end(), func);
25 if (not
event.m_jets) {
29 auto func = [&](
const xAOD::Jet* truJetPtr) {
30 return truJetPtr->pt() >
value();
32 auto count = std::count_if(
event.m_jets->begin(),
event.m_jets->end(), func);
bool checkInt(int value, int cut) const
Compare a cut supplied by the user with the value calculated in the event.
bool apply(const top::Event &event) const override
This does stuff based on the information in an event.
TopConfig A simple configuration that is NOT a singleton.
double multiplicity() const
Get the cut multiplicity assigned in the constructor.
NJetSelector(const std::string ¶ms)
bool applyParticleLevel(const top::ParticleLevelEvent &event) 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).
POOL::TEvent event(POOL::TEvent::kClassAccess)
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.