@@ -39,21 +39,21 @@ Segmentation::Segmentation()
3939 } else {
4040 auto & itofPars = ITOFChipSpecificParam::Instance ();
4141 auto & otofPars = OTOFChipSpecificParam::Instance ();
42- const ChipSpecifics mITofChipPars (itofPars.NCols , itofPars.NRows , itofPars.PitchCol , itofPars.PitchRow , itofPars.PassiveEdgeReadOut , itofPars.PassiveEdgeTop , itofPars.PassiveEdgeSide , itofPars.SensorLayerThicknessEff , itofPars.SensorLayerThickness );
43- const ChipSpecifics mOTofChipPars (otofPars.NCols , otofPars.NRows , otofPars.PitchCol , otofPars.PitchRow , otofPars.PassiveEdgeReadOut , otofPars.PassiveEdgeTop , otofPars.PassiveEdgeSide , otofPars.SensorLayerThicknessEff , otofPars.SensorLayerThickness );
42+ const ChipSpecifics mITofChipPars (itofPars.NCols , itofPars.NRows , itofPars.PitchCol , itofPars.PitchRow , itofPars.PassiveEdgeReadOut , itofPars.PassiveEdgeTop , itofPars.PassiveEdgeSide , itofPars.PixelPassiveEdgeX , itofPars. PixelPassiveEdgeZ , itofPars. SensorLayerThicknessEff , itofPars.SensorLayerThickness );
43+ const ChipSpecifics mOTofChipPars (otofPars.NCols , otofPars.NRows , otofPars.PitchCol , otofPars.PitchRow , otofPars.PassiveEdgeReadOut , otofPars.PassiveEdgeTop , otofPars.PassiveEdgeSide , otofPars.PixelPassiveEdgeX , otofPars. PixelPassiveEdgeZ , otofPars. SensorLayerThicknessEff , otofPars.SensorLayerThickness );
4444
4545 configChip (mITofChipPars , 0 /* subDetectorID for iTOF */ );
4646 configChip (mOTofChipPars , 1 /* subDetectorID for oTOF */ );
4747 }
4848}
4949
5050void Segmentation::configChip (const int nCols, const int nRows, const float pitchCol, const float pitchRow, const float passiveEdgeReadOut,
51- const float passiveEdgeTop, const float passiveEdgeSide, const float sensorLayerThicknessEff, const float sensorLayerThickness, const int subDetectorID)
51+ const float passiveEdgeTop, const float passiveEdgeSide, const float pixelPassiveEdgeX, const float pixelPassiveEdgeZ, const float sensorLayerThicknessEff, const float sensorLayerThickness, const int subDetectorID)
5252{
5353 if (subDetectorID == 0 ) {
54- mITofSpecsConfig = ChipSpecifics (nCols, nRows, pitchCol, pitchRow, passiveEdgeReadOut, passiveEdgeTop, passiveEdgeSide, sensorLayerThicknessEff, sensorLayerThickness);
54+ mITofSpecsConfig = ChipSpecifics (nCols, nRows, pitchCol, pitchRow, passiveEdgeReadOut, passiveEdgeTop, passiveEdgeSide, pixelPassiveEdgeX, pixelPassiveEdgeZ, sensorLayerThicknessEff, sensorLayerThickness);
5555 } else if (subDetectorID == 1 ) {
56- mOTofSpecsConfig = ChipSpecifics (nCols, nRows, pitchCol, pitchRow, passiveEdgeReadOut, passiveEdgeTop, passiveEdgeSide, sensorLayerThicknessEff, sensorLayerThickness);
56+ mOTofSpecsConfig = ChipSpecifics (nCols, nRows, pitchCol, pitchRow, passiveEdgeReadOut, passiveEdgeTop, passiveEdgeSide, pixelPassiveEdgeX, pixelPassiveEdgeZ, sensorLayerThicknessEff, sensorLayerThickness);
5757 } else {
5858 printf (" Invalid subDetectorID %d. Must be 0 (iTOF) or 1 (oTOF). No configuration applied.\n " , subDetectorID);
5959 }
0 commit comments