#include <CosmicMuonSmoother.h>
Public Member Functions | |
virtual CosmicMuonSmoother * | clone () const |
CosmicMuonSmoother (const edm::ParameterSet &, const MuonServiceProxy *service) | |
Chi2MeasurementEstimator * | estimator () const |
std::vector< Trajectory > | fit (const Trajectory &) const |
std::vector< Trajectory > | fit (const TrajectorySeed &seed, const ConstRecHitContainer &hits, const TrajectoryStateOnSurface &firstPredTsos) const |
const Propagator * | propagatorAlong () const |
const Propagator * | propagatorOpposite () const |
virtual std::vector< Trajectory > | trajectories (const Trajectory &) const |
virtual TrajectoryContainer | trajectories (const TrajectorySeed &seed, const ConstRecHitContainer &hits, const TrajectoryStateOnSurface &firstPredTsos) const |
refit trajectory More... | |
KFUpdator * | updator () const |
CosmicMuonUtilities * | utilities () const |
virtual | ~CosmicMuonSmoother () |
Public Member Functions inherited from TrajectorySmoother | |
virtual | ~TrajectorySmoother () |
Private Member Functions | |
TrajectoryStateOnSurface | initialState (const Trajectory &) const |
std::vector< Trajectory > | smooth (const std::vector< Trajectory > &) const |
std::vector< Trajectory > | smooth (const Trajectory &) const |
void | sortHitsAlongMom (ConstRecHitContainer &hits, const TrajectoryStateOnSurface &) const |
Private Attributes | |
std::string | category_ |
double | theErrorRescaling |
Chi2MeasurementEstimator * | theEstimator |
std::string | thePropagatorAlongName |
std::string | thePropagatorOppositeName |
const MuonServiceProxy * | theService |
KFUpdator * | theUpdator |
CosmicMuonUtilities * | theUtilities |
Additional Inherited Members | |
Public Types inherited from TrajectorySmoother | |
typedef std::vector< Trajectory > | TrajectoryContainer |
typedef TrajectoryContainer::iterator | TrajectoryIterator |
Definition at line 37 of file CosmicMuonSmoother.h.
CosmicMuonSmoother::CosmicMuonSmoother | ( | const edm::ParameterSet & | par, |
const MuonServiceProxy * | service | ||
) |
Definition at line 34 of file CosmicMuonSmoother.cc.
References category_, Chi2MeasurementEstimatorESProducer_cfi::Chi2MeasurementEstimator, edm::ParameterSet::getParameter(), theErrorRescaling, theEstimator, thePropagatorAlongName, thePropagatorOppositeName, theUpdator, and theUtilities.
Referenced by clone().
|
virtual |
Definition at line 49 of file CosmicMuonSmoother.cc.
References theEstimator, theUpdator, and theUtilities.
|
inlinevirtual |
Implements TrajectorySmoother.
Definition at line 46 of file CosmicMuonSmoother.h.
References CosmicMuonSmoother().
|
inline |
Definition at line 64 of file CosmicMuonSmoother.h.
References theEstimator.
vector< Trajectory > CosmicMuonSmoother::fit | ( | const Trajectory & | t | ) | const |
Definition at line 95 of file CosmicMuonSmoother.cc.
References category_, Trajectory::empty(), initialState(), TrajectoryStateOnSurface::isValid(), LogTrace, Trajectory::recHits(), Trajectory::seed(), and sortHitsAlongMom().
Referenced by CosmicMuonTrajectoryBuilder::flipTrajectory(), trajectories(), and GlobalCosmicMuonTrajectoryBuilder::trajectories().
vector< Trajectory > CosmicMuonSmoother::fit | ( | const TrajectorySeed & | seed, |
const ConstRecHitContainer & | hits, | ||
const TrajectoryStateOnSurface & | firstPredTsos | ||
) | const |
Definition at line 127 of file CosmicMuonSmoother.cc.
References alongMomentum, category_, Chi2MeasurementEstimator::estimate(), TrajectoryStateOnSurface::globalMomentum(), TrajectoryStateOnSurface::globalPosition(), TrajectoryStateOnSurface::isValid(), LogTrace, Trajectory::measurements(), Propagator::propagate(), propagatorAlong(), Trajectory::push(), edm::second(), CosmicMuonUtilities::stepPropagate(), TrajectoryStateOnSurface::surface(), theEstimator, theService, theUpdator, theUtilities, and KFUpdator::update().
|
private |
Definition at line 422 of file CosmicMuonSmoother.cc.
References Trajectory::empty(), PV3DBase< T, PVType, FrameType >::eta(), Trajectory::firstMeasurement(), TrajectoryStateOnSurface::globalMomentum(), TrajectoryStateOnSurface::globalPosition(), TrajectoryStateOnSurface::isValid(), Trajectory::lastMeasurement(), query::result, CosmicMuonUtilities::reverseDirection(), theService, theUtilities, TrajectoryMeasurement::updatedState(), PV3DBase< T, PVType, FrameType >::y(), and PV3DBase< T, PVType, FrameType >::z().
Referenced by fit().
|
inline |
Definition at line 56 of file CosmicMuonSmoother.h.
References MuonServiceProxy::propagator(), thePropagatorAlongName, and theService.
Referenced by fit().
|
inline |
Definition at line 58 of file CosmicMuonSmoother.h.
References MuonServiceProxy::propagator(), thePropagatorOppositeName, and theService.
Referenced by smooth().
|
private |
Definition at line 247 of file CosmicMuonSmoother.cc.
References query::result.
Referenced by trajectories().
|
private |
Definition at line 264 of file CosmicMuonSmoother.cc.
References category_, heavyFlavorValidationHarvestingSequence_cff::combiner, Trajectory::empty(), Chi2MeasurementEstimator::estimate(), TrajectoryMeasurement::estimate(), TrajectoryStateOnSurface::globalMomentum(), TrajectoryStateOnSurface::globalPosition(), TrajectoryStateOnSurface::isValid(), LogTrace, Trajectory::measurements(), oppositeToMomentum, Propagator::propagate(), propagatorOpposite(), TrajectoryStateOnSurface::rescaleError(), Trajectory::seed(), CosmicMuonUtilities::stepPropagate(), TrajectoryStateOnSurface::surface(), theErrorRescaling, theEstimator, theUpdator, theUtilities, and KFUpdator::update().
|
private |
Definition at line 461 of file CosmicMuonSmoother.cc.
References TrajectoryStateOnSurface::globalPosition(), and mag().
Referenced by fit().
|
virtual |
Implements TrajectorySmoother.
Definition at line 61 of file CosmicMuonSmoother.cc.
References fit(), and smooth().
Referenced by CosmicMuonTrajectoryBuilder::estimateDirection(), CosmicMuonTrajectoryBuilder::trajectories(), and GlobalCosmicMuonTrajectoryBuilder::trajectories().
|
virtual |
refit trajectory
Definition at line 70 of file CosmicMuonSmoother.cc.
References category_, fit(), TrajectoryStateOnSurface::isValid(), LogTrace, TrajectoryStateOnSurface::rescaleError(), smooth(), and theErrorRescaling.
|
inline |
|
inline |
Definition at line 62 of file CosmicMuonSmoother.h.
References theUtilities.
Referenced by CosmicMuonTrajectoryBuilder::utilities(), and GlobalCosmicMuonTrajectoryBuilder::utilities().
|
private |
Definition at line 88 of file CosmicMuonSmoother.h.
Referenced by CosmicMuonSmoother(), fit(), smooth(), and trajectories().
|
private |
Definition at line 87 of file CosmicMuonSmoother.h.
Referenced by CosmicMuonSmoother(), smooth(), and trajectories().
|
private |
Definition at line 80 of file CosmicMuonSmoother.h.
Referenced by CosmicMuonSmoother(), estimator(), fit(), smooth(), and ~CosmicMuonSmoother().
|
private |
Definition at line 85 of file CosmicMuonSmoother.h.
Referenced by CosmicMuonSmoother(), and propagatorAlong().
|
private |
Definition at line 86 of file CosmicMuonSmoother.h.
Referenced by CosmicMuonSmoother(), and propagatorOpposite().
|
private |
Definition at line 83 of file CosmicMuonSmoother.h.
Referenced by fit(), initialState(), propagatorAlong(), and propagatorOpposite().
|
private |
Definition at line 79 of file CosmicMuonSmoother.h.
Referenced by CosmicMuonSmoother(), fit(), smooth(), updator(), and ~CosmicMuonSmoother().
|
private |
Definition at line 81 of file CosmicMuonSmoother.h.
Referenced by CosmicMuonSmoother(), fit(), initialState(), smooth(), utilities(), and ~CosmicMuonSmoother().