Go to the documentation of this file.
26 double chamber_length) {
40 std::cout <<
" MuonDT13ChamberResidual hitChamberPos x: " << hitChamberPos.
x()
41 <<
" tsosChamberPos x: " << tsosChamberPos.
x() << std::endl;
42 std::cout <<
" hitChamberPos y: " << hitChamberPos.
y()
43 <<
" tsosChamberPos y: " << tsosChamberPos.
y() << std::endl;
44 std::cout <<
" hitChamberPos z: " << hitChamberPos.
z()
45 <<
" tsosChamberPos z: " << tsosChamberPos.
z() << std::endl;
48 double residual = tsosChamberPos.
x() - hitChamberPos.
x();
49 double weight = 1. /
hit->localPositionError().xx();
50 double layerPosition = tsosChamberPos.
z();
51 double layerHitPos = hitChamberPos.
z();
const Surface::PositionType & position() const
The position (origin of the R.F.)
std::vector< DetId > m_localIDs
align::RotationType toLocal(const align::RotationType &) const
Return in local frame a rotation given in global frame.
Sin< T >::type sin(const T &t)
Cos< T >::type cos(const T &t)
const AlignableSurface & surface() const
Return the Surface (global position and orientation) of the object.
LocalPoint toLocal(const GlobalPoint &gp) const
Conversion to the R.F. of the GeomDet.
LocalPoint localPosition() const
GlobalPoint toGlobal(const Local2DPoint &lp) const
Conversion to the global R.F. from the R.F. of the GeomDet.
MuonDT13ChamberResidual(edm::ESHandle< GlobalTrackingGeometry > globalGeometry, AlignableNavigator *navigator, DetId chamberId, AlignableDetOrUnitPtr chamberAlignable)
std::vector< double > m_individual_weight
std::vector< double > m_individual_x
std::vector< double > m_individual_y
edm::ESHandle< GlobalTrackingGeometry > m_globalGeometry
std::vector< double > m_localResids
const GeomDet * idToDet(DetId) const override
AlignableDetOrUnitPtr m_chamberAlignable
void addResidual(edm::ESHandle< Propagator > prop, const TrajectoryStateOnSurface *tsos, const TrackingRecHit *hit, double, double) override