Skip to content

Commit

Permalink
Merge pull request #24517 from perrotta/doNotUselesslyComputeQuantiti…
Browse files Browse the repository at this point in the history
…esInSiPixelDigitizerAlgorithm

Move computation of debug-only variables in SiPixelDigitizerAlgorithm inside TP_DEBUG
  • Loading branch information
cmsbuild committed Sep 13, 2018
2 parents caab4a4 + c6e288b commit c5cccd5
Showing 1 changed file with 1 addition and 3 deletions.
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

0 comments on commit c5cccd5

Please sign in to comment.