@@ -130,18 +130,17 @@ void Digitizer::processHit(const o2::itsmft::Hit& hit, int evID, int srcID)
130130 LOG (debug) << " Invalid detector ID: " << chipID << " , geometry size: " << mGeometry ->getSize ();
131131 return ; // invalid detector ID
132132 }
133-
133+
134134 // Create the digit with time information
135135 o2::MCCompLabel label (hit.GetTrackID (), evID, srcID, false );
136136 const int roFrameAbs = 0 ; // For now, we can set this to 0 or calculate based on time if needed
137137 const int nROF = 1 ; // For now, we can assume the signal is contained in one ROF, this can be extended to multiple ROFs based on the time
138-
139-
138+
140139 if (digitizerParams.performStepping ) {
141140 float ** respMatrix = nullptr ;
142141 int rowStart = 0 , colStart = 0 , rowSpan = 0 , colSpan = 0 ;
143142 stepping (hit, respMatrix, rowStart, colStart, rowSpan, colSpan);
144-
143+
145144 for (int irow = rowSpan; irow--;) {
146145 uint16_t rowIS = irow + rowStart;
147146 for (int icol = colSpan; icol--;) {
@@ -152,7 +151,7 @@ void Digitizer::processHit(const o2::itsmft::Hit& hit, int evID, int srcID)
152151 }
153152 const int nElectronsSampled = gRandom ->Poisson (electronsPerStep * nEleResp);
154153 // Noise can be added here if needed
155-
154+
156155 registerDigits (chip, roFrameAbs, smearedTime, nROF,
157156 static_cast <uint16_t >(rowIS), static_cast <uint16_t >(colIS), nElectronsSampled, label);
158157 }
@@ -266,7 +265,7 @@ void Digitizer::responseInTheMiddle(const o2::itsmft::Hit& hit, int& row, int& c
266265 const int chipID = hit.GetDetectorID ();
267266
268267 math_utils::Vector3D<float > xyzPositionStart (matrix ^ (hit.GetPosStart ())); // start position in sensor frame
269- math_utils::Vector3D<float > xyzPositionEnd (matrix ^ (hit.GetPos ())); // end position in sensor frame
268+ math_utils::Vector3D<float > xyzPositionEnd (matrix ^ (hit.GetPos ())); // end position in sensor frame
270269
271270 // Calculate the middle position of the hit
272271 math_utils::Vector3D<float > xyzPositionMiddle = (xyzPositionStart + xyzPositionEnd) * 0 .5f ;
0 commit comments