21#include <G4VFastSimulationModel.hh>
51 const G4String& modelName,
const G4String& particles)
58 const G4String& modelName,
const G4String& regions)
65 G4VFastSimulationModel* fastSimulationModel)
72 if (!modelConfiguration) {
73 TString text =
"The fast simulation model ";
74 text += fastSimulationModel->GetName().data();
75 text +=
" configuration was not found.";
78 TString(
"The model configuration has to set firts.") +
80 TString(
"/mcPhysics/fastSimulation/setModel command or SetModel() "
Definition of the TG4GeometryManager class.
Definition of the TG4Globals class and basic container types.
Definition of the TG4ModelConfigurationManager class.
Definition of the TG4ModelConfiguration class.
Definition of the TG4VUserFastSimulation class.
TG4ModelConfigurationManager * GetFastModelsManager() const
static TG4GeometryManager * Instance()
static void Warning(const TString &className, const TString &methodName, const TString &text)
void SetModelRegions(const G4String &modelName, const G4String ®ionsMedia)
void SetModel(const G4String &modelName)
TG4ModelConfiguration * GetModelConfiguration(const G4String &modelName, G4bool warn=true) const
void SetModelParticles(const G4String &modelName, const G4String &particles)
A helper class to hold a configuration of a special physics model.
void SetFastSimulationModel(G4VFastSimulationModel *fastSimulationModel)
void SetModelParticles(const G4String &modelName, const G4String &particles)
Method to be utilized to apply fast simulation model to selected particles.
void SetModel(const G4String &modelName)
Method to be utilized to register each fast simulation model by name.
void SetModelRegions(const G4String &modelName, const G4String ®ions)
Method to be utilized to apply fast simulation model to selected regions.
TG4ModelConfigurationManager * fFastModelsManager
the fast simulation models manager
void Register(G4VFastSimulationModel *fastSimulationModel)
Method to be utilized to register each fast simulation model.
virtual ~TG4VUserFastSimulation()