Skip to content

Commit 27b4458

Browse files
committed
remove logging
1 parent e57b474 commit 27b4458

1 file changed

Lines changed: 0 additions & 10 deletions

File tree

‎Detectors/TRD/simulation/src/Digitizer.cxx‎

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -276,9 +276,6 @@ bool Digitizer::convertHits(const int det, const std::vector<Hit>& hits, SignalC
276276
}
277277
}
278278

279-
if (hit.GetTrackID() < 20)
280-
LOGF(info, "pos before ExB: %f, drift length: %f, locX: %f, trackId: %d", locCd, absDriftLength, locT, hit.GetTrackID());
281-
282279
// Apply E x B effects
283280
if (mSimParam.isExBOn()) {
284281
// minus sign is necessary to be compatible with how Vdrift and ExB are calibrated
@@ -299,9 +296,6 @@ bool Digitizer::convertHits(const int det, const std::vector<Hit>& hits, SignalC
299296
}
300297
const double colOffset = padPlane->getPadColOffset(colE, locCd + offsetTilt);
301298

302-
if (hit.GetTrackID() < 20)
303-
LOGF(info, "pos after ExB: %f %d, offset: %f tilt: %f", locCd, colE, colOffset, offsetTilt);
304-
305299
// Convert the position to drift time [mus], using either constant drift velocity or
306300
// time structure of drift cells (non-isochronity, GARFIELD calculation).
307301
// Also add absolute time of hits to take pile-up events into account properly
@@ -380,16 +374,12 @@ bool Digitizer::convertHits(const int det, const std::vector<Hit>& hits, SignalC
380374
const double timeResponse = mSimParam.trfOn() ? mSimParam.timeResponse(t) : 1;
381375
const double crossTalk = mSimParam.ctOn() ? mSimParam.crossTalk(t) : 0;
382376
currentSignal[tb] += padSignal[pad] * (timeResponse + crossTalk);
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]);
385377
} // end of loop time bins
386378
} else {
387379
for (int tb = firstTimeBin; tb < lastTimeBin; ++tb) {
388380
const double t = (tb - timeBinTruncated) / mSamplingRate + timeOffset;
389381
const double timeResponse = mSimParam.trfOn() ? mSimParam.timeResponse(t) : 1;
390382
currentSignal[tb] += padSignal[pad] * timeResponse;
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]);
393383
} // end of loop time bins
394384
}
395385
} // end of loop over pads

0 commit comments

Comments
 (0)