iLCSoft / DDMarlinPandora

Marlin processor to interface PandoraPFA and DD4hep
GNU General Public License v3.0
3 stars 18 forks source link

Track creator clicdd calo digi fix #4

Closed webermat closed 7 years ago

webermat commented 7 years ago

Seems to me we don't call the endcap subdetectors properly when checking for number of hits.

Changes in DDCaloDigi to fix shadowing of indices.

andresailer commented 7 years ago

There is still one warning

../src/DDCaloDigi.cc: In member function 'virtual void DDCaloDigi::processEvent(EVENT::LCEvent*)':
../src/DDCaloDigi.cc:1052:21: warning: variable 'deltat' set but not used [-Wunused-but-set-variable]
               float deltat = 0;

Could you please fix that as well.

webermat commented 7 years ago

fix last warning: comment out unused first definition of deltat for hcal calohits