Public Member Functions | |
GsfTrackProducer (const edm::ParameterSet &iConfig) | |
void | produce (edm::Event &, const edm::EventSetup &) override |
Method where the procduction take place. To be implemented in concrete classes. More... | |
Public Member Functions inherited from GsfTrackProducerBase | |
GsfTrackProducerBase (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::GsfTrackCollection > &, std::unique_ptr< reco::TrackExtraCollection > &, std::unique_ptr< reco::GsfTrackExtraCollection > &, std::unique_ptr< std::vector< Trajectory > > &, AlgoProductCollection &, TransientTrackingRecHitBuilder const *, const reco::BeamSpot &, const TrackerTopology *ttopo) |
Put produced collections in the event. More... | |
Public Member Functions inherited from TrackProducerBase< reco::GsfTrack > | |
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::GsfTrack &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 |
Static Public Member Functions | |
static void | fillDescriptions (edm::ConfigurationDescriptions &descriptions) |
Private Attributes | |
TrackProducerAlgorithm< reco::GsfTrack > | theAlgo |
const edm::ESGetToken< TrackerTopology, TrackerTopologyRcd > | theTopoToken |
Definition at line 15 of file GsfTrackProducer.cc.
|
explicit |
Definition at line 28 of file GsfTrackProducer.cc.
References TrackProducerBase< reco::GsfTrack >::alias_, edm::ParameterSet::getParameter(), TrackProducerBase< reco::GsfTrack >::initTrackProducerBase(), TrackProducerBase< reco::GsfTrack >::setAlias(), and AlCaHLTBitMon_QueryRunRegistry::string.
|
static |
Definition at line 120 of file GsfTrackProducer.cc.
References edm::ConfigurationDescriptions::add(), submitPVResolutionJobs::desc, ProducerED_cfi::InputTag, and AlCaHLTBitMon_QueryRunRegistry::string.
|
overridevirtual |
Method where the procduction take place. To be implemented in concrete classes.
Implements TrackProducerBase< reco::GsfTrack >.
Definition at line 50 of file GsfTrackProducer.cc.
References cms::cuda::bs, MillePedeFileConverter_cfg::e, TrackProducerBase< reco::GsfTrack >::getFromES(), TrackProducerBase< reco::GsfTrack >::getFromEvt(), edm::EventBase::id(), LogDebug, edm::ESHandle< T >::product(), GsfTrackProducerBase::putInEvt(), TrackProducerAlgorithm< T >::runWithCandidate(), singleTopDQM_cfi::setup, theAlgo, and theTopoToken.
|
private |
Definition at line 23 of file GsfTrackProducer.cc.
Referenced by produce().
|
private |
Definition at line 25 of file GsfTrackProducer.cc.
Referenced by produce().