File tree Expand file tree Collapse file tree 3 files changed +7
-7
lines changed
Expand file tree Collapse file tree 3 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -102,9 +102,9 @@ class SegmentationMosaix
102102 // stack
103103 float dist = std::hypot (xCurved, yCurved);
104104 float phi = std::atan2 (yCurved, xCurved);
105- xFlat = (mRadius * phi) - WidthH;
106105 // the y position is in the silicon volume however we need the chip volume (silicon+metalstack)
107106 // this is accounted by a y shift
107+ xFlat = WidthH - mRadius * phi;
108108 yFlat = dist - mRadius + NominalYShift;
109109 }
110110
@@ -122,11 +122,12 @@ class SegmentationMosaix
122122 {
123123 // MUST align the flat surface with the curved surface with the original pixel array is on and account for metal
124124 // stack
125+ float dist = yFlat - NominalYShift + mRadius ;
126+ float phi = (WidthH - xFlat) / mRadius ;
125127 // the y position is in the chip volume however we need the silicon volume
126128 // this is accounted by a -y shift
127- float dist = yFlat - NominalYShift + mRadius ;
128- xCurved = dist * std::cos ((xFlat + WidthH) / mRadius );
129- yCurved = dist * std::sin ((xFlat + WidthH) / mRadius );
129+ xCurved = dist * std::cos (phi);
130+ yCurved = dist * std::sin (phi);
130131 }
131132
132133 // / Transformation from Geant detector centered local coordinates (cm) to
Original file line number Diff line number Diff line change 1010
1111#include " CommonUtils/ConfigurableParam.h"
1212#include " CommonUtils/ConfigurableParamHelper.h"
13- #include " ITSMFTSimulation/DPLDigitizerParam.h"
14- #include < string>
1513
1614namespace o2
1715{
Original file line number Diff line number Diff line change @@ -17,4 +17,5 @@ namespace its3
1717{
1818static auto & sDigitizerParamITS3 = o2::its3::ITS3DPLDigitizerParam::Instance();
1919} // namespace its3
20- } // namespace o2
20+ } // namespace o2
21+ O2ParamImpl (o2::its3::ITS3DPLDigitizerParam)
You can’t perform that action at this time.
0 commit comments