  A sampling calorimeter equipped with gaseous sensor layers with digital
readout is near perfect for "Particle Flow Algorithm" approach, since it is
homogeneous over large surfaces, robust, cost efficient, easily segmentable to
any readout pad dimension and size and almost insensitive to neutrons. The
response of a finely segmented digital calorimeter is characterized by track
efficiency and multiplicity. Monte Carlo (MC) programs such as GEANT4 simulate
with high precision the energy deposited by particles. The sensor and
electronic response associated to a pad are calculated in a separate
"digitization" process. We developed a general method for simulating the pad
response, a digitization, reproducing efficiency and multiplicity, using the
spatial information from a simulation done at higher granularity. The
digitization method proposed here has been applied to gaseous detectors
including Glass Resistive Plate Chambers (GRPC) and MicroMegas. Validating the
method on test beam data, experimental observables such as efficiency,
multiplicity and mean number of hits at different thresholds have been
reproduced with high precision.
