// Generic PS module properties

moduleType ptPS
// Active silicon size
width 96         // NB: Latest info is 96.055 mm (96 mm used in MB).
length 46.944    // NB: Latest info is 46.999 mm (46.944 mm used in MB) for p-sensor, 47.163 mm (47.163 mm already used in MB) for s-sensor.

sensorLayout pt
zCorrelation samesegment

numSensors 2

powerPerModule 6300 

sensorThickness 0.29     // 290 um active + 30 um inactive

physicalLength 71        // to avoid collisions with previous module in barrels

reduceCombinatorialBackground true 

Sensor 1 {
  sensorType largepix
  numStripsAcross 960
  numSegments 32
  numROCX 4
  numROCY 2
}

Sensor 2 {
  sensorType strip
  numStripsAcross 960
  numSegments 2
  numROCX 4
  numROCY 2
}


// These quantities' materials appear in tkLayout, but the geo volumes are only modeled in CMSSW
serviceHybridWidth 12.0  // 10.63 hybrid + 1.37 inactive silicon // OK
frontEndHybridWidth 11.5 // 10.05 hybrid + 1.45 inactive silicon // OK
hybridThickness 1.0
supportPlateThickness 1.0
outerSensorExtraLength 0.164


plotColor 1

ContourPoint 0 {
  pointX 59.2
  pointY -35.43
}

ContourPoint 1 {
  pointX 65
  pointY -29.63
}

ContourPoint 2 {
  pointX 65
  pointY 29.63
}

ContourPoint 3 {
  pointX 59.2
  pointY 35.43
}

ContourPoint 4 {
  pointX 0
  pointY 35.43
}

ContourPoint 5 {
  pointX -59.2
  pointY 35.43
}

ContourPoint 6 {
  pointX -65
  pointY 29.63
}

ContourPoint 7 {
  pointX -65
  pointY -29.63
}

ContourPoint 8 {
  pointX -59.2
  pointY -35.43
}

ContourPoint 9 {
  pointX  0 
  pointY -35.43
}


