Producer for DisplacedVertices. More...
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 | |
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 | |
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<> | |
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 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 28 of file PFDisplacedVertexProducer.cc.
|
explicit |
Definition at line 64 of file PFDisplacedVertexProducer.cc.
References debug, edm::ParameterSet::getParameter(), edm::ParameterSet::getUntrackedParameter(), inputTagBeamSpot_, inputTagMainVertex_, inputTagVertexCandidates_, pfDisplacedVertexFinder_, PFDisplacedVertexFinder::setAVFParameters(), PFDisplacedVertexFinder::setDebug(), PFDisplacedVertexFinder::setParameters(), PFDisplacedVertexFinder::setTracksSelector(), PFDisplacedVertexFinder::setVertexIdentifier(), and verbose_.
|
override |
Definition at line 127 of file PFDisplacedVertexProducer.cc.
|
override |
Definition at line 129 of file PFDisplacedVertexProducer.cc.
References gather_cfg::cout, edm::EventID::event(), PFDisplacedVertexFinder::findDisplacedVertices(), edm::Event::getByToken(), edm::EventSetup::getData(), globTkGeomToken_, edm::EventBase::id(), inputTagBeamSpot_, inputTagMainVertex_, inputTagVertexCandidates_, LogDebug, magFieldToken_, eostools::move(), pfDisplacedVertexFinder_, edm::Event::put(), edm::EventID::run(), PFDisplacedVertexFinder::setEdmParameters(), PFDisplacedVertexFinder::setInput(), PFDisplacedVertexFinder::setPrimaryVertex(), str, tkerGeomToken_, tkerTopoToken_, PFDisplacedVertexFinder::transferDisplacedVertices(), and verbose_.
|
private |
Definition at line 47 of file PFDisplacedVertexProducer.cc.
Referenced by produce().
|
private |
Definition at line 44 of file PFDisplacedVertexProducer.cc.
Referenced by PFDisplacedVertexProducer(), and produce().
|
private |
Input tag for main vertex to cut of dxy of secondary tracks.
Definition at line 43 of file PFDisplacedVertexProducer.cc.
Referenced by PFDisplacedVertexProducer(), and produce().
|
private |
Collection of DisplacedVertex Candidates used as input for the Displaced VertexFinder.
Definition at line 39 of file PFDisplacedVertexProducer.cc.
Referenced by PFDisplacedVertexProducer(), and produce().
|
private |
Definition at line 46 of file PFDisplacedVertexProducer.cc.
Referenced by produce().
|
private |
Displaced Vertices finder.
Definition at line 55 of file PFDisplacedVertexProducer.cc.
Referenced by PFDisplacedVertexProducer(), and produce().
|
private |
Definition at line 49 of file PFDisplacedVertexProducer.cc.
Referenced by produce().
|
private |
Definition at line 48 of file PFDisplacedVertexProducer.cc.
Referenced by produce().
|
private |
verbose ?
Definition at line 52 of file PFDisplacedVertexProducer.cc.
Referenced by PFDisplacedVertexProducer(), and produce().