#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_, Chi2MeasurementEstimator_cfi::Chi2MeasurementEstimator, edm::ParameterSet::getParameter(), theErrorRescaling, theEstimator, thePropagatorAlongName, thePropagatorOppositeName, theUpdator, and theUtilities.
|
override |
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 hfClusterShapes_cfi::hits, SurveyInfoScenario_cff::seed, and HiRegitMuonDetachedTripletStep_cff::trajectories.
|
inline |
Definition at line 66 of file CosmicMuonSmoother.h.
References trackingPlots::fit.
vector< Trajectory > CosmicMuonSmoother::fit | ( | const Trajectory & | t | ) | const |
Definition at line 94 of file CosmicMuonSmoother.cc.
References category_, Trajectory::empty(), hfClusterShapes_cfi::hits, 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_, MillePedeFileConverter_cfg::e, f, TrajectoryStateOnSurface::globalMomentum(), TrajectoryStateOnSurface::globalPosition(), TrajectoryStateOnSurface::isValid(), LogTrace, Propagator::propagate(), propagatorAlong(), edm::second(), CosmicMuonUtilities::stepPropagate(), 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.
Referenced by fit().
|
inline |
Definition at line 60 of file CosmicMuonSmoother.h.
Referenced by smooth().
|
inlineoverridevirtual |
|
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_, Trajectory::empty(), TrajectoryMeasurement::estimate(), TrajectoryStateOnSurface::isValid(), LogTrace, Trajectory::measurements(), oppositeToMomentum, Propagator::propagate(), propagatorOpposite(), TrajectoryStateOnSurface::rescaleError(), Trajectory::seed(), CosmicMuonUtilities::stepPropagate(), theErrorRescaling, theEstimator, theUpdator, theUtilities, and KFUpdator::update().
|
private |
Definition at line 469 of file CosmicMuonSmoother.cc.
References TrajectoryStateOnSurface::globalPosition(), mag(), and groupFilesInBlocks::reverse.
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 |
Definition at line 62 of file CosmicMuonSmoother.h.
|
inline |
Definition at line 64 of file CosmicMuonSmoother.h.
|
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(), fit(), smooth(), and ~CosmicMuonSmoother().
|
private |
Definition at line 90 of file CosmicMuonSmoother.h.
Referenced by CosmicMuonSmoother().
|
private |
Definition at line 91 of file CosmicMuonSmoother.h.
Referenced by CosmicMuonSmoother().
|
private |
Definition at line 88 of file CosmicMuonSmoother.h.
Referenced by fit(), and initialState().
|
private |
Definition at line 84 of file CosmicMuonSmoother.h.
Referenced by CosmicMuonSmoother(), fit(), smooth(), and ~CosmicMuonSmoother().
|
private |
Definition at line 86 of file CosmicMuonSmoother.h.
Referenced by CosmicMuonSmoother(), fit(), initialState(), smooth(), and ~CosmicMuonSmoother().