Skip to content

Commit

Permalink
move computation of debug variables inside TP_DEBUG
Browse files Browse the repository at this point in the history
  • Loading branch information
perrotta committed Sep 12, 2018
1 parent c94f136 commit c6e288b
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 c6e288b

Please sign in to comment.