#include <TrackProducerBase.h>
Public Types | |
typedef std::pair< Trajectory *, std::pair< T *, PropagationDirection > > | AlgoProduct |
typedef std::vector< AlgoProduct > | AlgoProductCollection |
typedef std::vector< T > | TrackCollection |
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< TrackCollection > &, 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) |
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 () |
Destructor. More... | |
Protected Attributes | |
std::string | alias_ |
edm::EDGetTokenT< reco::BeamSpot > | bsSrc_ |
edm::InputTag | clusterRemovalInfo_ |
edm::EDGetTokenT < MeasurementTrackerEvent > | mteSrc_ |
bool | rekeyClusterRefs_ |
edm::OrphanHandle < TrackCollection > | rTracks_ |
edm::ESHandle< NavigationSchool > | theSchool |
bool | trajectoryInEvent_ |
Private Attributes | |
edm::ParameterSet | conf_ |
edm::EDGetToken | src_ |
Base Class To Produce Tracks
Definition at line 35 of file TrackProducerBase.h.
typedef std::pair<Trajectory*, std::pair<T*,PropagationDirection> > TrackProducerBase< T >::AlgoProduct |
Definition at line 38 of file TrackProducerBase.h.
typedef std::vector< AlgoProduct > TrackProducerBase< T >::AlgoProductCollection |
Definition at line 39 of file TrackProducerBase.h.
typedef std::vector<T> TrackProducerBase< T >::TrackCollection |
Definition at line 37 of file TrackProducerBase.h.
|
inline |
|
virtual |
Destructor.
|
inline |
Definition at line 89 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)
|
pure virtual |
Method where the procduction take place. To be implemented in concrete classes.
Implemented in KalmanAlignmentTrackRefitter, TrackProducerWithSCAssociation, DAFTrackProducer, TrackProducer, GsfTrackProducer, GsfTrackRefitter, and TrackRefitter.
|
inline |
|
inline |
Sets the information on cluster removal, and turns it on.
Definition at line 81 of file TrackProducerBase.h.
|
inline |
Set parameter set.
Definition at line 67 of file TrackProducerBase.h.
Referenced by KalmanAlignmentTrackRefitter::KalmanAlignmentTrackRefitter().
void TrackProducerBase< T >::setSecondHitPattern | ( | Trajectory * | traj, |
T & | track, | ||
const Propagator * | prop, | ||
const MeasurementTrackerEvent * | measTk | ||
) |
|
inline |
set label of source collection
Definition at line 70 of file TrackProducerBase.h.
|
protected |
Definition at line 94 of file TrackProducerBase.h.
Referenced by TrackProducerBase< reco::GsfTrack >::setAlias().
|
protected |
Definition at line 97 of file TrackProducerBase.h.
Referenced by TrackProducerBase< reco::GsfTrack >::setSrc().
|
protected |
Definition at line 101 of file TrackProducerBase.h.
Referenced by TrackProducerBase< reco::GsfTrack >::setClusterRemovalInfo().
|
private |
Definition at line 91 of file TrackProducerBase.h.
Referenced by TrackProducerBase< reco::GsfTrack >::getConf(), and TrackProducerBase< reco::GsfTrack >::setConf().
|
protected |
Definition at line 98 of file TrackProducerBase.h.
Referenced by TrackProducerBase< reco::GsfTrack >::setSrc().
|
protected |
Definition at line 100 of file TrackProducerBase.h.
Referenced by TrackProducerBase< reco::GsfTrack >::setClusterRemovalInfo().
|
protected |
Definition at line 96 of file TrackProducerBase.h.
|
private |
Definition at line 92 of file TrackProducerBase.h.
Referenced by TrackProducerBase< reco::GsfTrack >::setSrc().
|
protected |
Definition at line 103 of file TrackProducerBase.h.
|
protected |
Definition at line 95 of file TrackProducerBase.h.