Producer for DisplacedVertices. More...
#include <PFDisplacedVertexProducer.h>
Public Member Functions | |
PFDisplacedVertexProducer (const edm::ParameterSet &) | |
void | produce (edm::Event &, const edm::EventSetup &) override |
~PFDisplacedVertexProducer () 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 | |
const edm::ESGetToken< GlobalTrackingGeometry, GlobalTrackingGeometryRecord > | globTkGeomToken_ |
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::PFDisplacedVertexCandidateCollection > | inputTagVertexCandidates_ |
const edm::ESGetToken< MagneticField, IdealMagneticFieldRecord > | magFieldToken_ |
PFDisplacedVertexFinder | pfDisplacedVertexFinder_ |
Displaced Vertices finder. More... | |
const edm::ESGetToken< TrackerGeometry, TrackerDigiGeometryRecord > | tkerGeomToken_ |
const edm::ESGetToken< TrackerTopology, TrackerTopologyRcd > | tkerTopoToken_ |
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 DisplacedVertexFinder. This Finder fit vertex candidates out of the DisplacedVertexCandidates which contain all tracks linked together by the criterion which is by default the minimal approach distance.
Definition at line 29 of file PFDisplacedVertexProducer.h.
|
explicit |
Definition at line 15 of file PFDisplacedVertexProducer.cc.
References debug, edm::ParameterSet::getParameter(), edm::ParameterSet::getUntrackedParameter(), inputTagBeamSpot_, inputTagMainVertex_, inputTagVertexCandidates_, particleFlowDisplacedVertex_cfi::longSize, particleFlowDisplacedVertex_cfi::minAdaptWeight, pfDisplacedVertexFinder_, particleFlowDisplacedVertex_cfi::primaryVertexCut, PFDisplacedVertexFinder::setAVFParameters(), PFDisplacedVertexFinder::setDebug(), PFDisplacedVertexFinder::setParameters(), PFDisplacedVertexFinder::setTracksSelector(), PFDisplacedVertexFinder::setVertexIdentifier(), particleFlowDisplacedVertex_cfi::switchOff2TrackVertex, particleFlowDisplacedVertex_cfi::tecCut, particleFlowDisplacedVertex_cfi::tobCut, particleFlowDisplacedVertex_cfi::transvSize, and verbose_.
|
override |
Definition at line 78 of file PFDisplacedVertexProducer.cc.
|
override |
Definition at line 80 of file PFDisplacedVertexProducer.cc.
References gather_cfg::cout, PFDisplacedVertexFinder::findDisplacedVertices(), edm::EventSetup::getData(), globTkGeomToken_, iEvent, inputTagBeamSpot_, inputTagMainVertex_, inputTagVertexCandidates_, LogDebug, magFieldToken_, eostools::move(), pfDisplacedVertexFinder_, PFDisplacedVertexFinder::setEdmParameters(), PFDisplacedVertexFinder::setInput(), PFDisplacedVertexFinder::setPrimaryVertex(), str, tkerGeomToken_, tkerTopoToken_, PFDisplacedVertexFinder::transferDisplacedVertices(), and verbose_.
|
private |
Definition at line 48 of file PFDisplacedVertexProducer.h.
Referenced by produce().
|
private |
Definition at line 45 of file PFDisplacedVertexProducer.h.
Referenced by PFDisplacedVertexProducer(), and produce().
|
private |
Input tag for main vertex to cut of dxy of secondary tracks.
Definition at line 44 of file PFDisplacedVertexProducer.h.
Referenced by PFDisplacedVertexProducer(), and produce().
|
private |
Collection of DisplacedVertex Candidates used as input for the Displaced VertexFinder.
Definition at line 40 of file PFDisplacedVertexProducer.h.
Referenced by PFDisplacedVertexProducer(), and produce().
|
private |
Definition at line 47 of file PFDisplacedVertexProducer.h.
Referenced by produce().
|
private |
Displaced Vertices finder.
Definition at line 56 of file PFDisplacedVertexProducer.h.
Referenced by PFDisplacedVertexProducer(), and produce().
|
private |
Definition at line 50 of file PFDisplacedVertexProducer.h.
Referenced by produce().
|
private |
Definition at line 49 of file PFDisplacedVertexProducer.h.
Referenced by produce().
|
private |
verbose ?
Definition at line 53 of file PFDisplacedVertexProducer.h.
Referenced by PFDisplacedVertexProducer(), and produce().