#include <TrackProducer.h>
Public Member Functions | |
std::vector< reco::TransientTrack > | getTransient (edm::Event &, const edm::EventSetup &) |
Get Transient Tracks. More... | |
void | produce (edm::Event &, const edm::EventSetup &) override |
Implementation of produce method. More... | |
TrackProducer (const edm::ParameterSet &iConfig) | |
Constructor. More... | |
Public Member Functions inherited from KfTrackProducerBase | |
KfTrackProducerBase (bool trajectoryInEvent, bool split) | |
Constructor. More... | |
virtual void | putInEvt (edm::Event &, const Propagator *prop, const MeasurementTracker *measTk, std::unique_ptr< TrackingRecHitCollection > &, std::unique_ptr< reco::TrackCollection > &, std::unique_ptr< reco::TrackExtraCollection > &, std::unique_ptr< std::vector< Trajectory > > &, std::unique_ptr< std::vector< int > > &, AlgoProductCollection &, TransientTrackingRecHitBuilder const *, const TrackerTopology *ttopo, int BeforeOrAfter=0) |
Put produced collections in the event. More... | |
Public Member Functions inherited from TrackProducerBase< reco::Track > | |
const edm::ParameterSet & | getConf () const |
virtual void | getFromES (const edm::EventSetup &, edm::ESHandle< TrackerGeometry > &, edm::ESHandle< MagneticField > &, edm::ESHandle< TrajectoryFitter > &, edm::ESHandle< Propagator > &, edm::ESHandle< MeasurementTracker > &, edm::ESHandle< TransientTrackingRecHitBuilder > &) |
Get needed services from the Event Setup. More... | |
virtual void | getFromEvt (edm::Event &, edm::Handle< TrackCandidateCollection > &, reco::BeamSpot &) |
Get TrackCandidateCollection from the Event (needed by TrackProducer) More... | |
virtual void | getFromEvt (edm::Event &, edm::Handle< TrackView > &, reco::BeamSpot &) |
Get TrackCollection from the Event (needed by TrackRefitter) More... | |
void | initTrackProducerBase (const edm::ParameterSet &conf, edm::ConsumesCollector cc, const edm::EDGetToken &src) |
Call this method in inheriting class' constructor. More... | |
void | setAlias (std::string alias) |
set the aliases of produced collections More... | |
void | setSecondHitPattern (Trajectory *traj, reco::Track &track, const Propagator *prop, const MeasurementTrackerEvent *measTk, const TrackerTopology *ttopo) |
TrackProducerBase (bool trajectoryInEvent=false) | |
Constructor. More... | |
virtual | ~TrackProducerBase () noexcept(false) |
Destructor. More... | |
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 | |
TrackProducerAlgorithm < reco::Track > | theAlgo |
edm::ESGetToken < TrackerTopology, TrackerTopologyRcd > | theTTopoToken |
Produce Tracks from TrackCandidates
Produce Tracks from TrackCandidates
Definition at line 16 of file TrackProducer.h.
|
explicit |
Constructor.
Definition at line 18 of file TrackProducer.cc.
References TrackProducerBase< reco::Track >::alias_, edm::ParameterSet::exists(), edm::ParameterSet::getParameter(), TrackProducerBase< reco::Track >::initTrackProducerBase(), TrackProducerBase< reco::Track >::setAlias(), KfTrackProducerBase::setClusterRemovalInfo(), AlCaHLTBitMon_QueryRunRegistry::string, and GlobalPosition_Frontier_DevDB_cff::tag.
std::vector< reco::TransientTrack > TrackProducer::getTransient | ( | edm::Event & | theEvent, |
const edm::EventSetup & | setup | ||
) |
Get Transient Tracks.
Definition at line 113 of file TrackProducer.cc.
References cms::cuda::bs, alignCSCRings::e, edm::HandleBase::failedToGet(), TrackProducerBase< reco::Track >::getFromES(), TrackProducerBase< reco::Track >::getFromEvt(), edm::EventBase::id(), LogDebug, edm::ESHandle< class >::product(), TrackProducerAlgorithm< T >::runWithCandidate(), and theAlgo.
|
overridevirtual |
Implementation of produce method.
Implements TrackProducerBase< reco::Track >.
Definition at line 43 of file TrackProducer.cc.
References cms::cuda::bs, alignCSCRings::e, edm::HandleBase::failedToGet(), edm::EventSetup::getData(), TrackProducerBase< reco::Track >::getFromES(), TrackProducerBase< reco::Track >::getFromEvt(), edm::EventBase::id(), LogDebug, edm::ESHandle< class >::product(), KfTrackProducerBase::putInEvt(), TrackProducerAlgorithm< T >::runWithCandidate(), theAlgo, and theTTopoToken.
|
private |
Definition at line 36 of file TrackProducer.h.
Referenced by getTransient(), and produce().
|
private |
Definition at line 37 of file TrackProducer.h.
Referenced by produce().