Applying Quenching Corrections in CalDigi
- For each MCIntegratingHit including particles with Z > 1, store:
- Flag indicating Z > 1 present
- Ein for each particle with Z > 1
- Eout for each particle with Z > 1
- Z for each particle with Z > 1
- If, in a single MCIntegratingHit (i.e. for one "cell" in a single xtal), there are N particles with Z > 1:
E effective = [E IHit – (? i (E in i – E out i ))] +
? i [(E in i – E out i ) × Q((E in i + E out i )/2 , Z)]