1#ifndef TG4_FAST_SIMULATION_PHYSICS_H
2#define TG4_FAST_SIMULATION_PHYSICS_H
20#include <G4Threading.hh>
27class G4FastSimulationManagerProcess;
42 typedef std::map<G4String, G4FastSimulationManagerProcess*>
ProcessMap;
47 G4int theVerboseLevel,
const G4String& name =
"FastSimulation");
69 const G4String& modelName);
71 void UpdateRegions(
const std::vector<TG4ModelConfiguration*>& models);
73 const std::vector<TG4ModelConfiguration*>& models);
Definition of the TG4VPhysicsConstructor class.
Physics builder which activates selected fast simulation models.
void SetUserFastSimulation(TG4VUserFastSimulation *userFastSimulation)
static G4ThreadLocal ProcessMap * fgProcessMap
fast simulation processes map
void UpdateRegions(const std::vector< TG4ModelConfiguration * > &models)
TG4FastSimulationPhysics(const G4String &name="FastSimulation")
TG4VUserFastSimulation * fUserFastSimulation
the user fast simulation
TG4FastSimulationPhysics(const TG4FastSimulationPhysics &right)
Not implemented.
void AddFastSimulationProcess(const std::vector< TG4ModelConfiguration * > &models)
virtual void ConstructProcess()
Construct physics processes.
virtual void ConstructParticle()
Construct particles.
std::map< G4String, G4FastSimulationManagerProcess * > ProcessMap
TG4FastSimulationPhysics & operator=(const TG4FastSimulationPhysics &right)
Not implemented.
virtual ~TG4FastSimulationPhysics()
G4FastSimulationManagerProcess * GetOrCreateFastSimulationProcess(const G4String &modelName)
A helper class to hold a configuration of a special physics model.
Abstract base class for physics constructors with verbose.
The abstract base class which is used to build fast simulation models.