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;
void setInput(const edm::Handle< reco::TrackCollection > &trackh, const MagneticField *magField)
T getParameter(std::string const &) const
edm::EDGetTokenT< reco::TrackCollection > inputTagTracks_
Reco Tracks used to spot the nuclear interactions.
void setPrimaryVertex(edm::Handle< reco::VertexCollection > mainVertexHandle, edm::Handle< reco::BeamSpot > beamSpotHandle)
PFDisplacedVertexCandidateFinder pfDisplacedVertexCandidateFinder_
Displaced Vertex Candidates finder.
T getUntrackedParameter(std::string const &, T const &) const
edm::EDGetTokenT< reco::BeamSpot > inputTagBeamSpot_
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::VertexCollection > inputTagMainVertex_
Input tag for main vertex to cut of dxy of secondary tracks.
#define DEFINE_FWK_MODULE(type)
bool getData(T &iHolder) const
void produce(edm::Event &, const edm::EventSetup &) override
Log< level::Info, false > LogInfo
const edm::ESGetToken< MagneticField, IdealMagneticFieldRecord > magneticFieldToken_
PFDisplacedVertexCandidateProducer(const edm::ParameterSet &)
Producer for DisplacedVertices.
void findDisplacedVertexCandidates()
-----— Main function which find vertices -----— ///
std::unique_ptr< reco::PFDisplacedVertexCandidateCollection > transferVertexCandidates()
~PFDisplacedVertexCandidateProducer() override