![]() |
ATLAS Offline Software
|
Keep only events that have at least one same sign lepton pair. More...
#include <SSLeptonSelector.h>
Public Member Functions | |
bool | apply (const top::Event &event) const override |
This does stuff based on the information in an event. More... | |
bool | applyParticleLevel (const top::ParticleLevelEvent &event) const override |
This does stuff based on the information in a particle level event. More... | |
std::string | name () const override |
A human readable name. More... | |
Keep only events that have at least one same sign lepton pair.
Definition at line 15 of file SSLeptonSelector.h.
|
overridevirtual |
This does stuff based on the information in an event.
The idea is that you implement this to return either true or false based on the information held within top::Event. If this returns true then the event is kept. If it returns false then the event is removed.
top::Event | The current event. |
Implements top::EventSelectorBase.
Definition at line 15 of file SSLeptonSelector.cxx.
|
overridevirtual |
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 from top::EventSelectorBase.
Definition at line 30 of file SSLeptonSelector.cxx.
|
overridevirtual |
A human readable name.
Mostly used for printing the cut and value to the screen. Must be implemented for each tool.
Implements top::EventSelectorBase.
Definition at line 52 of file SSLeptonSelector.cxx.