Skip to content
Snippets Groups Projects

Updating MM tracking surfaces positions

Merged Stefano Rosati requested to merge (removed):nsw_surfaces into 21.3
2 files
+ 22
15
Compare changes
  • Side-by-side
  • Inline
Files
2
@@ -301,14 +301,11 @@ namespace MuonGM {
// identifier of the first channel
Identifier id = manager()->mmIdHelper()->channelID(getStationName(),getStationEta(),getStationPhi(),m_ml, layer+1, 1);
// move the readout plane to the sensitive volume boundary
double shift = 0.5*m_etaDesign[layer].thickness;
double rox = ( layer==0 || layer==2) ? shift : -shift;
/// keep the tracking surface at the center of the gap
double sAngle = m_etaDesign[layer].sAngle;
// need to operate switch x<->z because of GeoTrd definition
m_surfaceData->m_layerSurfaces.push_back( new Trk::PlaneSurface(*this, id) );
m_surfaceData->m_layerTransforms.push_back(absTransform()*m_Xlg[layer]*Amg::Translation3D(rox,0.,0.)*
m_surfaceData->m_layerTransforms.push_back(absTransform()*m_Xlg[layer]*
Amg::AngleAxis3D(-90.*CLHEP::deg,Amg::Vector3D(0.,1.,0.)) );
// surface info (center, normal)
Loading