...
Most of this configuration file you will not need to change, but depending on what you want to do here are some pointers
Choice of the Generators:
This is how you would select what physics generator you want to use (for normal DY or J/Psi use pythia):
const bool gen_pythia8 = true;
const bool gen_cosmic = false;
const bool gen_gun = false;
const bool gen_particle = false;
const bool read_hepmc = false;
const bool gen_e906legacy = false;
Then you will need to switch to the appropriate cfg
gen_pythia8:
1. If you want to use Pythia8, you can load the config file using this function. pythia8->set_config_file("phpythia8_DY.cfg");
pythia8 or pythia8->set_config_file("phpythia8_Jpsi.cfg"); depending on your
work.
Generating Single or Multi muons from using the multi particle gun
For making a single or multiple muons you can use multi particle gun. The portion of the script below can be found on the SimChainDev module. Set the gen_particle true if you would like to generate single muons from multi particle guns. Some user function are available on the doxygen page.
...