#include <TrackProducerAlgorithm.h>
Public Types | |
typedef std::pair< Trajectory *, std::pair< T *, PropagationDirection > > | AlgoProduct |
typedef std::vector< AlgoProduct > | AlgoProductCollection |
typedef edm::RefToBase < TrajectorySeed > | SeedRef |
typedef std::vector< T > | TrackCollection |
typedef edm::AssociationMap < edm::OneToOne< std::vector < T >, std::vector < VertexConstraint > > > | VtxConstraintAssociationCollection |
Private Member Functions | |
TrajectoryStateOnSurface | getInitialState (const T *theT, TransientTrackingRecHit::RecHitContainer &hits, const TrackingGeometry *theG, const MagneticField *theMF) |
This class calls the Final Fit and builds the Tracks then produced by the TrackProducer or by the TrackRefitter
Definition at line 42 of file TrackProducerAlgorithm.h.
typedef std::pair<Trajectory*, std::pair<T*,PropagationDirection> > TrackProducerAlgorithm< T >::AlgoProduct |
Definition at line 45 of file TrackProducerAlgorithm.h.
typedef std::vector< AlgoProduct > TrackProducerAlgorithm< T >::AlgoProductCollection |
Definition at line 46 of file TrackProducerAlgorithm.h.
typedef edm::RefToBase<TrajectorySeed> TrackProducerAlgorithm< T >::SeedRef |
Definition at line 47 of file TrackProducerAlgorithm.h.
typedef std::vector<T> TrackProducerAlgorithm< T >::TrackCollection |
Definition at line 44 of file TrackProducerAlgorithm.h.
typedef edm::AssociationMap<edm::OneToOne<std::vector<T>,std::vector<VertexConstraint> > > TrackProducerAlgorithm< T >::VtxConstraintAssociationCollection |
Definition at line 49 of file TrackProducerAlgorithm.h.
|
inline |
Constructor.
Definition at line 53 of file TrackProducerAlgorithm.h.
|
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 , |
||
signed char | nLoops = 0 |
||
) |
Construct Tracks to be put in the event.
Referenced by NuclearTrackCorrector::getTrackFromTrajectory(), and TrackProducerWithSCAssociation::produce().
|
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 TrackProducer::getTransient(), TrackProducerWithSCAssociation::getTransient(), GsfTrackProducer::produce(), and TrackProducer::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 GsfTrackRefitter::produce(), and TrackRefitter::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 GsfTrackRefitter::produce(), and TrackRefitter::produce().
|
private |
Definition at line 137 of file TrackProducerAlgorithm.h.
Referenced by TrackProducerAlgorithm< reco::Track >::buildTrack(), and TrackProducerAlgorithm< reco::GsfTrack >::buildTrack().
|
private |
Definition at line 139 of file TrackProducerAlgorithm.h.
Referenced by TrackProducerAlgorithm< reco::Track >::buildTrack(), and TrackProducerAlgorithm< reco::GsfTrack >::buildTrack().
|
private |
Definition at line 141 of file TrackProducerAlgorithm.h.
Referenced by TrackProducerAlgorithm< reco::Track >::buildTrack(), TrackProducerAlgorithm< reco::GsfTrack >::buildTrack(), and TrackProducerAlgorithm< reco::GsfTrack >::TrackProducerAlgorithm().
|
private |
Definition at line 138 of file TrackProducerAlgorithm.h.
Referenced by TrackProducerAlgorithm< reco::Track >::buildTrack(), and TrackProducerAlgorithm< reco::GsfTrack >::buildTrack().
|
private |
Definition at line 140 of file TrackProducerAlgorithm.h.
Referenced by TrackProducerAlgorithm< reco::GsfTrack >::TrackProducerAlgorithm().
|
private |
Definition at line 142 of file TrackProducerAlgorithm.h.
Referenced by TrackProducerAlgorithm< reco::Track >::buildTrack(), TrackProducerAlgorithm< reco::GsfTrack >::buildTrack(), and TrackProducerAlgorithm< reco::GsfTrack >::TrackProducerAlgorithm().