1 #ifndef PhysicsTools_PatAlgos_PATSingleVertexSelector_h
2 #define PhysicsTools_PatAlgos_PATSingleVertexSelector_h
41 std::auto_ptr<std::vector<reco::Vertex> >
Produces a list containing a single vertex selected by some criteria.
edm::EDGetTokenT< reco::BeamSpot > beamSpotToken_
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)
edm::EDGetTokenT< std::vector< reco::Vertex > > verticesToken_
std::auto_ptr< CandSel > candPreselection_
~PATSingleVertexSelector()
std::vector< const reco::Vertex * > selVtxs_
std::vector< edm::EDGetTokenT< edm::View< reco::Candidate > > > candidatesToken_
virtual bool filter(edm::Event &iEvent, const edm::EventSetup &iSetup) override
PATSingleVertexSelector(const edm::ParameterSet &iConfig)
StringCutObjectSelector< reco::Vertex > VtxSel
StringCutObjectSelector< reco::Candidate > CandSel
const reco::Candidate * bestCand_
std::vector< Mode > modes_