Producer for DisplacedVertices. More...
Public Member Functions | |
PFDisplacedVertexCandidateProducer (const edm::ParameterSet &) | |
void | produce (edm::Event &, const edm::EventSetup &) override |
~PFDisplacedVertexCandidateProducer () override | |
Public Member Functions inherited from edm::stream::EDProducer<> | |
EDProducer ()=default | |
EDProducer (const EDProducer &)=delete | |
bool | hasAbilityToProduceInBeginLumis () const final |
bool | hasAbilityToProduceInBeginProcessBlocks () const final |
bool | hasAbilityToProduceInBeginRuns () const final |
bool | hasAbilityToProduceInEndLumis () const final |
bool | hasAbilityToProduceInEndProcessBlocks () const final |
bool | hasAbilityToProduceInEndRuns () const final |
const EDProducer & | operator= (const EDProducer &)=delete |
Private Attributes | |
edm::EDGetTokenT< reco::BeamSpot > | inputTagBeamSpot_ |
edm::EDGetTokenT< reco::VertexCollection > | inputTagMainVertex_ |
Input tag for main vertex to cut of dxy of secondary tracks. More... | |
edm::EDGetTokenT< reco::TrackCollection > | inputTagTracks_ |
Reco Tracks used to spot the nuclear interactions. More... | |
const edm::ESGetToken< MagneticField, IdealMagneticFieldRecord > | magneticFieldToken_ |
PFDisplacedVertexCandidateFinder | pfDisplacedVertexCandidateFinder_ |
Displaced Vertex Candidates finder. More... | |
bool | verbose_ |
verbose ? More... | |
Additional Inherited Members | |
Public Types inherited from edm::stream::EDProducer<> | |
using | CacheTypes = CacheContexts< T... > |
using | GlobalCache = typename CacheTypes::GlobalCache |
using | HasAbility = AbilityChecker< T... > |
using | InputProcessBlockCache = typename CacheTypes::InputProcessBlockCache |
using | LuminosityBlockCache = typename CacheTypes::LuminosityBlockCache |
using | LuminosityBlockContext = LuminosityBlockContextT< LuminosityBlockCache, RunCache, GlobalCache > |
using | LuminosityBlockSummaryCache = typename CacheTypes::LuminosityBlockSummaryCache |
using | RunCache = typename CacheTypes::RunCache |
using | RunContext = RunContextT< RunCache, GlobalCache > |
using | RunSummaryCache = typename CacheTypes::RunSummaryCache |
Producer for DisplacedVertices.
This producer makes use of DisplacedVertexCandidateFinder. This Finder loop recursively over reco::Tracks to find those which are linked together by the criterion which is by default the minimal approach distance.
Definition at line 24 of file PFDisplacedVertexCandidateProducer.cc.
|
explicit |
Definition at line 55 of file PFDisplacedVertexCandidateProducer.cc.
References particleFlowDisplacedVertexCandidate_cfi::dcaCut, particleFlowDisplacedVertexCandidate_cfi::dcaPInnerHitCut, debug, edm::ParameterSet::getParameter(), edm::ParameterSet::getUntrackedParameter(), inputTagBeamSpot_, inputTagMainVertex_, inputTagTracks_, pfDisplacedVertexCandidateFinder_, particleFlowDisplacedVertex_cfi::primaryVertexCut, PFDisplacedVertexCandidateFinder::setDebug(), PFDisplacedVertexCandidateFinder::setParameters(), and verbose_.
|
override |
Definition at line 91 of file PFDisplacedVertexCandidateProducer.cc.
|
override |
Definition at line 93 of file PFDisplacedVertexCandidateProducer.cc.
References gather_cfg::cout, PFDisplacedVertexCandidateFinder::findDisplacedVertexCandidates(), edm::EventSetup::getData(), iEvent, inputTagBeamSpot_, inputTagMainVertex_, inputTagTracks_, LogDebug, magneticFieldToken_, eostools::move(), pfDisplacedVertexCandidateFinder_, PFDisplacedVertexCandidateFinder::setInput(), PFDisplacedVertexCandidateFinder::setPrimaryVertex(), str, duplicaterechits_cfi::trackCollection, PFDisplacedVertexCandidateFinder::transferVertexCandidates(), and verbose_.
|
private |
Definition at line 38 of file PFDisplacedVertexCandidateProducer.cc.
Referenced by PFDisplacedVertexCandidateProducer(), and produce().
|
private |
Input tag for main vertex to cut of dxy of secondary tracks.
Definition at line 37 of file PFDisplacedVertexCandidateProducer.cc.
Referenced by PFDisplacedVertexCandidateProducer(), and produce().
|
private |
Reco Tracks used to spot the nuclear interactions.
Definition at line 34 of file PFDisplacedVertexCandidateProducer.cc.
Referenced by PFDisplacedVertexCandidateProducer(), and produce().
|
private |
Definition at line 40 of file PFDisplacedVertexCandidateProducer.cc.
Referenced by produce().
|
private |
Displaced Vertex Candidates finder.
Definition at line 46 of file PFDisplacedVertexCandidateProducer.cc.
Referenced by PFDisplacedVertexCandidateProducer(), and produce().
|
private |
verbose ?
Definition at line 43 of file PFDisplacedVertexCandidateProducer.cc.
Referenced by PFDisplacedVertexCandidateProducer(), and produce().