CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Protected Attributes
EventSelector Class Referenceabstract

A selector of events. More...

#include "CommonTools/Utils/interface/EventSelector.h"

Inheritance diagram for EventSelector:
HLTEventSelector RunLumiSelector StringCutEventSelector< Object > StringCutsEventSelector< Object, existenceMatter > VariableEventSelector WPlusJetsEventSelector WSelector WSelector

Public Member Functions

const std::vector< std::string > & description ()
 
const std::vector< std::string > & description ()
 
 EventSelector ()
 
 EventSelector ()
 
 EventSelector (const edm::ParameterSet &iConfig)
 
 EventSelector (const edm::ParameterSet &iConfig)
 
const std::string & name () const
 name of the module (from configuration) More...
 
const std::string & name () const
 name of the module (from configuration) More...
 
virtual bool select (const edm::Event &) const =0
 decision of the selector module More...
 
virtual bool select (const edm::Event &) const =0
 decision of the selector module More...
 
virtual ~EventSelector ()
 
virtual ~EventSelector ()
 

Protected Attributes

std::vector< std::string > description_
 
std::string name_
 

Detailed Description

A selector of events.

Base class for event selection modules for SUSY analysis.

This is a placeholder.

Author
Salvatore Rappoccio
Version
Id:
EventSelector.h,v 1.2 2010/04/30 14:30:07 srappocc Exp

Definition at line 15 of file EventSelector.h.

Constructor & Destructor Documentation

EventSelector::EventSelector ( )
inline

Definition at line 17 of file EventSelector.h.

17 {}
EventSelector::EventSelector ( const edm::ParameterSet iConfig)
inline

Definition at line 18 of file EventSelector.h.

References edm::ParameterSet::getParameter(), edm::ParameterSet::getUntrackedParameter(), and name_.

18  {
19  std::string selector = iConfig.getParameter<std::string>("selector");
20  name_ = iConfig.getUntrackedParameter<std::string>("name",selector);
21  }
T getParameter(std::string const &) const
T getUntrackedParameter(std::string const &, T const &) const
std::string name_
Definition: EventSelector.h:30
virtual EventSelector::~EventSelector ( )
inlinevirtual

Definition at line 22 of file EventSelector.h.

22 {}
EventSelector::EventSelector ( )
inline

Definition at line 17 of file EventSelector.h.

17 {}
EventSelector::EventSelector ( const edm::ParameterSet iConfig)
inline

Definition at line 18 of file EventSelector.h.

References edm::ParameterSet::getParameter(), edm::ParameterSet::getUntrackedParameter(), and name_.

18  {
19  std::string selector = iConfig.getParameter<std::string>("selector");
20  name_ = iConfig.getUntrackedParameter<std::string>("name",selector);
21  }
T getParameter(std::string const &) const
T getUntrackedParameter(std::string const &, T const &) const
std::string name_
Definition: EventSelector.h:30
virtual EventSelector::~EventSelector ( )
inlinevirtual

Definition at line 22 of file EventSelector.h.

22 {}

Member Function Documentation

const std::vector<std::string>& EventSelector::description ( )
inline

Definition at line 25 of file EventSelector.h.

References description_.

25 { return description_;}
std::vector< std::string > description_
Definition: EventSelector.h:31
const std::vector<std::string>& EventSelector::description ( )
inline

Definition at line 25 of file EventSelector.h.

References description_.

25 { return description_;}
std::vector< std::string > description_
Definition: EventSelector.h:31
const std::string& EventSelector::name ( ) const
inline

name of the module (from configuration)

Definition at line 24 of file EventSelector.h.

References name_.

Referenced by BeautifulSoup.Tag::_invert(), and Vispa.Views.PropertyView.Property::valueChanged().

24 {return name_;}
std::string name_
Definition: EventSelector.h:30
const std::string& EventSelector::name ( void  ) const
inline

name of the module (from configuration)

Definition at line 24 of file EventSelector.h.

References name_.

Referenced by BeautifulSoup.Tag::_invert().

24 {return name_;}
std::string name_
Definition: EventSelector.h:30
virtual bool EventSelector::select ( const edm::Event ) const
pure virtual
virtual bool EventSelector::select ( const edm::Event ) const
pure virtual

Member Data Documentation

std::vector< std::string > EventSelector::description_
protected
std::string EventSelector::name_
protected

Definition at line 30 of file EventSelector.h.

Referenced by EventSelector(), and name().