Go to the documentation of this file.
84 produces<reco::PFDisplacedVertexCandidateCollection>();
94 LogDebug(
"PFDisplacedVertexCandidateProducer")
95 <<
"START event: " <<
iEvent.id().event() <<
" in run " <<
iEvent.id().run() << endl;
119 LogInfo(
"PFDisplacedVertexCandidateProducer") <<
str.str() << endl;
122 std::unique_ptr<reco::PFDisplacedVertexCandidateCollection> pOutputDisplacedVertexCandidateCollection(
127 LogDebug(
"PFDisplacedVertexCandidateProducer")
128 <<
"STOP event: " <<
iEvent.id().event() <<
" in run " <<
iEvent.id().run() << endl;
Producer for DisplacedVertices.
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.
#define DEFINE_FWK_MODULE(type)
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