Go to the documentation of this file. 1 #ifndef PhysicsTools_PatAlgos_PATSingleVertexSelector_h
2 #define PhysicsTools_PatAlgos_PATSingleVertexSelector_h
bool hasMode_(Mode mode) const
edm::EDGetTokenT< reco::BeamSpot > beamSpotToken_
std::vector< Mode > modes_
edm::EDGetTokenT< std::vector< reco::Vertex > > verticesToken_
~PATSingleVertexSelector() override
PATSingleVertexSelector(const edm::ParameterSet &iConfig)
reco::CandidatePtr bestCand_
Mode parseMode(const std::string &name) const
Produces a list containing a single vertex selected by some criteria.
const VtxSel vtxPreselection_
bool filter(edm::Event &iEvent, const edm::EventSetup &iSetup) override
StringCutObjectSelector< reco::Vertex > VtxSel
StringCutObjectSelector< reco::Candidate > CandSel
std::unique_ptr< std::vector< reco::Vertex > > filter_(Mode mode, const edm::Event &iEvent, const edm::EventSetup &iSetup)
std::vector< reco::VertexRef > selVtxs_
std::vector< edm::EDGetTokenT< edm::View< reco::Candidate > > > candidatesToken_
const CandSel candPreselection_