26 double residual = tsosChamberPos.
x() - hitChamberPos.
x();
28 double layerPosition = tsosChamberPos.
z();
29 double layerHitPos = hitChamberPos.
z();
44 m_trackx_xx += weight * layerPosition * layerPosition;
45 m_trackx_xy += weight * layerPosition * tsosChamberPos.
x();
51 m_tracky_xx += weight * layerPosition * layerPosition;
52 m_tracky_xy += weight * layerPosition * tsosChamberPos.
y();
57 m_hitx_xx += weight * layerHitPos * layerHitPos;
58 m_hitx_xy += weight * layerHitPos * hitChamberPos.
x();
63 m_hity_xx += weight * layerHitPos * layerPosition;
64 m_hity_xy += weight * layerHitPos * hitChamberPos.
y();
std::vector< double > m_individual_y
LocalPoint localPosition() const
Sin< T >::type sin(const T &t)
MuonDT13ChamberResidual(edm::ESHandle< GlobalTrackingGeometry > globalGeometry, AlignableNavigator *navigator, DetId chamberId, AlignableDetOrUnitPtr chamberAlignable)
std::vector< double > m_individual_x
std::vector< DetId > m_localIDs
align::RotationType toLocal(const align::RotationType &) const
Return in local frame a rotation given in global frame.
std::vector< double > m_localResids
Cos< T >::type cos(const T &t)
AlignableDetOrUnitPtr m_chamberAlignable
const AlignableSurface & surface() const
Return the Surface (global position and orientation) of the object.
virtual LocalError localPositionError() const =0
virtual void addResidual(const TrajectoryStateOnSurface *tsos, const TransientTrackingRecHit *hit)
edm::ESHandle< GlobalTrackingGeometry > m_globalGeometry
DetId geographicalId() const
virtual LocalPoint localPosition() const =0
std::vector< double > m_individual_weight