#include <TrajectoryStateCombiner.h>
Public Types | |
typedef TrajectoryStateOnSurface | TSOS |
Public Member Functions | |
TSOS | combine (const TSOS &pTsos1, const TSOS &pTsos2) const |
TSOS | operator() (const TSOS &pTsos1, const TSOS &pTsos2) const |
Combines the information from two trajectory states via a weighted mean. The input states should not be correlated. Ported from ORCA
Definition at line 13 of file TrajectoryStateCombiner.h.
Definition at line 15 of file TrajectoryStateCombiner.h.
TrajectoryStateOnSurface TrajectoryStateCombiner::combine | ( | const TSOS & | pTsos1, |
const TSOS & | pTsos2 | ||
) | const |
Definition at line 6 of file TrajectoryStateCombiner.cc.
References TrajectoryStateOnSurface::globalParameters(), invertPosDefMatrix(), TrajectoryStateOnSurface::localError(), TrajectoryStateOnSurface::localParameters(), GlobalTrajectoryParameters::magneticField(), LocalTrajectoryError::matrix(), convertSQLiteXML::ok, LocalTrajectoryParameters::pzSign(), TrajectoryStateOnSurface::surface(), LocalTrajectoryParameters::vector(), testProducerWithPsetDescEmpty_cfi::x1, and testProducerWithPsetDescEmpty_cfi::x2.
Referenced by OverlapValidation::analyze(), CSCPairResidualsConstraint::dphidzFromTrack(), AlignmentMonitorTemplate::event(), AlignmentMonitorMuonResiduals::event(), operator()(), AlignmentMuonHIPTrajectorySelector::produce(), TrackInfoProducerAlgorithm::run(), HIPAlignmentAlgorithm::run(), and TrajectoryAtInvalidHit::TrajectoryAtInvalidHit().