#include <GsfTrackRefitter.h>
Public Member Functions | |
GsfTrackRefitter (const edm::ParameterSet &iConfig) | |
Constructor. More... | |
void | produce (edm::Event &, const edm::EventSetup &) override |
Implementation of produce method. 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 | setAlias (std::string alias) |
set the aliases of produced collections More... | |
void | setClusterRemovalInfo (const edm::InputTag &clusterRemovalInfo) |
Sets the information on cluster removal, and turns it on. More... | |
void | setConf (const edm::ParameterSet &conf) |
Set parameter set. More... | |
void | setSecondHitPattern (Trajectory *traj, reco::GsfTrack &track, const Propagator *prop, const MeasurementTrackerEvent *measTk, const TrackerTopology *ttopo) |
void | setSrc (const edm::EDGetToken &src, const edm::EDGetTokenT< reco::BeamSpot > &bsSrc, const edm::EDGetTokenT< MeasurementTrackerEvent > &mteSrc) |
set label of source collection More... | |
TrackProducerBase (bool trajectoryInEvent=false) | |
Constructor. More... | |
virtual | ~TrackProducerBase () noexcept(false) |
Destructor. More... | |
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 Types | |
enum | Constraint { none, vertex } |
Private Attributes | |
Constraint | constraint_ |
edm::EDGetTokenT< GsfTrackVtxConstraintAssociationCollection > | gsfTrackVtxConstraintTag_ |
TrackProducerAlgorithm< reco::GsfTrack > | theAlgo |
Refit GSF Tracks. Based on the TrackRefitter.
Definition at line 14 of file GsfTrackRefitter.h.
|
private |
Enumerator | |
---|---|
none | |
vertex |
Definition at line 24 of file GsfTrackRefitter.h.
|
explicit |
Constructor.
Definition at line 18 of file GsfTrackRefitter.cc.
References TrackProducerBase< reco::GsfTrack >::alias_, constraint_, Exception, edm::ParameterSet::getParameter(), gsfTrackVtxConstraintTag_, none, TrackProducerBase< reco::GsfTrack >::setAlias(), TrackProducerBase< reco::GsfTrack >::setConf(), TrackProducerBase< reco::GsfTrack >::setSrc(), AlCaHLTBitMon_QueryRunRegistry::string, and vertex.
|
overridevirtual |
Implementation of produce method.
Implements TrackProducerBase< reco::GsfTrack >.
Definition at line 52 of file GsfTrackRefitter.cc.
References cms::cuda::bs, TrackProducerBase< reco::GsfTrack >::bsSrc_, constraint_, MillePedeFileConverter_cfg::e, edm::HandleBase::failedToGet(), get, edm::Event::getByToken(), TrackProducerBase< reco::GsfTrack >::getFromES(), TrackProducerBase< reco::GsfTrack >::getFromEvt(), gsfTrackVtxConstraintTag_, edm::EventBase::id(), LogDebug, none, edm::ESHandle< T >::product(), GsfTrackProducerBase::putInEvt(), TrackProducerAlgorithm< T >::runWithTrack(), TrackProducerAlgorithm< T >::runWithVertex(), singleTopDQM_cfi::setup, theAlgo, and vertex.
|
private |
Definition at line 29 of file GsfTrackRefitter.h.
Referenced by GsfTrackRefitter(), and produce().
|
private |
Definition at line 30 of file GsfTrackRefitter.h.
Referenced by GsfTrackRefitter(), and produce().
|
private |
Definition at line 23 of file GsfTrackRefitter.h.
Referenced by produce().