Functions | |
int | chargeFromMode (TrajectoryStateOnSurface const &tsos) |
bool | momentumFromModeCartesian (TrajectoryStateOnSurface const &tsos, GlobalVector &momentum) |
bool | momentumFromModeLocal (TrajectoryStateOnSurface const &tsos, GlobalVector &momentum) |
bool | momentumFromModeP (TrajectoryStateOnSurface const &tsos, double &momentum) |
bool | momentumFromModePPhiEta (TrajectoryStateOnSurface const &tsos, GlobalVector &momentum) |
bool | momentumFromModeQP (TrajectoryStateOnSurface const &tsos, double &momentum) |
bool | positionFromModeCartesian (TrajectoryStateOnSurface const &tsos, GlobalPoint &position) |
bool | positionFromModeLocal (TrajectoryStateOnSurface const &tsos, GlobalPoint &position) |
int multiTrajectoryStateMode::chargeFromMode | ( | TrajectoryStateOnSurface const & | tsos | ) |
Charge from 1D mode calculation in q/p. Q=0 in case of failure.
Definition at line 332 of file MultiTrajectoryStateMode.cc.
References TrajectoryStateOnSurface::isValid(), SingleGaussianState1D::mean(), GaussianSumUtilities1D::mean(), GaussianSumUtilities1D::mode(), GaussianSumUtilities1D::modeIsValid(), MultiGaussianStateTransform::multiState1D(), and mps_fire::result.
bool multiTrajectoryStateMode::momentumFromModeCartesian | ( | TrajectoryStateOnSurface const & | tsos, |
GlobalVector & | momentum | ||
) |
Cartesian momentum from 1D mode calculation in cartesian co-ordinates. Return value true for success.
Definition at line 17 of file MultiTrajectoryStateMode.cc.
References makeMuonMisalignmentScenario::components, TrajectoryStateOnSurface::isValid(), SingleGaussianState1D::mean(), and GaussianSumUtilities1D::mode().
Referenced by PFTrackTransformer::addPointsAndBrems(), GsfElectronAlgo::ElectronData::calculateMode(), GsfTrackProducerBase::computeModeAtTM(), EgammaHLTGsfTrackVarProducer::TrackExtrapolator::extrapolateTrackMomToPoint(), MultiTrajectoryStateTransform::innerMomentumFromMode(), MultiTrajectoryStateTransform::outerMomentumFromMode(), EgammaHLTPixelMatchElectronAlgo::process(), and PFElecTkProducer::produce().
bool multiTrajectoryStateMode::momentumFromModeLocal | ( | TrajectoryStateOnSurface const & | tsos, |
GlobalVector & | momentum | ||
) |
Cartesian momentum from 1D mode calculation in local co-ordinates (q/p, dx/dz, dy/dz). Return value true for success.
Definition at line 112 of file MultiTrajectoryStateMode.cc.
References TrajectoryStateOnSurface::isValid(), TrajectoryStateOnSurface::localParameters(), SingleGaussianState1D::mean(), GaussianSumUtilities1D::mean(), GaussianSumUtilities1D::mode(), GaussianSumUtilities1D::modeIsValid(), MultiGaussianStateTransform::multiState1D(), LocalTrajectoryParameters::pzSign(), mps_fire::result, mathSSE::sqrt(), TrajectoryStateOnSurface::surface(), and Surface::toGlobal().
bool multiTrajectoryStateMode::momentumFromModeP | ( | TrajectoryStateOnSurface const & | tsos, |
double & | momentum | ||
) |
Momentum from 1D mode calculation in p. Return value true for sucess.
Definition at line 181 of file MultiTrajectoryStateMode.cc.
References MultiGaussianState1D::components(), mps_fire::i, TrajectoryStateOnSurface::isValid(), SingleGaussianState1D::mean(), GaussianSumUtilities1D::mean(), GaussianSumUtilities1D::mode(), GaussianSumUtilities1D::modeIsValid(), MultiGaussianStateTransform::multiState1D(), AlCaHLTBitMon_ParallelJobs::p, SingleGaussianState1D::variance(), and SingleGaussianState1D::weight().
bool multiTrajectoryStateMode::momentumFromModePPhiEta | ( | TrajectoryStateOnSurface const & | tsos, |
GlobalVector & | momentum | ||
) |
Cartesian momentum from 1D mode calculation in p, phi, eta. Return value true for success.
Definition at line 253 of file MultiTrajectoryStateMode.cc.
References makeMuonMisalignmentScenario::components, funct::cos(), PVValHelper::eta, JetChargeProducer_cfi::exp, TrajectoryStateOnSurface::isValid(), SingleGaussianState1D::mean(), GaussianSumUtilities1D::mean(), GaussianSumUtilities1D::mode(), GaussianSumUtilities1D::modeIsValid(), AlCaHLTBitMon_ParallelJobs::p, EnergyCorrector::pt, funct::sin(), and PV3DBase< T, PVType, FrameType >::x().
bool multiTrajectoryStateMode::momentumFromModeQP | ( | TrajectoryStateOnSurface const & | tsos, |
double & | momentum | ||
) |
Momentum from 1D mode calculation in q/p. Return value true for sucess.
Definition at line 152 of file MultiTrajectoryStateMode.cc.
References TrajectoryStateOnSurface::isValid(), SingleGaussianState1D::mean(), GaussianSumUtilities1D::mean(), GaussianSumUtilities1D::mode(), GaussianSumUtilities1D::modeIsValid(), and MultiGaussianStateTransform::multiState1D().
bool multiTrajectoryStateMode::positionFromModeCartesian | ( | TrajectoryStateOnSurface const & | tsos, |
GlobalPoint & | position | ||
) |
Cartesian position from 1D mode calculation in cartesian co-ordinates. Return value true for success.
Definition at line 64 of file MultiTrajectoryStateMode.cc.
References makeMuonMisalignmentScenario::components, TrajectoryStateOnSurface::isValid(), SingleGaussianState1D::mean(), and GaussianSumUtilities1D::mode().
Referenced by PFTrackTransformer::addPointsAndBrems(), GsfElectronAlgo::ElectronData::calculateMode(), and EgammaHLTGsfTrackVarProducer::TrackExtrapolator::extrapolateTrackPosToPoint().
bool multiTrajectoryStateMode::positionFromModeLocal | ( | TrajectoryStateOnSurface const & | tsos, |
GlobalPoint & | position | ||
) |
Cartesian position from 1D mode calculation in local co-ordinates (x, y). Return value true for success.
Definition at line 217 of file MultiTrajectoryStateMode.cc.
References TrajectoryStateOnSurface::isValid(), SingleGaussianState1D::mean(), GaussianSumUtilities1D::mean(), GaussianSumUtilities1D::mode(), GaussianSumUtilities1D::modeIsValid(), MultiGaussianStateTransform::multiState1D(), mps_fire::result, TrajectoryStateOnSurface::surface(), and Surface::toGlobal().