Producer for DisplacedVertices. More...
#include <PFDisplacedVertexCandidateProducer.h>
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 | |
bool | hasAbilityToProduceInBeginLumis () const final |
bool | hasAbilityToProduceInBeginProcessBlocks () const final |
bool | hasAbilityToProduceInBeginRuns () const final |
bool | hasAbilityToProduceInEndLumis () const final |
bool | hasAbilityToProduceInEndProcessBlocks () const final |
bool | hasAbilityToProduceInEndRuns () const final |
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<> | |
typedef CacheContexts< T... > | CacheTypes |
typedef CacheTypes::GlobalCache | GlobalCache |
typedef AbilityChecker< T... > | HasAbility |
typedef CacheTypes::LuminosityBlockCache | LuminosityBlockCache |
typedef LuminosityBlockContextT< LuminosityBlockCache, RunCache, GlobalCache > | LuminosityBlockContext |
typedef CacheTypes::LuminosityBlockSummaryCache | LuminosityBlockSummaryCache |
typedef CacheTypes::RunCache | RunCache |
typedef RunContextT< RunCache, GlobalCache > | RunContext |
typedef CacheTypes::RunSummaryCache | 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 27 of file PFDisplacedVertexCandidateProducer.h.
|
explicit |
Definition at line 13 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 49 of file PFDisplacedVertexCandidateProducer.cc.
|
override |
Definition at line 51 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 41 of file PFDisplacedVertexCandidateProducer.h.
Referenced by PFDisplacedVertexCandidateProducer(), and produce().
|
private |
Input tag for main vertex to cut of dxy of secondary tracks.
Definition at line 40 of file PFDisplacedVertexCandidateProducer.h.
Referenced by PFDisplacedVertexCandidateProducer(), and produce().
|
private |
Reco Tracks used to spot the nuclear interactions.
Definition at line 37 of file PFDisplacedVertexCandidateProducer.h.
Referenced by PFDisplacedVertexCandidateProducer(), and produce().
|
private |
Definition at line 43 of file PFDisplacedVertexCandidateProducer.h.
Referenced by produce().
|
private |
Displaced Vertex Candidates finder.
Definition at line 49 of file PFDisplacedVertexCandidateProducer.h.
Referenced by PFDisplacedVertexCandidateProducer(), and produce().
|
private |
verbose ?
Definition at line 46 of file PFDisplacedVertexCandidateProducer.h.
Referenced by PFDisplacedVertexCandidateProducer(), and produce().