#include <KalmanAlignmentTrackRefitter.h>
Public Types | |
typedef std::vector < KalmanAlignmentSetup * > | AlignmentSetupCollection |
typedef AlignmentAlgorithmBase::ConstTrajTrackPair | ConstTrajTrackPair |
typedef AlignmentAlgorithmBase::ConstTrajTrackPairCollection | ConstTrajTrackPairCollection |
typedef edm::OwnVector < TrackingRecHit > | RecHitContainer |
typedef KalmanAlignmentSetup::SortingDirection | SortingDirection |
typedef std::vector< TrackletPtr > | TrackletCollection |
typedef KalmanAlignmentTracklet::TrackletPtr | TrackletPtr |
typedef KalmanAlignmentTracklet::TrajTrackPairCollection | TrajTrackPairCollection |
Public Types inherited from TrackProducerBase< reco::Track > | |
typedef std::pair< Trajectory *, std::pair< reco::Track *, PropagationDirection > > | AlgoProduct |
typedef std::vector< AlgoProduct > | AlgoProductCollection |
typedef std::vector< reco::Track > | TrackCollection |
Private Member Functions | |
void | debugTrackData (const std::string identifier, const Trajectory *traj, const reco::Track *track, const reco::BeamSpot *bs) |
TrajTrackPairCollection | refitSingleTracklet (const TrackingGeometry *geometry, const MagneticField *magneticField, const TrajectoryFitter *fitter, const Propagator *propagator, const TransientTrackingRecHitBuilder *recHitBuilder, const reco::TransientTrack &originalTrack, RecHitContainer &recHits, const reco::BeamSpot *beamSpot, const SortingDirection &sortingDir, bool useExternalEstimate, bool reuseMomentumEstimate, const std::string identifier=std::string("RefitSingle_")) |
bool | rejectTrack (const reco::Track *track) const |
void | sortRecHits (RecHitContainer &hits, const TransientTrackingRecHitBuilder *builder, const SortingDirection &sortingDir) const |
Private Attributes | |
bool | theDebugFlag |
AlignableNavigator * | theNavigator |
TrackProducerAlgorithm < reco::Track > | theRefitterAlgo |
Additional Inherited Members | |
Protected Attributes inherited from TrackProducerBase< reco::Track > | |
std::string | alias_ |
edm::InputTag | bsSrc_ |
edm::InputTag | clusterRemovalInfo_ |
bool | rekeyClusterRefs_ |
edm::OrphanHandle < TrackCollection > | rTracks_ |
edm::ESHandle< NavigationSchool > | theSchool |
bool | trajectoryInEvent_ |
This class serves the very specific needs of the KalmanAlignmentAlgorithm. Tracks are partially refitted to 'tracklets' using the current estimate on the alignment (see class CurrentAlignmentKFUpdator. These tracklets are either used to compute an exteranal estimate for other tracklets or are handed to the alignment algorithm for further processing. If a tracklet is used as an external prediction or for further processing is defined via the configuration file. NOTE: The trajectory measurements of the tracklets are always ordered along the direction of the momentum!
Definition at line 31 of file KalmanAlignmentTrackRefitter.h.
typedef std::vector< KalmanAlignmentSetup* > KalmanAlignmentTrackRefitter::AlignmentSetupCollection |
Definition at line 37 of file KalmanAlignmentTrackRefitter.h.
Definition at line 46 of file KalmanAlignmentTrackRefitter.h.
typedef AlignmentAlgorithmBase::ConstTrajTrackPairCollection KalmanAlignmentTrackRefitter::ConstTrajTrackPairCollection |
Definition at line 47 of file KalmanAlignmentTrackRefitter.h.
Definition at line 40 of file KalmanAlignmentTrackRefitter.h.
Definition at line 38 of file KalmanAlignmentTrackRefitter.h.
typedef std::vector< TrackletPtr > KalmanAlignmentTrackRefitter::TrackletCollection |
Definition at line 44 of file KalmanAlignmentTrackRefitter.h.
Definition at line 43 of file KalmanAlignmentTrackRefitter.h.
typedef KalmanAlignmentTracklet::TrajTrackPairCollection KalmanAlignmentTrackRefitter::TrajTrackPairCollection |
Definition at line 42 of file KalmanAlignmentTrackRefitter.h.
KalmanAlignmentTrackRefitter::KalmanAlignmentTrackRefitter | ( | const edm::ParameterSet & | config, |
AlignableNavigator * | navigator | ||
) |
Constructor.
Definition at line 27 of file KalmanAlignmentTrackRefitter.cc.
References edm::ParameterSet::getParameter(), TrackProducerBase< T >::setConf(), and TrackProducerBase< T >::setSrc().
KalmanAlignmentTrackRefitter::~KalmanAlignmentTrackRefitter | ( | void | ) |
|
private |
Definition at line 354 of file KalmanAlignmentTrackRefitter.cc.
References reco::TrackBase::chi2(), reco::TrackBase::dxy(), reco::TrackBase::dz(), alignCSCRings::e, reco::TrackBase::eta(), KalmanAlignmentDataCollector::fillHistogram(), Trajectory::foundHits(), reco::TrackBase::ndof(), reco::TrackBase::normalizedChi2(), reco::TrackBase::phi(), reco::BeamSpot::position(), reco::TrackBase::pt(), and reco::btau::trackChi2.
Referenced by refitTracks().
|
inlinevirtual |
Dummy implementation, due to inheritance from TrackProducerBase.
Implements TrackProducerBase< reco::Track >.
Definition at line 61 of file KalmanAlignmentTrackRefitter.h.
Referenced by JSONExport.JsonExport::export(), HTMLExport.HTMLExport::export(), and HTMLExport.HTMLExportStatic::export().
|
private |
Definition at line 196 of file KalmanAlignmentTrackRefitter.cc.
References anyDirection, edm::OwnVector< T, P >::begin(), TransientTrackingRecHitBuilder::build(), TRecHit1DMomConstraint::build(), TrackProducerAlgorithm< T >::buildTrack(), DeDxDiscriminatorTools::charge(), alignCSCRings::e, edm::OwnVector< T, P >::end(), KalmanAlignmentDataCollector::fillHistogram(), TrajectoryStateOnSurface::globalParameters(), i, reco::TransientTrack::impactPointState(), TrajectoryStateOnSurface::isValid(), TrajectoryStateOnSurface::localError(), TrajectoryStateOnSurface::localParameters(), PV3DBase< T, PVType, FrameType >::mag(), GlobalTrajectoryParameters::momentum(), LocalTrajectoryParameters::momentum(), PV3DBase< T, PVType, FrameType >::perp(), trajectoryStateTransform::persistentState(), AnalyticalPropagator::propagate(), Propagator::propagationDirection(), TrajectoryStateOnSurface::rescaleError(), query::result, edm::OwnVector< T, P >::size(), sortRecHits(), evf::utils::state, TrajectoryStateOnSurface::surface(), and theRefitterAlgo.
Referenced by refitTracks().
KalmanAlignmentTrackRefitter::TrackletCollection KalmanAlignmentTrackRefitter::refitTracks | ( | const edm::EventSetup & | eventSetup, |
const AlignmentSetupCollection & | algoSetups, | ||
const ConstTrajTrackPairCollection & | tracks, | ||
const reco::BeamSpot * | beamSpot | ||
) |
Definition at line 42 of file KalmanAlignmentTrackRefitter.cc.
References AlignableNavigator::alignableFromDetId(), anyDirection, SiPixelRawToDigiRegional_cfi::beamSpot, debugTrackData(), edm::OwnVector< T, P >::empty(), TrackProducerBase< reco::Track >::getFromES(), edm::ESHandle< class >::product(), edm::OwnVector< T, P >::push_back(), refitSingleTracklet(), rejectTrack(), query::result, edm::OwnVector< T, P >::size(), theDebugFlag, theNavigator, and funct::true.
Referenced by KalmanAlignmentAlgorithm::run().
|
private |
Definition at line 338 of file KalmanAlignmentTrackRefitter.cc.
References reco::TrackBase::chi2(), reco::TrackBase::ndof(), and reco::btau::trackChi2.
Referenced by refitTracks().
|
private |
Definition at line 303 of file KalmanAlignmentTrackRefitter.cc.
References edm::OwnVector< T, P >::back(), edm::OwnVector< T, P >::begin(), TransientTrackingRecHitBuilder::build(), edm::OwnVector< T, P >::end(), edm::OwnVector< T, P >::front(), insideOut, mag(), edm::OwnVector< T, P >::push_back(), edm::OwnVector< T, P >::size(), KalmanAlignmentSetup::sortDownsideUp, KalmanAlignmentSetup::sortInsideOut, KalmanAlignmentSetup::sortOutsideIn, KalmanAlignmentSetup::sortUpsideDown, edm::OwnVector< T, P >::swap(), tmp, and detailsBasic3DVector::y.
Referenced by refitSingleTracklet().
|
private |
Definition at line 94 of file KalmanAlignmentTrackRefitter.h.
Referenced by refitTracks().
|
private |
Definition at line 93 of file KalmanAlignmentTrackRefitter.h.
Referenced by refitTracks().
|
private |
Definition at line 91 of file KalmanAlignmentTrackRefitter.h.
Referenced by refitSingleTracklet().