1 #ifndef PhysicsTools_PatAlgos_PATSingleVertexSelector_h
2 #define PhysicsTools_PatAlgos_PATSingleVertexSelector_h
42 std::auto_ptr<std::vector<reco::Vertex> >
Produces a list containing a single vertex selected by some criteria.
std::auto_ptr< VtxSel > vtxPreselection_
bool hasMode_(Mode mode) const
std::auto_ptr< std::vector< reco::Vertex > > filter_(Mode mode, const edm::Event &iEvent, const edm::EventSetup &iSetup)
static Mode parseMode(const std::string &name)
std::auto_ptr< CandSel > candPreselection_
~PATSingleVertexSelector()
std::vector< const reco::Vertex * > selVtxs_
virtual bool filter(edm::Event &iEvent, const edm::EventSetup &iSetup) override
PATSingleVertexSelector(const edm::ParameterSet &iConfig)
StringCutObjectSelector< reco::Vertex > VtxSel
StringCutObjectSelector< reco::Candidate > CandSel
std::vector< edm::InputTag > candidates_
const reco::Candidate * bestCand_
std::vector< Mode > modes_