#include <CosmicMuonUtilities.h>
Public Member Functions | |
CosmicMuonUtilities () | |
bool | isTraversing (const Trajectory &) const |
std::string | print (const ConstMuonRecHitContainer &) const |
std::string | print (const MuonRecHitContainer &) const |
std::string | print (const ConstRecHitContainer &) const |
void | reverseDirection (TrajectoryStateOnSurface &, const MagneticField *) const |
TrajectoryStateOnSurface | stepPropagate (const TrajectoryStateOnSurface &, const ConstRecHitPointer &, const Propagator &) const |
virtual | ~CosmicMuonUtilities () |
Definition at line 29 of file CosmicMuonUtilities.h.
CosmicMuonUtilities::CosmicMuonUtilities | ( | ) |
Definition at line 24 of file CosmicMuonUtilities.cc.
|
virtual |
Definition at line 31 of file CosmicMuonUtilities.cc.
bool CosmicMuonUtilities::isTraversing | ( | const Trajectory & | t | ) | const |
Definition at line 133 of file CosmicMuonUtilities.cc.
References PV3DBase< T, PVType, FrameType >::mag(), PV3DBase< T, PVType, FrameType >::perp(), Trajectory::recHits(), PV3DBase< T, PVType, FrameType >::x(), PV3DBase< T, PVType, FrameType >::y(), and PV3DBase< T, PVType, FrameType >::z().
string CosmicMuonUtilities::print | ( | const ConstMuonRecHitContainer & | hits | ) | const |
Definition at line 52 of file CosmicMuonUtilities.cc.
References convertSQLitetoXML_cfg::output, PV3DBase< T, PVType, FrameType >::perp(), and pos.
string CosmicMuonUtilities::print | ( | const MuonRecHitContainer & | hits | ) | const |
Definition at line 79 of file CosmicMuonUtilities.cc.
References convertSQLitetoXML_cfg::output, PV3DBase< T, PVType, FrameType >::perp(), and pos.
string CosmicMuonUtilities::print | ( | const ConstRecHitContainer & | hits | ) | const |
Definition at line 106 of file CosmicMuonUtilities.cc.
References convertSQLitetoXML_cfg::output, PV3DBase< T, PVType, FrameType >::perp(), and pos.
void CosmicMuonUtilities::reverseDirection | ( | TrajectoryStateOnSurface & | tsos, |
const MagneticField * | mgfield | ||
) | const |
Definition at line 35 of file CosmicMuonUtilities.cc.
References TrajectoryStateOnSurface::cartesianError(), TrajectoryStateOnSurface::charge(), TrajectoryStateOnSurface::globalMomentum(), TrajectoryStateOnSurface::globalPosition(), and TrajectoryStateOnSurface::surface().
Referenced by CosmicMuonTrajectoryBuilder::estimateDirection(), CosmicMuonTrajectoryBuilder::flipTrajectory(), and CosmicMuonSmoother::initialState().
TrajectoryStateOnSurface CosmicMuonUtilities::stepPropagate | ( | const TrajectoryStateOnSurface & | tsos, |
const ConstRecHitPointer & | hit, | ||
const Propagator & | prop | ||
) | const |
Definition at line 168 of file CosmicMuonUtilities.cc.
References alignmentValidation::dest, TrajectoryStateOnSurface::globalPosition(), TrajectoryStateOnSurface::isValid(), LogTrace, PV3DBase< T, PVType, FrameType >::mag(), metname, PlaneBuilder::plane(), pos, Propagator::propagate(), cmsPerfSuiteHarvest::steps, Vector3DBase< T, FrameTag >::unit(), PV3DBase< T, PVType, FrameType >::x(), PV3DBase< T, PVType, FrameType >::y(), and PV3DBase< T, PVType, FrameType >::z().
Referenced by CosmicMuonSmoother::fit(), and CosmicMuonSmoother::smooth().