Geant Simulation Code for the CALIOPE Simulation