I've recently started to look into the gflash code and I'm comparing results obtained with geant4 and the original fortran GFlash code. While doing that, I've noticed that the computation of the effective Z for sampling calorimeters looks suspicious: Zeff = ( W1*Z2 ) + (W2*Z1); //X0*Es/Ec; Aeff = ( W1*A1 ) + (W2*A2); My impression is that Z1 and Z2 are swapped in the computation of Zeff. Since Zeff enters in several formulas for the computation of the longitudinal ad transverse shower shapes, I think this bug (if confirmed) could have a major impact on the simulation. The suspicious line appears in source/parameterisations/gflash/src/GFlashSamplingShowerParameterisation.cc
Sorry for the (so) long silence on this. I agree the Z1 and Z2 are swapped. The bug report is kept open for now, while making validations.