|
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_largeJets.begin(),
event.m_largeJets.end(), func);
23 auto func = [&](
const xAOD::Jet* jetPtr) {
24 return jetPtr->pt() >
value();
26 auto count = std::count_if(
event.m_largeRJets->begin(),
event.m_largeRJets->end(), func);
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.
NLargeJetSelector(const std::string ¶ms)
bool apply(const top::Event &event) const override
This does stuff based on the information in an event.
Many of the tools need a sign (>=) and a value (2).
bool applyParticleLevel(const top::ParticleLevelEvent &) const override
This does stuff based on the information in a particle level event.
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.