#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 30 of file CosmicMuonUtilities.h.
CosmicMuonUtilities::CosmicMuonUtilities | ( | ) |
Definition at line 22 of file CosmicMuonUtilities.cc.
|
virtual |
Definition at line 27 of file CosmicMuonUtilities.cc.
bool CosmicMuonUtilities::isTraversing | ( | const Trajectory & | t | ) | const |
Definition at line 100 of file CosmicMuonUtilities.cc.
References hfClusterShapes_cfi::hits, 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 40 of file CosmicMuonUtilities.cc.
References convertSQLitetoXML_cfg::output, and PV3DBase< T, PVType, FrameType >::perp().
string CosmicMuonUtilities::print | ( | const MuonRecHitContainer & | hits | ) | const |
Definition at line 60 of file CosmicMuonUtilities.cc.
References convertSQLitetoXML_cfg::output, and PV3DBase< T, PVType, FrameType >::perp().
string CosmicMuonUtilities::print | ( | const ConstRecHitContainer & | hits | ) | const |
Definition at line 80 of file CosmicMuonUtilities.cc.
References convertSQLitetoXML_cfg::output, and PV3DBase< T, PVType, FrameType >::perp().
void CosmicMuonUtilities::reverseDirection | ( | TrajectoryStateOnSurface & | tsos, |
const MagneticField * | mgfield | ||
) | const |
Definition at line 29 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 140 of file CosmicMuonUtilities.cc.
References mps_fire::dest, TrajectoryStateOnSurface::globalPosition(), TrajectoryStateOnSurface::isValid(), LogTrace, PV3DBase< T, PVType, FrameType >::mag(), metname, PlaneBuilder::plane(), Propagator::propagate(), makeMuonMisalignmentScenario::rot, command_line::start, customisers::steps, AlCaHLTBitMon_QueryRunRegistry::string, TrajectoryStateOnSurface::surface(), 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().