1 #ifndef Alignment_MuonAlignmentAlgorithms_MuonDT2ChamberResidual_H
2 #define Alignment_MuonAlignmentAlgorithms_MuonDT2ChamberResidual_H
30 if (rawId != 0)
id =
DetId(rawId);
32 return (
m_globalGeometry->idToDet(
id)->toLocal(zDirection).y() > 0. ? 1. : -1.);
36 #endif // Alignment_MuonAlignmentAlgorithms_MuonDT2ChamberResidual_H
double signConvention(const unsigned int rawId=0) const
AlignableDetOrUnitPtr chamberAlignable() const
void addResidual(const TrajectoryStateOnSurface *tsos, const TransientTrackingRecHit *hit)
MuonDT2ChamberResidual(edm::ESHandle< GlobalTrackingGeometry > globalGeometry, AlignableNavigator *navigator, DetId chamberId, AlignableDetOrUnitPtr chamberAlignable)
edm::ESHandle< GlobalTrackingGeometry > m_globalGeometry