Description and stability of a RPC-based calorimeter in electromagnetic and hadronic shower environments — arXiv2