#include <EventSelectors.h>
Public Member Functions | |
virtual bool | accept (const fwlite::EventBase &ev) const |
ObjectCountSelector (const char *label, const char *instance, const char *process, const char *cut, int minNumber=1, int maxNumber=-1) | |
void | setCut (const char *cut) |
void | setIgnoreExceptions (bool ignoreThem=true) |
void | setMax (int maxNumber) |
void | setMin (int minNumber) |
~ObjectCountSelector () | |
Public Member Functions inherited from fwlite::EventSelector | |
EventSelector (const char *name="", const char *title="") | |
virtual | ~EventSelector () |
Protected Types | |
typedef fwlite::Handle < Collection > | HandleT |
Protected Member Functions | |
ObjectCountSelector (const fwlite::ObjectCountSelector< Collection > &other) | |
ObjectCountSelector & | operator= (const fwlite::ObjectCountSelector< Collection > &other) |
Protected Attributes | |
std::string | instance_ |
std::string | label_ |
int | max_ |
int | min_ |
std::string | process_ |
helper::ScannerBase * | scanner |
Definition at line 57 of file EventSelectors.h.
|
protected |
Definition at line 84 of file EventSelectors.h.
|
inline |
Definition at line 59 of file EventSelectors.h.
References fwlite::ObjectCountSelector< Collection >::scanner, helper::ScannerBase::setCut(), and helper::ScannerBase::setIgnoreExceptions().
|
inline |
Definition at line 68 of file EventSelectors.h.
References fwlite::ObjectCountSelector< Collection >::scanner.
|
protected |
|
inlinevirtual |
Implements fwlite::EventSelector.
Definition at line 69 of file EventSelectors.h.
References fwlite::Handle< T >::getByLabel(), patZpeak::handle, fwlite::ObjectCountSelector< Collection >::instance_, j, fwlite::ObjectCountSelector< Collection >::label_, fwlite::ObjectCountSelector< Collection >::max_, fwlite::ObjectCountSelector< Collection >::min_, gen::n, contentValuesCheck::nfound, fwlite::ObjectCountSelector< Collection >::process_, fwlite::ObjectCountSelector< Collection >::scanner, helper::ScannerBase::test(), and create_public_pileup_plots::vals.
Referenced by Vispa.Gui.BoxContentDialog.BoxContentDialog::apply(), Vispa.Plugins.ConfigEditor.ToolDialog.ToolDialog::apply(), and esMonitoring.FDJsonServer::handle_accept().
|
protected |
|
inline |
Definition at line 79 of file EventSelectors.h.
References fwlite::ObjectCountSelector< Collection >::scanner, and helper::ScannerBase::setCut().
|
inline |
Definition at line 82 of file EventSelectors.h.
References fwlite::ObjectCountSelector< Collection >::scanner, and helper::ScannerBase::setIgnoreExceptions().
|
inline |
Definition at line 81 of file EventSelectors.h.
References fwlite::ObjectCountSelector< Collection >::max_, and HLT_25ns10e33_v2_cff::maxNumber.
|
inline |
Definition at line 80 of file EventSelectors.h.
References fwlite::ObjectCountSelector< Collection >::min_, and CosmicsPD_Skims::minNumber.
|
protected |
Definition at line 85 of file EventSelectors.h.
Referenced by fwlite::ObjectCountSelector< Collection >::accept().
|
protected |
Definition at line 85 of file EventSelectors.h.
Referenced by Mixins._Labelable::_findDependencies(), fwlite::ObjectCountSelector< Collection >::accept(), and Mixins._Labelable::setLabel().
|
protected |
Definition at line 86 of file EventSelectors.h.
Referenced by fwlite::ObjectCountSelector< Collection >::accept(), and fwlite::ObjectCountSelector< Collection >::setMax().
|
protected |
Definition at line 86 of file EventSelectors.h.
Referenced by fwlite::ObjectCountSelector< Collection >::accept(), and fwlite::ObjectCountSelector< Collection >::setMin().
|
protected |
Definition at line 85 of file EventSelectors.h.
Referenced by fwlite::ObjectCountSelector< Collection >::accept().
|
protected |
Definition at line 87 of file EventSelectors.h.
Referenced by fwlite::ObjectCountSelector< Collection >::accept(), fwlite::ObjectCountSelector< Collection >::ObjectCountSelector(), fwlite::ObjectCountSelector< Collection >::setCut(), fwlite::ObjectCountSelector< Collection >::setIgnoreExceptions(), and fwlite::ObjectCountSelector< Collection >::~ObjectCountSelector().