Go to the documentation of this file.
72 consumes<reco::PFDisplacedVertexCandidateCollection>(iConfig.
getParameter<
InputTag>(
"vertexCandidatesLabel"));
116 produces<reco::PFDisplacedVertexCollection>();
130 LogDebug(
"PFDisplacedVertexProducer") <<
"START event: " <<
iEvent.id().event() <<
" in run " <<
iEvent.id().run()
161 LogInfo(
"PFDisplacedVertexProducer") <<
str.str() << endl;
164 std::unique_ptr<reco::PFDisplacedVertexCollection> pOutputDisplacedVertexCollection(
169 LogDebug(
"PFDisplacedVertexProducer") <<
"STOP event: " <<
iEvent.id().event() <<
" in run " <<
iEvent.id().run()
const edm::ESGetToken< TrackerGeometry, TrackerDigiGeometryRecord > tkerGeomToken_
void produce(edm::Event &, const edm::EventSetup &) override
Producer for DisplacedVertices.
void setEdmParameters(const MagneticField *magField, edm::ESHandle< GlobalTrackingGeometry > globTkGeomHandle, const TrackerTopology *tkerTopo, const TrackerGeometry *tkerGeom)
Sets parameters for track extrapolation and hits study.
std::unique_ptr< reco::PFDisplacedVertexCollection > transferDisplacedVertices()
edm::EDGetTokenT< reco::VertexCollection > inputTagMainVertex_
Input tag for main vertex to cut of dxy of secondary tracks.
T getUntrackedParameter(std::string const &, T const &) const
void findDisplacedVertices()
-----— Main function which find vertices -----— ///
Log< level::Info, false > LogInfo
edm::EDGetTokenT< reco::BeamSpot > inputTagBeamSpot_
edm::EDGetTokenT< reco::PFDisplacedVertexCandidateCollection > inputTagVertexCandidates_
const edm::ESGetToken< MagneticField, IdealMagneticFieldRecord > magFieldToken_
#define DEFINE_FWK_MODULE(type)
void setDebug(bool debug)
Sets debug printout flag.
void setTracksSelector(const edm::ParameterSet &ps)
~PFDisplacedVertexProducer() override
void setAVFParameters(const edm::ParameterSet &ps)
PFDisplacedVertexFinder pfDisplacedVertexFinder_
Displaced Vertices finder.
const edm::ESGetToken< TrackerTopology, TrackerTopologyRcd > tkerTopoToken_
bool getData(T &iHolder) const
void setPrimaryVertex(edm::Handle< reco::VertexCollection > mainVertexHandle, edm::Handle< reco::BeamSpot > beamSpotHandle)
void setInput(const edm::Handle< reco::PFDisplacedVertexCandidateCollection > &)
Set input collections of tracks.
PFDisplacedVertexProducer(const edm::ParameterSet &)
T getParameter(std::string const &) const
void setVertexIdentifier(const edm::ParameterSet &ps)
void setParameters(double transvSize, double longSize, double primaryVertexCut, double tobCut, double tecCut, double minAdaptWeight, bool switchOff2TrackVertex)
-----— Set different algo parameters -----— ///
const edm::ESGetToken< GlobalTrackingGeometry, GlobalTrackingGeometryRecord > globTkGeomToken_