LArSoft
v06_85_00
Liquid Argon Software toolkit - http://larsoft.org/
|
Create the physics lists to be used by Geant4. More...
#include "Geant4/G4VUserPhysicsList.hh"
#include "Geant4/G4VModularPhysicsList.hh"
#include "Geant4/G4VPhysicsConstructor.hh"
#include "Geant4/G4String.hh"
#include "Geant4/globals.hh"
#include "Geant4/QGSP_BIC.hh"
#include "larsim/LArG4/ConfigurablePhysicsList.hh"
Go to the source code of this file.
Classes | |
class | larg4::ModularPhysicsList |
Namespaces | |
larg4 | |
Geant4 interface. | |
Typedefs | |
typedef TConfigurablePhysicsList< ModularPhysicsList > | larg4::PhysicsList |
Create the physics lists to be used by Geant4.
Without a physics list, Geant4 won't do anything. G4 comes with a number of pre-constructed lists, and for now I plan to use "QGSP_BERT". It has the following properties:
IMPORTANT: For now, I'm just copying this physics list from the work I did for NuSOnG, which in turn I copied from ATLAS. More thought is needed for the physics list for MicroBooNE.
If you decide to replace QGSP_BERT with another of G4's pre-supplied physics lists, you can just do a global replace on that name in this header; nothing else need change (except the comments, of course!).
Things become more complex when you're using parallel geometries. The physics processes have to be duplicated in the parallel world. There's a G4 facility for doing this, but it's not part of the pre-supplied physics lists.
Hence this class. It takes the physics from QGSP_BERT, but it extends one of the methods to include recognition of physics processes in the parallel world.
Definition in file PhysicsList.h.