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 331 of file MultiTrajectoryStateMode.cc.
References TrajectoryStateOnSurface::isValid(), 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 16 of file MultiTrajectoryStateMode.cc.
References makeMuonMisalignmentScenario::components, TrajectoryStateOnSurface::isValid(), SingleGaussianState1D::mean(), and GaussianSumUtilities1D::mode().
Referenced by PFTrackTransformer::addPointsAndBrems(), GsfElectronAlgo::ElectronData::calculateMode(), GsfTrackProducerBase::computeModeAtTM(), 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 111 of file MultiTrajectoryStateMode.cc.
References TrajectoryStateOnSurface::isValid(), gpuVertexFinder::iv, TrajectoryStateOnSurface::localParameters(), 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 180 of file MultiTrajectoryStateMode.cc.
References MultiGaussianState1D::components(), mps_fire::i, TrajectoryStateOnSurface::isValid(), SingleGaussianState1D::mean(), 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 252 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, DiDispStaMuonMonitor_cfi::pt, multPhiCorr_741_25nsDY_cfi::px, multPhiCorr_741_25nsDY_cfi::py, and funct::sin().
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(), 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 63 of file MultiTrajectoryStateMode.cc.
References makeMuonMisalignmentScenario::components, TrajectoryStateOnSurface::isValid(), SingleGaussianState1D::mean(), GaussianSumUtilities1D::mode(), and position.
Referenced by PFTrackTransformer::addPointsAndBrems(), GsfElectronAlgo::ElectronData::calculateMode(), and EgammaHLTGsfTrackVarProducer::produce().
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 215 of file MultiTrajectoryStateMode.cc.
References TrajectoryStateOnSurface::isValid(), gpuVertexFinder::iv, MultiGaussianStateTransform::multiState1D(), position, mps_fire::result, TrajectoryStateOnSurface::surface(), and Surface::toGlobal().