Next: The visualization class Up: The main file: LEMuSR.cc Previous: The main file: LEMuSR.cc

### The mandatory classes

The simplest Geant4 simulation requires four so-called mandatory classes. These classes provide the main information about the simulation fundamental parameters, like the detector description or the physical interaction taken in account. They are initialized at the beginning of LEMuSR.cc:

- runManager: it is the Geant4 mandatory class used to initialize the kernel.
- LEMuSRDetectorConstruction : mandatory user initialization class for the detector geometry.
- LEMuSRPhysicsList : mandatory user initialization class for the physical interactions.
- LEMuSRPrimaryGeneratorAction mandatory user action class for the simulation monitoring.