#include <TrackProducerBase.h>
Public Types | |
using | AlgoProductCollection = typename Base::AlgoProductCollection |
using | Base = AlgoProductTraits< T > |
using | TrackCollection = typename Base::TrackCollection |
using | TrackView = typename Base::TrackView |
Public Types inherited from AlgoProductTraits< T > | |
using | AlgoProductCollection = std::vector< AlgoProduct > |
using | TrackCollection = std::vector< T > |
using | TrackView = edm::View< T > |
Public Member Functions | |
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... | |
virtual void | produce (edm::Event &, const edm::EventSetup &)=0 |
Method where the procduction take place. To be implemented in concrete classes. More... | |
void | setAlias (std::string alias) |
set the aliases of produced collections More... | |
void | setSecondHitPattern (Trajectory *traj, T &track, const Propagator *prop, const MeasurementTrackerEvent *measTk, const TrackerTopology *ttopo) |
TrackProducerBase (bool trajectoryInEvent=false) | |
Constructor. More... | |
virtual | ~TrackProducerBase () noexcept(false) |
Destructor. More... | |
Base Class To Produce Tracks
Definition at line 46 of file TrackProducerBase.h.
using TrackProducerBase< T >::AlgoProductCollection = typename Base::AlgoProductCollection |
Definition at line 51 of file TrackProducerBase.h.
using TrackProducerBase< T >::Base = AlgoProductTraits<T> |
Definition at line 48 of file TrackProducerBase.h.
using TrackProducerBase< T >::TrackCollection = typename Base::TrackCollection |
Definition at line 50 of file TrackProducerBase.h.
using TrackProducerBase< T >::TrackView = typename Base::TrackView |
Definition at line 49 of file TrackProducerBase.h.
|
inline |
|
virtualnoexcept |
Destructor.
|
inline |
Definition at line 92 of file TrackProducerBase.h.
|
virtual |
Get needed services from the Event Setup.
|
virtual |
Get TrackCandidateCollection from the Event (needed by TrackProducer)
|
virtual |
Get TrackCollection from the Event (needed by TrackRefitter)
void TrackProducerBase< T >::initTrackProducerBase | ( | const edm::ParameterSet & | conf, |
edm::ConsumesCollector | cc, | ||
const edm::EDGetToken & | src | ||
) |
Call this method in inheriting class' constructor.
|
pure virtual |
Method where the procduction take place. To be implemented in concrete classes.
Implemented in TrackProducerWithSCAssociation, DAFTrackProducer, TrackProducer, GsfTrackProducer, GsfTrackRefitter, and TrackRefitter.
|
inline |
void TrackProducerBase< T >::setSecondHitPattern | ( | Trajectory * | traj, |
T & | track, | ||
const Propagator * | prop, | ||
const MeasurementTrackerEvent * | measTk, | ||
const TrackerTopology * | ttopo | ||
) |
|
protected |
Definition at line 99 of file TrackProducerBase.h.
Referenced by TrackProducerBase< reco::GsfTrack >::setAlias().
|
protected |
Definition at line 102 of file TrackProducerBase.h.
|
protected |
Definition at line 109 of file TrackProducerBase.h.
|
protected |
Definition at line 95 of file TrackProducerBase.h.
Referenced by TrackProducerBase< reco::GsfTrack >::getConf().
|
protected |
Definition at line 107 of file TrackProducerBase.h.
|
protected |
Definition at line 110 of file TrackProducerBase.h.
|
protected |
Definition at line 106 of file TrackProducerBase.h.
|
protected |
Definition at line 103 of file TrackProducerBase.h.
|
protected |
Definition at line 108 of file TrackProducerBase.h.
|
protected |
Definition at line 101 of file TrackProducerBase.h.
|
protected |
Definition at line 111 of file TrackProducerBase.h.
|
protected |
Definition at line 96 of file TrackProducerBase.h.
|
protected |
Definition at line 113 of file TrackProducerBase.h.
|
protected |
Definition at line 105 of file TrackProducerBase.h.
|
protected |
Definition at line 100 of file TrackProducerBase.h.
|
protected |
Definition at line 114 of file TrackProducerBase.h.