#include <PVSelector.h>
Public Member Functions | |
bool | operator() (edm::EventBase const &event, pat::strbitset &ret) |
This provides the interface for base classes to select objects. | |
PVSelector (edm::ParameterSet const ¶ms) | |
PVSelector () | |
edm::Handle< std::vector < reco::Vertex > > const & | vertices () const |
Private Attributes | |
edm::Handle< std::vector < reco::Vertex > > | h_primVtx |
PVObjectSelector | pvSel_ |
edm::InputTag | pvSrc_ |
Definition at line 12 of file PVSelector.h.
PVSelector::PVSelector | ( | ) | [inline] |
Definition at line 15 of file PVSelector.h.
{}
PVSelector::PVSelector | ( | edm::ParameterSet const & | params | ) | [inline] |
Definition at line 17 of file PVSelector.h.
References Selector< edm::EventBase >::getBitTemplate(), and Selector< edm::EventBase >::retInternal_.
: pvSrc_ (params.getParameter<edm::InputTag>("pvSrc") ), pvSel_ (params) { retInternal_ = getBitTemplate(); }
bool PVSelector::operator() | ( | edm::EventBase const & | t, |
pat::strbitset & | ret | ||
) | [inline, virtual] |
This provides the interface for base classes to select objects.
Implements Selector< edm::EventBase >.
Definition at line 24 of file PVSelector.h.
edm::Handle<std::vector<reco::Vertex> > const& PVSelector::vertices | ( | ) | const [inline] |
edm::Handle<std::vector<reco::Vertex> > PVSelector::h_primVtx [private] |
Definition at line 43 of file PVSelector.h.
Referenced by operator()(), and vertices().
PVObjectSelector PVSelector::pvSel_ [private] |
Definition at line 42 of file PVSelector.h.
Referenced by operator()().
edm::InputTag PVSelector::pvSrc_ [private] |
Definition at line 41 of file PVSelector.h.
Referenced by operator()().