A selector of events. More...
#include <CommonTools/Utils/interface/EventSelector.h>
Public Member Functions | |
const std::vector< std::string > & | description () |
const std::vector< std::string > & | description () |
EventSelector (const edm::ParameterSet &iConfig) | |
EventSelector (const edm::ParameterSet &iConfig) | |
EventSelector () | |
EventSelector () | |
const std::string & | name () const |
name of the module (from configuration) | |
const std::string & | name () const |
name of the module (from configuration) | |
virtual bool | select (const edm::Event &) const =0 |
decision of the selector module | |
virtual bool | select (const edm::Event &) const =0 |
decision of the selector module | |
virtual | ~EventSelector () |
virtual | ~EventSelector () |
Protected Attributes | |
std::vector< std::string > | description_ |
std::string | name_ |
A selector of events.
Base class for event selection modules for SUSY analysis.
This is a placeholder.
Definition at line 15 of file EventSelector.h.
EventSelector::EventSelector | ( | ) | [inline] |
Definition at line 17 of file EventSelector.h.
{}
EventSelector::EventSelector | ( | const edm::ParameterSet & | iConfig | ) | [inline] |
Definition at line 18 of file EventSelector.h.
References edm::ParameterSet::getParameter(), edm::ParameterSet::getUntrackedParameter(), and name_.
{ std::string selector = iConfig.getParameter<std::string>("selector"); name_ = iConfig.getUntrackedParameter<std::string>("name",selector); }
virtual EventSelector::~EventSelector | ( | ) | [inline, virtual] |
Definition at line 22 of file EventSelector.h.
{}
EventSelector::EventSelector | ( | ) | [inline] |
Definition at line 17 of file EventSelector.h.
{}
EventSelector::EventSelector | ( | const edm::ParameterSet & | iConfig | ) | [inline] |
Definition at line 18 of file EventSelector.h.
References edm::ParameterSet::getParameter(), edm::ParameterSet::getUntrackedParameter(), and name_.
{ std::string selector = iConfig.getParameter<std::string>("selector"); name_ = iConfig.getUntrackedParameter<std::string>("name",selector); }
virtual EventSelector::~EventSelector | ( | ) | [inline, virtual] |
Definition at line 22 of file EventSelector.h.
{}
const std::vector<std::string>& EventSelector::description | ( | ) | [inline] |
const std::vector<std::string>& EventSelector::description | ( | ) | [inline] |
const std::string& EventSelector::name | ( | ) | const [inline] |
name of the module (from configuration)
Definition at line 24 of file EventSelector.h.
References name_.
{return name_;}
const std::string& EventSelector::name | ( | ) | const [inline] |
name of the module (from configuration)
Definition at line 24 of file EventSelector.h.
References name_.
{return name_;}
virtual bool EventSelector::select | ( | const edm::Event & | ) | const [pure virtual] |
decision of the selector module
Implemented in StringCutEventSelector< Object >, StringCutsEventSelector< Object, existenceMatter >, HLTEventSelector, and VariableEventSelector.
Referenced by Filter::accept().
virtual bool EventSelector::select | ( | const edm::Event & | ) | const [pure virtual] |
decision of the selector module
Implemented in StringCutEventSelector< Object >, StringCutsEventSelector< Object, existenceMatter >, HLTEventSelector, and VariableEventSelector.
std::vector< std::string > EventSelector::description_ [protected] |
Definition at line 31 of file EventSelector.h.
Referenced by description(), StringCutEventSelector< Object >::StringCutEventSelector(), StringCutsEventSelector< Object, existenceMatter >::StringCutsEventSelector(), and VariableEventSelector::VariableEventSelector().
std::string EventSelector::name_ [protected] |
Definition at line 30 of file EventSelector.h.
Referenced by EventSelector(), and name().