#include <CosmicMuonSmoother.h>
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 |
const Chi2MeasurementEstimator * | theEstimator |
std::string | thePropagatorAlongName |
std::string | thePropagatorOppositeName |
const MuonServiceProxy * | theService |
const KFUpdator * | theUpdator |
const CosmicMuonUtilities * | theUtilities |
Additional Inherited Members | |
Public Types inherited from TrajectorySmoother | |
typedef std::vector< Trajectory > | TrajectoryContainer |
typedef TrajectoryContainer::iterator | TrajectoryIterator |
Definition at line 35 of file CosmicMuonSmoother.h.
CosmicMuonSmoother::CosmicMuonSmoother | ( | const edm::ParameterSet & | par, |
const MuonServiceProxy * | service | ||
) |
Definition at line 32 of file CosmicMuonSmoother.cc.
References category_, edm::ParameterSet::getParameter(), theErrorRescaling, theEstimator, thePropagatorAlongName, thePropagatorOppositeName, theUpdator, and theUtilities.
Referenced by clone().
|
virtual |
Definition at line 47 of file CosmicMuonSmoother.cc.
References theEstimator, theUpdator, and theUtilities.
|
inlineoverridevirtual |
Implements TrajectorySmoother.
Definition at line 48 of file CosmicMuonSmoother.h.
References CosmicMuonSmoother().
|
inline |
Definition at line 66 of file CosmicMuonSmoother.h.
References theEstimator.
vector< Trajectory > CosmicMuonSmoother::fit | ( | const Trajectory & | t | ) | const |
Definition at line 94 of file CosmicMuonSmoother.cc.
References category_, Trajectory::empty(), initialState(), TrajectoryStateOnSurface::isValid(), LogTrace, Trajectory::recHits(), Trajectory::seed(), and sortHitsAlongMom().
Referenced by CosmicMuonTrajectoryBuilder::flipTrajectory(), trackingPlots.Iteration::modules(), trajectories(), GlobalCosmicMuonTrajectoryBuilder::trajectories(), and trajectory().
vector< Trajectory > CosmicMuonSmoother::fit | ( | const TrajectorySeed & | seed, |
const ConstRecHitContainer & | hits, | ||
const TrajectoryStateOnSurface & | firstPredTsos | ||
) | const |
Definition at line 126 of file CosmicMuonSmoother.cc.
References alongMomentum, category_, alignCSCRings::e, Chi2MeasurementEstimator::estimate(), f, TrajectoryStateOnSurface::globalMomentum(), TrajectoryStateOnSurface::globalPosition(), TrajectoryStateOnSurface::isValid(), LogTrace, PV3DBase< T, PVType, FrameType >::mag2(), Trajectory::measurements(), Propagator::propagate(), propagatorAlong(), Trajectory::push(), edm::second(), CosmicMuonUtilities::stepPropagate(), TrajectoryStateOnSurface::surface(), theEstimator, theService, theUpdator, theUtilities, and KFUpdator::update().
Referenced by trackingPlots.Iteration::modules().
|
private |
Definition at line 430 of file CosmicMuonSmoother.cc.
References Trajectory::empty(), PV3DBase< T, PVType, FrameType >::eta(), Trajectory::firstMeasurement(), TrajectoryStateOnSurface::globalMomentum(), TrajectoryStateOnSurface::globalPosition(), TrajectoryStateOnSurface::isValid(), Trajectory::lastMeasurement(), mps_fire::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 58 of file CosmicMuonSmoother.h.
References MuonServiceProxy::propagator(), thePropagatorAlongName, and theService.
Referenced by fit().
|
inline |
Definition at line 60 of file CosmicMuonSmoother.h.
References MuonServiceProxy::propagator(), thePropagatorOppositeName, and theService.
Referenced by smooth().
|
inlinevirtual |
|
private |
Definition at line 255 of file CosmicMuonSmoother.cc.
References mps_fire::result.
Referenced by trajectories(), and trajectory().
|
private |
Definition at line 272 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 469 of file CosmicMuonSmoother.cc.
References TrajectoryStateOnSurface::globalPosition(), and mag().
Referenced by fit().
|
inlineoverridevirtual |
Reimplemented from TrajectorySmoother.
Definition at line 44 of file CosmicMuonSmoother.h.
References TrajectorySmoother::trajectories().
Referenced by CosmicMuonTrajectoryBuilder::estimateDirection(), CosmicMuonTrajectoryBuilder::trajectories(), and GlobalCosmicMuonTrajectoryBuilder::trajectories().
|
virtual |
refit trajectory
Definition at line 69 of file CosmicMuonSmoother.cc.
References category_, fit(), TrajectoryStateOnSurface::isValid(), LogTrace, TrajectoryStateOnSurface::rescaleError(), smooth(), and theErrorRescaling.
|
overridevirtual |
Implements TrajectorySmoother.
Definition at line 59 of file CosmicMuonSmoother.cc.
References fit(), and smooth().
|
inline |
|
inline |
Definition at line 64 of file CosmicMuonSmoother.h.
References theUtilities.
Referenced by CosmicMuonTrajectoryBuilder::utilities(), and GlobalCosmicMuonTrajectoryBuilder::utilities().
|
private |
Definition at line 93 of file CosmicMuonSmoother.h.
Referenced by CosmicMuonSmoother(), fit(), smooth(), and trajectories().
|
private |
Definition at line 92 of file CosmicMuonSmoother.h.
Referenced by CosmicMuonSmoother(), smooth(), and trajectories().
|
private |
Definition at line 85 of file CosmicMuonSmoother.h.
Referenced by CosmicMuonSmoother(), estimator(), fit(), smooth(), and ~CosmicMuonSmoother().
|
private |
Definition at line 90 of file CosmicMuonSmoother.h.
Referenced by CosmicMuonSmoother(), and propagatorAlong().
|
private |
Definition at line 91 of file CosmicMuonSmoother.h.
Referenced by CosmicMuonSmoother(), and propagatorOpposite().
|
private |
Definition at line 88 of file CosmicMuonSmoother.h.
Referenced by fit(), initialState(), propagatorAlong(), and propagatorOpposite().
|
private |
Definition at line 84 of file CosmicMuonSmoother.h.
Referenced by CosmicMuonSmoother(), fit(), smooth(), updator(), and ~CosmicMuonSmoother().
|
private |
Definition at line 86 of file CosmicMuonSmoother.h.
Referenced by CosmicMuonSmoother(), fit(), initialState(), smooth(), utilities(), and ~CosmicMuonSmoother().