Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move computation of debug-only variables in SiPixelDigitizerAlgorithm inside TP_DEBUG #24517

Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
Expand Up @@ -1312,12 +1312,10 @@ void SiPixelDigitizerAlgorithm::induce_signal(std::vector<PSimHit>::const_iterat
hit_signal[chan] += ChargeFraction;
} // endif


#ifdef TP_DEBUG
mp = MeasurementPoint( float(ix), float(iy) );
LocalPoint lp = topol->localPosition(mp);
chan = topol->channel(lp);

#ifdef TP_DEBUG
LogDebug ("Pixel Digitizer")
<< " pixel " << ix << " " << iy << " - "<<" "
<< chan << " " << ChargeFraction<<" "
Expand Down