padsley / k600analyser

Code for the K600 analyser including plugin codes for silicon, clover and HAGAR data
1 stars 4 forks source link

forgot to add a test for the filling of the ADC2DModule #114

Closed neveling closed 8 years ago

neveling commented 8 years ago

to prevent a seg fault if we try to fill in more 2d histos than defined. This will happen in the case where there are more adcs than what we listed in the config file:

if(adcchan<ADCModules32) hADC2DModule[adcnr]->Fill(adc[adcchan],adcchan-32adcnr);

This will be my last pull request for today...