#include <TrackProducerAlgorithm.h>
This class calls the Final Fit and builds the Tracks then produced by the TrackProducer or by the TrackRefitter
Definition at line 32 of file TrackProducerAlgorithm.h.
typedef std::pair<Trajectory*, std::pair<T*,PropagationDirection> > TrackProducerAlgorithm< T >::AlgoProduct |
Definition at line 35 of file TrackProducerAlgorithm.h.
typedef std::vector< AlgoProduct > TrackProducerAlgorithm< T >::AlgoProductCollection |
Definition at line 36 of file TrackProducerAlgorithm.h.
typedef edm::RefToBase<TrajectorySeed> TrackProducerAlgorithm< T >::SeedRef |
Definition at line 37 of file TrackProducerAlgorithm.h.
typedef std::vector<T> TrackProducerAlgorithm< T >::TrackCollection |
Definition at line 34 of file TrackProducerAlgorithm.h.
typedef edm::AssociationMap<edm::OneToOne<std::vector<T>,std::vector<VertexConstraint> > > TrackProducerAlgorithm< T >::VtxConstraintAssociationCollection |
Definition at line 39 of file TrackProducerAlgorithm.h.
TrackProducerAlgorithm< T >::TrackProducerAlgorithm | ( | const edm::ParameterSet & | conf | ) | [inline] |
Constructor.
Definition at line 43 of file TrackProducerAlgorithm.h.
: conf_(conf), algoName_(conf_.getParameter<std::string>( "AlgorithmName" )), algo_(reco::TrackBase::algoByName(algoName_)), reMatchSplitHits_(false) { if (conf_.exists("reMatchSplitHits")) reMatchSplitHits_=conf_.getParameter<bool>("reMatchSplitHits"); }
TrackProducerAlgorithm< T >::~TrackProducerAlgorithm | ( | ) | [inline] |
bool TrackProducerAlgorithm< T >::buildTrack | ( | const TrajectoryFitter * | , |
const Propagator * | , | ||
AlgoProductCollection & | , | ||
TransientTrackingRecHit::RecHitContainer & | , | ||
TrajectoryStateOnSurface & | , | ||
const TrajectorySeed & | , | ||
float | , | ||
const reco::BeamSpot & | , | ||
SeedRef | seedRef = SeedRef() , |
||
int | qualityMask = 0 |
||
) |
Construct Tracks to be put in the event.
Referenced by NuclearTrackCorrector::getTrackFromTrajectory(), TrackProducerWithSCAssociation::produce(), and KalmanAlignmentTrackRefitter::refitSingleTracklet().
TrajectoryStateOnSurface TrackProducerAlgorithm< T >::getInitialState | ( | const T * | theT, |
TransientTrackingRecHit::RecHitContainer & | hits, | ||
const TrackingGeometry * | theG, | ||
const MagneticField * | theMF | ||
) | [private] |
void TrackProducerAlgorithm< T >::runWithCandidate | ( | const TrackingGeometry * | , |
const MagneticField * | , | ||
const TrackCandidateCollection & | , | ||
const TrajectoryFitter * | , | ||
const Propagator * | , | ||
const TransientTrackingRecHitBuilder * | , | ||
const reco::BeamSpot & | , | ||
AlgoProductCollection & | |||
) |
Run the Final Fit taking TrackCandidates as input.
Referenced by TrackProducerWithSCAssociation::getTransient(), TrackProducer::getTransient(), TrackProducer::produce(), and GsfTrackProducer::produce().
void TrackProducerAlgorithm< T >::runWithMomentum | ( | const TrackingGeometry * | , |
const MagneticField * | , | ||
const TrackMomConstraintAssociationCollection & | , | ||
const TrajectoryFitter * | , | ||
const Propagator * | , | ||
const TransientTrackingRecHitBuilder * | , | ||
const reco::BeamSpot & | , | ||
AlgoProductCollection & | |||
) |
Run the Final Fit taking TrackMomConstraintAssociation as input (Refitter with momentum constraint)
Referenced by TrackRefitter::produce().
void TrackProducerAlgorithm< T >::runWithTrack | ( | const TrackingGeometry * | , |
const MagneticField * | , | ||
const TrackCollection & | , | ||
const TrajectoryFitter * | , | ||
const Propagator * | , | ||
const TransientTrackingRecHitBuilder * | , | ||
const reco::BeamSpot & | , | ||
AlgoProductCollection & | |||
) |
Run the Final Fit taking Tracks as input (for Refitter)
Referenced by TrackRefitter::produce(), and GsfTrackRefitter::produce().
void TrackProducerAlgorithm< T >::runWithTrackParameters | ( | const TrackingGeometry * | , |
const MagneticField * | , | ||
const TrackParamConstraintAssociationCollection & | , | ||
const TrajectoryFitter * | , | ||
const Propagator * | , | ||
const TransientTrackingRecHitBuilder * | , | ||
const reco::BeamSpot & | , | ||
AlgoProductCollection & | |||
) |
Run the Final Fit taking TrackParamConstraintAssociation as input (Refitter with complete track parameters constraint) currently hit sorting is disabled - will work (only) with standard tracks
Referenced by TrackRefitter::produce().
void TrackProducerAlgorithm< T >::runWithVertex | ( | const TrackingGeometry * | , |
const MagneticField * | , | ||
const VtxConstraintAssociationCollection & | , | ||
const TrajectoryFitter * | , | ||
const Propagator * | , | ||
const TransientTrackingRecHitBuilder * | , | ||
const reco::BeamSpot & | , | ||
AlgoProductCollection & | |||
) |
Run the Final Fit taking TrackVtxConstraintAssociation as input (Refitter with vertex constraint) currently hit sorting is disabled - will work (only) with standard tracks
Referenced by TrackRefitter::produce(), and GsfTrackRefitter::produce().
reco::TrackBase::TrackAlgorithm TrackProducerAlgorithm< T >::algo_ [private] |
Definition at line 123 of file TrackProducerAlgorithm.h.
Referenced by TrackProducerAlgorithm< reco::Track >::buildTrack(), and TrackProducerAlgorithm< reco::GsfTrack >::buildTrack().
std::string TrackProducerAlgorithm< T >::algoName_ [private] |
Definition at line 122 of file TrackProducerAlgorithm.h.
edm::ParameterSet TrackProducerAlgorithm< T >::conf_ [private] |
Definition at line 121 of file TrackProducerAlgorithm.h.
Referenced by TrackProducerAlgorithm< reco::GsfTrack >::TrackProducerAlgorithm().
bool TrackProducerAlgorithm< T >::reMatchSplitHits_ [private] |
Definition at line 124 of file TrackProducerAlgorithm.h.
Referenced by TrackProducerAlgorithm< reco::GsfTrack >::TrackProducerAlgorithm().