@@ -275,15 +275,16 @@ bool Digitizer::convertHits(const int det, const std::vector<Hit>& hits, SignalC
275275 continue ;
276276 }
277277 }
278-
279- if (hit.GetTrackID () < 20 ) LOGF (info, " pos before ExB: %f, drift length: %f, locX: %f, trackId: %d" , locCd, absDriftLength, locT, hit.GetTrackID ());
278+
279+ if (hit.GetTrackID () < 20 )
280+ LOGF (info, " pos before ExB: %f, drift length: %f, locX: %f, trackId: %d" , locCd, absDriftLength, locT, hit.GetTrackID ());
280281
281282 // Apply E x B effects
282283 if (mSimParam .isExBOn ()) {
283284 // minus sign is necessary to be compatible with how Vdrift and ExB are calibrated
284285 locCd = locCd - TMath::Tan (calExBDetValue) * driftLength;
285286 }
286-
287+
287288 // The electron position after diffusion and ExB in pad coordinates.
288289 rowE = padPlane->getPadRowNumberROC (locRd);
289290 if (rowE < 0 ) {
@@ -297,9 +298,10 @@ bool Digitizer::convertHits(const int det, const std::vector<Hit>& hits, SignalC
297298 continue ;
298299 }
299300 const double colOffset = padPlane->getPadColOffset (colE, locCd + offsetTilt);
300-
301- if (hit.GetTrackID () < 20 ) LOGF (info, " pos after ExB: %f %d, offset: %f tilt: %f" , locCd, colE, colOffset, offsetTilt);
302-
301+
302+ if (hit.GetTrackID () < 20 )
303+ LOGF (info, " pos after ExB: %f %d, offset: %f tilt: %f" , locCd, colE, colOffset, offsetTilt);
304+
303305 // Convert the position to drift time [mus], using either constant drift velocity or
304306 // time structure of drift cells (non-isochronity, GARFIELD calculation).
305307 // Also add absolute time of hits to take pile-up events into account properly
@@ -378,14 +380,16 @@ bool Digitizer::convertHits(const int det, const std::vector<Hit>& hits, SignalC
378380 const double timeResponse = mSimParam .trfOn () ? mSimParam .timeResponse (t) : 1 ;
379381 const double crossTalk = mSimParam .ctOn () ? mSimParam .crossTalk (t) : 0 ;
380382 currentSignal[tb] += padSignal[pad] * (timeResponse + crossTalk);
381- if (hit.GetTrackID () < 20 ) LOGF (info, " 0, time bin: %d, pad: %d, signal: %f, totalSignal: %f" , tb, pad, padSignal[pad] * (timeResponse + crossTalk), currentSignal[tb]);
383+ if (hit.GetTrackID () < 20 )
384+ LOGF (info, " 0, time bin: %d, pad: %d, signal: %f, totalSignal: %f" , tb, pad, padSignal[pad] * (timeResponse + crossTalk), currentSignal[tb]);
382385 } // end of loop time bins
383386 } else {
384387 for (int tb = firstTimeBin; tb < lastTimeBin; ++tb) {
385388 const double t = (tb - timeBinTruncated) / mSamplingRate + timeOffset;
386389 const double timeResponse = mSimParam .trfOn () ? mSimParam .timeResponse (t) : 1 ;
387390 currentSignal[tb] += padSignal[pad] * timeResponse;
388- if (hit.GetTrackID () < 20 ) LOGF (info, " 1, time bin: %d, pad: %d, signal: %f, totalSignal: %f" , tb, pad, padSignal[pad] * (timeResponse), currentSignal[tb]);
391+ if (hit.GetTrackID () < 20 )
392+ LOGF (info, " 1, time bin: %d, pad: %d, signal: %f, totalSignal: %f" , tb, pad, padSignal[pad] * (timeResponse), currentSignal[tb]);
389393 } // end of loop time bins
390394 }
391395 } // end of loop over pads
0 commit comments