#include <TransientInitialStateEstimator.h>
Public Types | |
typedef TrajectoryStateOnSurface | TSOS |
Public Member Functions | |
std::pair < TrajectoryStateOnSurface, const GeomDet * > | innerState (const Trajectory &traj, bool doBackFit=true) const |
void | setEventSetup (const edm::EventSetup &es, const TkClonerImpl &hc) |
TransientInitialStateEstimator (const edm::ParameterSet &conf, edm::ConsumesCollector iC) | |
Private Attributes | |
TkClonerImpl | theHitCloner |
const int | theNumberMeasurementsForFit |
const Propagator * | thePropagatorAlong |
const edm::ESGetToken < Propagator, TrackingComponentsRecord > | thePropagatorAlongToken |
const Propagator * | thePropagatorOpposite |
const edm::ESGetToken < Propagator, TrackingComponentsRecord > | thePropagatorOppositeToken |
Computes the trajectory state to be used as a starting state for the track fit from the vector of hits. The parameters of this state are close to the final fit parameters. The error matrix is enlarged in order not to bias the track fit.
Definition at line 24 of file TransientInitialStateEstimator.h.
Definition at line 26 of file TransientInitialStateEstimator.h.
TransientInitialStateEstimator::TransientInitialStateEstimator | ( | const edm::ParameterSet & | conf, |
edm::ConsumesCollector | iC | ||
) |
Definition at line 20 of file TransientInitialStateEstimator.cc.
std::pair< TrajectoryStateOnSurface, const GeomDet * > TransientInitialStateEstimator::innerState | ( | const Trajectory & | traj, |
bool | doBackFit = true |
||
) | const |
Definition at line 35 of file TransientInitialStateEstimator.cc.
References alongMomentum, Chi2MeasurementEstimator_cfi::Chi2MeasurementEstimator, Trajectory::direction(), Trajectory::firstMeasurement(), TrajectoryMeasurement::forwardPredictedState(), mps_fire::i, TrajectoryStateOnSurface::isValid(), Trajectory::isValid(), Trajectory::lastMeasurement(), TrajectoryStateOnSurface::localError(), TrajectoryStateOnSurface::localParameters(), LogDebug, TrajectoryFitter::looper, TrajectoryStateOnSurface::magneticField(), Propagator::magneticField(), Trajectory::measurements(), eostools::move(), Trajectory::nLoops(), oppositeToMomentum, TrajectoryMeasurement::recHit(), TrajectoryStateOnSurface::rescaleError(), TrajectoryFitter::standard, TrajectoryStateOnSurface::surface(), theHitCloner, theNumberMeasurementsForFit, thePropagatorAlong, and TrajectoryMeasurement::updatedState().
void TransientInitialStateEstimator::setEventSetup | ( | const edm::EventSetup & | es, |
const TkClonerImpl & | hc | ||
) |
Definition at line 29 of file TransientInitialStateEstimator.cc.
References edm::EventSetup::getData(), theHitCloner, thePropagatorAlong, thePropagatorAlongToken, thePropagatorOpposite, and thePropagatorOppositeToken.
|
private |
Definition at line 38 of file TransientInitialStateEstimator.h.
Referenced by innerState(), and setEventSetup().
|
private |
Definition at line 39 of file TransientInitialStateEstimator.h.
Referenced by innerState().
|
private |
Definition at line 36 of file TransientInitialStateEstimator.h.
Referenced by innerState(), and setEventSetup().
|
private |
Definition at line 34 of file TransientInitialStateEstimator.h.
Referenced by setEventSetup().
|
private |
Definition at line 37 of file TransientInitialStateEstimator.h.
Referenced by setEventSetup().
|
private |
Definition at line 35 of file TransientInitialStateEstimator.h.
Referenced by setEventSetup().