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