#include <TrackRefitter.h>
Public Member Functions | |
virtual void | produce (edm::Event &, const edm::EventSetup &) |
Implementation of produce method. More... | |
TrackRefitter (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::auto_ptr< TrackingRecHitCollection > &, std::auto_ptr< reco::TrackCollection > &, std::auto_ptr< reco::TrackExtraCollection > &, std::auto_ptr< std::vector< Trajectory > > &, AlgoProductCollection &) |
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< TrackCollection > &, 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 (edm::ParameterSet conf) |
Set parameter set. More... | |
void | setSecondHitPattern (Trajectory *traj, reco::Track &track, const Propagator *prop, const MeasurementTracker *measTk) |
void | setSrc (edm::InputTag src, edm::InputTag bsSrc) |
set label of source collection More... | |
TrackProducerBase (bool trajectoryInEvent=false) | |
Constructor. More... | |
virtual | ~TrackProducerBase () |
Destructor. More... | |
Public Member Functions inherited from edm::EDProducer | |
EDProducer () | |
virtual | ~EDProducer () |
Public Member Functions inherited from edm::ProducerBase | |
ProducerBase () | |
void | registerProducts (ProducerBase *, ProductRegistry *, ModuleDescription const &) |
boost::function< void(const BranchDescription &)> | registrationCallback () const |
used by the fwk to register list of products More... | |
virtual | ~ProducerBase () |
Private Types | |
enum | Constraint { none, momentum, vertex, trackParameters } |
Private Attributes | |
Constraint | constraint_ |
TrackProducerAlgorithm < reco::Track > | theAlgo |
edm::InputTag | trkconstrcoll_ |
Refit Tracks: Produce Tracks from TrackCollection. It performs a new final fit on a TrackCollection.
Definition at line 15 of file TrackRefitter.h.
|
private |
Enumerator | |
---|---|
none | |
momentum | |
vertex | |
trackParameters |
Definition at line 26 of file TrackRefitter.h.
|
explicit |
Constructor.
Definition at line 13 of file TrackRefitter.cc.
References TrackProducerBase< reco::Track >::alias_, constraint_, edm::hlt::Exception, edm::ParameterSet::getParameter(), momentum, none, TrackProducerBase< reco::Track >::setAlias(), TrackProducerBase< reco::Track >::setConf(), TrackProducerBase< reco::Track >::setSrc(), trackParameters, trkconstrcoll_, and vertex.
|
virtual |
Implementation of produce method.
Implements edm::EDProducer.
Definition at line 43 of file TrackRefitter.cc.
References TrackProducerBase< reco::Track >::bsSrc_, constraint_, alignCSCRings::e, edm::HandleBase::failedToGet(), edm::Event::getByLabel(), TrackProducerBase< reco::Track >::getFromES(), TrackProducerBase< reco::Track >::getFromEvt(), edm::EventBase::id(), LogDebug, momentum, none, edm::ESHandle< class >::product(), KfTrackProducerBase::putInEvt(), TrackProducerAlgorithm< T >::runWithMomentum(), TrackProducerAlgorithm< T >::runWithTrack(), TrackProducerAlgorithm< T >::runWithTrackParameters(), TrackProducerAlgorithm< T >::runWithVertex(), theAlgo, trackParameters, trkconstrcoll_, and vertex.
|
private |
Definition at line 27 of file TrackRefitter.h.
Referenced by produce(), and TrackRefitter().
|
private |
Definition at line 25 of file TrackRefitter.h.
Referenced by produce().
|
private |
Definition at line 28 of file TrackRefitter.h.
Referenced by produce(), and TrackRefitter().