9 _description =
"Performs fist reconstruction of scintillator calo hits";
11 registerProcessorParameter(
"ppd_mipPe" ,
12 "# Photo-electrons per MIP (scintillator): used to poisson smear #PEs if >0" ,
16 registerProcessorParameter(
"ppd_npix" ,
17 "total number of MPPC/SiPM pixels for implementation of saturation effect" ,
24 float energy = hit->getEnergy();
31 energy = -_PPD_n_pixels * std::log ( 1. - ( energy / _PPD_n_pixels ) );
33 energy = 1/(1-r)*(energy-r*_PPD_n_pixels)-_PPD_n_pixels*std::log(1-r);
float getLayerCalib(int ilayer)
std::string _cellIDLayerString
RealisticCaloRecoScinPpd aRealisticCaloRecoScinPpd
RealisticCaloRecoScinPpd()
virtual float reconstructEnergy(const CalorimeterHit *hit)