Next: Usefull C++ notions Up: The main file: LEMuSR.cc Previous: Optionnal user action classes

### Messengers

We saw that it is possible to make the simulation interactive. This is done using messenger classes. One who wants to have a total interectivity shall build a messenger for each classs. The messenger can change the parameters of the gun, the particles, the geometry etc. It is linked to the G4UIdirectory, which registers all the commands. Commands are defined in the messenger.cc file and then add in a new command directory.