#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... | |
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 | 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, T &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 ()(false) |
Destructor. More... | |
Protected Attributes | |
std::string | alias_ |
edm::EDGetTokenT< reco::BeamSpot > | bsSrc_ |
edm::InputTag | clusterRemovalInfo_ |
edm::ParameterSet | conf_ |
edm::EDGetTokenT< MeasurementTrackerEvent > | mteSrc_ |
bool | rekeyClusterRefs_ |
edm::OrphanHandle< TrackCollection > | rTracks_ |
edm::EDGetToken | src_ |
edm::ESHandle< NavigationSchool > | theSchool |
bool | trajectoryInEvent_ |
Base Class To Produce Tracks
Definition at line 40 of file TrackProducerBase.h.
using TrackProducerBase< T >::AlgoProductCollection = typename Base::AlgoProductCollection |
Definition at line 45 of file TrackProducerBase.h.
using TrackProducerBase< T >::Base = AlgoProductTraits<T> |
Definition at line 42 of file TrackProducerBase.h.
using TrackProducerBase< T >::TrackCollection = typename Base::TrackCollection |
Definition at line 44 of file TrackProducerBase.h.
using TrackProducerBase< T >::TrackView = typename Base::TrackView |
Definition at line 43 of file TrackProducerBase.h.
|
inline |
|
virtual |
Destructor.
Referenced by TrackProducerBase< reco::GsfTrack >::TrackProducerBase().
|
inline |
Definition at line 97 of file TrackProducerBase.h.
|
virtual |
Get needed services from the Event Setup.
Referenced by TrackProducerBase< reco::GsfTrack >::TrackProducerBase().
|
virtual |
Get TrackCandidateCollection from the Event (needed by TrackProducer)
Referenced by TrackProducerBase< reco::GsfTrack >::TrackProducerBase().
|
virtual |
Get TrackCollection from the Event (needed by TrackRefitter)
|
pure virtual |
Method where the procduction take place. To be implemented in concrete classes.
Implemented in TrackProducerWithSCAssociation, DAFTrackProducer, TrackProducer, GsfTrackRefitter, TrackRefitter, and GsfTrackProducer.
Referenced by TrackProducerBase< reco::GsfTrack >::TrackProducerBase().
|
inline |
|
inline |
Sets the information on cluster removal, and turns it on.
Definition at line 88 of file TrackProducerBase.h.
|
inline |
void TrackProducerBase< T >::setSecondHitPattern | ( | Trajectory * | traj, |
T & | track, | ||
const Propagator * | prop, | ||
const MeasurementTrackerEvent * | measTk, | ||
const TrackerTopology * | ttopo | ||
) |
Referenced by TrackProducerBase< reco::GsfTrack >::setClusterRemovalInfo().
|
inline |
set label of source collection
Definition at line 77 of file TrackProducerBase.h.
|
protected |
Definition at line 102 of file TrackProducerBase.h.
Referenced by TrackProducerBase< reco::GsfTrack >::setAlias().
|
protected |
Definition at line 105 of file TrackProducerBase.h.
Referenced by TrackProducerBase< reco::GsfTrack >::setSrc().
|
protected |
Definition at line 109 of file TrackProducerBase.h.
Referenced by TrackProducerBase< reco::GsfTrack >::setClusterRemovalInfo().
|
protected |
Definition at line 99 of file TrackProducerBase.h.
Referenced by TrackProducerBase< reco::GsfTrack >::getConf(), and TrackProducerBase< reco::GsfTrack >::setConf().
|
protected |
Definition at line 106 of file TrackProducerBase.h.
Referenced by TrackProducerBase< reco::GsfTrack >::setSrc().
|
protected |
Definition at line 108 of file TrackProducerBase.h.
Referenced by TrackProducerBase< reco::GsfTrack >::setClusterRemovalInfo().
|
protected |
Definition at line 104 of file TrackProducerBase.h.
|
protected |
Definition at line 100 of file TrackProducerBase.h.
Referenced by TrackProducerBase< reco::GsfTrack >::setSrc().
|
protected |
Definition at line 111 of file TrackProducerBase.h.
|
protected |
Definition at line 103 of file TrackProducerBase.h.