ATLAS Offline Software
|
A cut that accepts all events, more useful than you might think. More...
#include <InitialSelector.h>
Public Member Functions | |
virtual bool | applyParticleLevel (const top::ParticleLevelEvent &) const |
This does stuff based on the information in a particle level event. More... | |
Private Member Functions | |
virtual bool | apply (const top::Event &) const override |
Accept every event. More... | |
virtual std::string | name () const override |
The name printed in the cutflow. More... | |
A cut that accepts all events, more useful than you might think.
Very simple tool that accepts all events so you can see the starting number of events in the cutflow.
Definition at line 17 of file InitialSelector.h.
|
overrideprivatevirtual |
Accept every event.
Implements top::EventSelectorBase.
Definition at line 8 of file InitialSelector.cxx.
|
inlinevirtualinherited |
This does stuff based on the information in a particle level event.
The idea is that you implement this to return either true or false, based on the information held within the top::ParticleLevelEvent. If this function returns true, then the event is kept, otherwise it is removed. The function has a default implementation (which returns true) because it is expected that many EventSelector objects do not operate on ParticleLevelEvent objects.
top::ParticleLevelEvent | the current particle level event. |
true | if the event should be kept (i.e. it passed the selector criteria), false otherwise. |
Reimplemented in top::JetNGhostSelector, top::PrintEventSelector, top::PseudoTopRecoRun, top::NElectronNMuonTightSelector, top::NElectronNMuonSelector, top::NFwdElectronSelector, top::HTSelector, top::OSLeptonTightSelector, top::MLLSelector, top::MWTSelector, top::NElectronTightSelector, top::NFwdElectronTightSelector, top::NMuonTightSelector, top::OSLeptonSelector, top::METMWTSelector, top::METSelector, top::MLLWindow, top::NElectronSelector, top::NJetSelector, top::NMuonSelector, top::NPhotonSelector, top::NSoftMuonSelector, top::NTauSelector, top::SSLeptonTightSelector, top::SSLeptonSelector, top::ParticleLevelSelector, top::RecoLevelSelector, top::NVarRCJetSelector, top::NLargeJetSelector, and top::NRCJetSelector.
Definition at line 73 of file EventSelectorBase.h.
|
overrideprivatevirtual |
The name printed in the cutflow.
Implements top::EventSelectorBase.
Definition at line 12 of file InitialSelector.cxx.