Go to the documentation of this file.
42 produces<reco::PFDisplacedVertexCandidateCollection>();
52 LogDebug(
"PFDisplacedVertexCandidateProducer")
53 <<
"START event: " <<
iEvent.id().event() <<
" in run " <<
iEvent.id().run() << endl;
77 LogInfo(
"PFDisplacedVertexCandidateProducer") <<
str.str() << endl;
80 std::unique_ptr<reco::PFDisplacedVertexCandidateCollection> pOutputDisplacedVertexCandidateCollection(
85 LogDebug(
"PFDisplacedVertexCandidateProducer")
86 <<
"STOP event: " <<
iEvent.id().event() <<
" in run " <<
iEvent.id().run() << endl;
void setPrimaryVertex(edm::Handle< reco::VertexCollection > mainVertexHandle, edm::Handle< reco::BeamSpot > beamSpotHandle)
void setInput(const edm::Handle< reco::TrackCollection > &trackh, const MagneticField *magField)
edm::EDGetTokenT< reco::TrackCollection > inputTagTracks_
Reco Tracks used to spot the nuclear interactions.
T getUntrackedParameter(std::string const &, T const &) const
Log< level::Info, false > LogInfo
PFDisplacedVertexCandidateFinder pfDisplacedVertexCandidateFinder_
Displaced Vertex Candidates finder.
edm::EDGetTokenT< reco::VertexCollection > inputTagMainVertex_
Input tag for main vertex to cut of dxy of secondary tracks.
void produce(edm::Event &, const edm::EventSetup &) override
void setDebug(bool debug)
sets debug printout flag
void setParameters(double dcaCut, double primaryVertexCut, double dcaPInnerHitCut, const edm::ParameterSet &ps_trk)
------— Set different algo parameters ---— ///
edm::EDGetTokenT< reco::BeamSpot > inputTagBeamSpot_
bool getData(T &iHolder) const
const edm::ESGetToken< MagneticField, IdealMagneticFieldRecord > magneticFieldToken_
std::unique_ptr< reco::PFDisplacedVertexCandidateCollection > transferVertexCandidates()
T getParameter(std::string const &) const
void findDisplacedVertexCandidates()
-----— Main function which find vertices -----— ///
PFDisplacedVertexCandidateProducer(const edm::ParameterSet &)
~PFDisplacedVertexCandidateProducer() override