CMS 3D CMS Logo

List of all members | Public Member Functions | Private Attributes
edm::detail::NamedEventSelector Class Reference

#include <TriggerResultsBasedEventSelector.h>

Public Member Functions

InputTag const & inputTag () const
 
bool match (TriggerResults const &product)
 
 NamedEventSelector (std::string const &n, EventSelector const &s, ConsumesCollector &&iC)
 
EDGetTokenT< TriggerResults > const & token () const
 

Private Attributes

EventSelector eventSelector_
 
InputTag inputTag_
 
EDGetTokenT< TriggerResultstoken_
 

Detailed Description

Definition at line 30 of file TriggerResultsBasedEventSelector.h.

Constructor & Destructor Documentation

edm::detail::NamedEventSelector::NamedEventSelector ( std::string const &  n,
EventSelector const &  s,
ConsumesCollector &&  iC 
)
inline

Definition at line 32 of file TriggerResultsBasedEventSelector.h.

Member Function Documentation

InputTag const& edm::detail::NamedEventSelector::inputTag ( ) const
inline

Definition at line 37 of file TriggerResultsBasedEventSelector.h.

References inputTag_.

bool edm::detail::NamedEventSelector::match ( TriggerResults const &  product)
inline

Definition at line 35 of file TriggerResultsBasedEventSelector.h.

References edm::EventSelector::acceptEvent(), and eventSelector_.

35 { return eventSelector_.acceptEvent(product); }
bool acceptEvent(TriggerResults const &)
EDGetTokenT<TriggerResults> const& edm::detail::NamedEventSelector::token ( ) const
inline

Definition at line 39 of file TriggerResultsBasedEventSelector.h.

References token_.

39 { return token_; }

Member Data Documentation

EventSelector edm::detail::NamedEventSelector::eventSelector_
private

Definition at line 44 of file TriggerResultsBasedEventSelector.h.

Referenced by match().

InputTag edm::detail::NamedEventSelector::inputTag_
private

Definition at line 42 of file TriggerResultsBasedEventSelector.h.

Referenced by inputTag().

EDGetTokenT<TriggerResults> edm::detail::NamedEventSelector::token_
private

Definition at line 43 of file TriggerResultsBasedEventSelector.h.

Referenced by token().