ATLAS Offline Software
NElectronNMuonSelector.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3  */
4 
5 #ifndef NELECTRONNMUONSELECTOR_H_
6 #define NELECTRONNMUONSELECTOR_H_
7 
9 
10 namespace top {
15  public:
19  explicit NElectronNMuonSelector(const std::string& params);
20 
26  bool apply(const top::Event& event) const override;
27 
33  bool applyParticleLevel(const top::ParticleLevelEvent& event) const override;
34  };
35 }
36 
37 #endif
top
TopConfig A simple configuration that is NOT a singleton.
Definition: AnalysisTrackingHelper.cxx:58
top::NElectronNMuonSelector::NElectronNMuonSelector
NElectronNMuonSelector(const std::string &params)
Select events based on multiplicity, which should be an integer.
Definition: NElectronNMuonSelector.cxx:8
top::SignValueSelector
Many of the tools need a sign (>=) and a value (2).
Definition: SignValueSelector.h:16
SignValueSelector.h
top::NElectronNMuonSelector::applyParticleLevel
bool applyParticleLevel(const top::ParticleLevelEvent &event) const override
The 'OR' of a check against electrons and muons.
Definition: NElectronNMuonSelector.cxx:27
event
POOL::TEvent event(POOL::TEvent::kClassAccess)
top::ParticleLevelEvent
Definition: ParticleLevelEvent.h:24
top::Event
Very simple class to hold event data after reading from a file.
Definition: Event.h:49
PowhegControl_ttFCNC_NLO.params
params
Definition: PowhegControl_ttFCNC_NLO.py:226
top::NElectronNMuonSelector::apply
bool apply(const top::Event &event) const override
The 'OR' of a check against electrons and muons.
Definition: NElectronNMuonSelector.cxx:13
top::NElectronNMuonSelector
To accept an event based on a check of electrons and muons.
Definition: NElectronNMuonSelector.h:14