#include <G4FastSimulationManager.hh>
Definition at line 83 of file G4FastSimulationManager.hh.
◆ G4FastSimulationManager()
Definition at line 53 of file G4FastSimulationManager.cc.
64 AddFastSimulationManager(
this);
static G4GlobalFastSimulationManager * GetGlobalFastSimulationManager()
void SetFastSimulationManager(G4FastSimulationManager *fsm)
G4VFastSimulationModel * fTriggedFastSimulationModel
G4ParticleDefinition * fLastCrossedParticle
◆ ~G4FastSimulationManager()
G4FastSimulationManager::~G4FastSimulationManager |
( |
| ) |
|
Definition at line 70 of file G4FastSimulationManager.cc.
80 RemoveFastSimulationManager(
this);
static G4GlobalFastSimulationManager * GetGlobalFastSimulationManager()
G4FastSimulationManager * GetFastSimulationManager() const
void ClearFastSimulationManager()
G4Envelope * GetEnvelope() const
◆ ActivateFastSimulationModel()
G4bool G4FastSimulationManager::ActivateFastSimulationModel |
( |
const G4String & |
aName | ) |
|
Definition at line 88 of file G4FastSimulationManager.cc.
93 for (iModel=0; iModel<
ModelList.size(); iModel++)
G4FastSimulationVector< G4VFastSimulationModel > fInactivatedModels
G4ParticleDefinition * fLastCrossedParticle
G4FastSimulationVector< G4VFastSimulationModel > ModelList
◆ AddFastSimulationModel()
Definition at line 184 of file G4FastSimulationManager.hh.
G4ParticleDefinition * fLastCrossedParticle
G4FastSimulationVector< G4VFastSimulationModel > ModelList
◆ AtRestGetFastSimulationManagerTrigger()
G4bool G4FastSimulationManager::AtRestGetFastSimulationManagerTrigger |
( |
const G4Track & |
track, |
|
|
const G4Navigator * |
a = 0 |
|
) |
| |
Definition at line 249 of file G4FastSimulationManager.cc.
260 for (iModel=0; iModel<
ModelList.size(); iModel++)
G4FastSimulationVector< G4VFastSimulationModel > fApplicableModelList
void Initialize(const G4FastTrack &)
G4VFastSimulationModel * fTriggedFastSimulationModel
void SetCurrentTrack(const G4Track &, const G4Navigator *a=0)
G4ParticleDefinition * fLastCrossedParticle
G4FastSimulationVector< G4VFastSimulationModel > ModelList
◆ GetEnvelope()
const G4Envelope * G4FastSimulationManager::GetEnvelope |
( |
| ) |
const |
|
inline |
◆ GetFastSimulationModel()
Definition at line 127 of file G4FastSimulationManager.cc.
132 for (
size_t iModel=0; iModel<
ModelList.size(); iModel++)
134 if(
ModelList[iModel]->GetName() == modelName)
136 if (previousFound == 0)
145 foundPrevious =
true;
G4FastSimulationVector< G4VFastSimulationModel > ModelList
◆ GetFastSimulationModelList()
◆ InActivateFastSimulationModel()
G4bool G4FastSimulationManager::InActivateFastSimulationModel |
( |
const G4String & |
aName | ) |
|
Definition at line 111 of file G4FastSimulationManager.cc.
115 for (
size_t iModel=0; iModel<
ModelList.size(); iModel++)
116 if(
ModelList[iModel]->GetName() == aName) {
G4FastSimulationVector< G4VFastSimulationModel > fInactivatedModels
G4ParticleDefinition * fLastCrossedParticle
G4FastSimulationVector< G4VFastSimulationModel > ModelList
◆ InvokeAtRestDoIt()
G4VParticleChange * G4FastSimulationManager::InvokeAtRestDoIt |
( |
| ) |
|
Definition at line 290 of file G4FastSimulationManager.cc.
virtual void AtRestDoIt(const G4FastTrack &, G4FastStep &)
G4VFastSimulationModel * fTriggedFastSimulationModel
◆ InvokePostStepDoIt()
G4VParticleChange * G4FastSimulationManager::InvokePostStepDoIt |
( |
| ) |
|
Definition at line 238 of file G4FastSimulationManager.cc.
G4VFastSimulationModel * fTriggedFastSimulationModel
virtual void DoIt(const G4FastTrack &, G4FastStep &)=0
◆ ListModels() [1/3]
void G4FastSimulationManager::ListModels |
( |
| ) |
const |
Definition at line 307 of file G4FastSimulationManager.cc.
311 G4cout <<
"Current Models for the ";
315 for (iModel=0; iModel<
ModelList.size(); iModel++)
320 <<
"(inactivated)\n";
G4FastSimulationVector< G4VFastSimulationModel > fInactivatedModels
G4GLOB_DLL std::ostream G4cout
G4FastSimulationVector< G4VFastSimulationModel > ModelList
◆ ListModels() [2/3]
Definition at line 383 of file G4FastSimulationManager.cc.
389 for (iModel=0; iModel<
ModelList.size(); iModel++)
390 if(
ModelList[iModel]->IsApplicable(*aPD)) {
404 <<
" (inactivated)." <<
G4endl;
410 ed <<
"Two or more Models are available for the same particle type, in the same envelope/region." <<
G4endl;
411 G4Exception(
"G4FastSimulationManager::ListModels(const G4ParticleDefinition* aPD) const",
414 "Models risk to exclude each other.");
std::ostringstream G4ExceptionDescription
G4FastSimulationVector< G4VFastSimulationModel > fInactivatedModels
G4GLOB_DLL std::ostream G4cout
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *comments)
G4FastSimulationVector< G4VFastSimulationModel > ModelList
◆ ListModels() [3/3]
void G4FastSimulationManager::ListModels |
( |
const G4String & |
aName | ) |
const |
Definition at line 324 of file G4FastSimulationManager.cc.
332 for (iModel=0; iModel<
ModelList.size(); iModel++)
333 if(
ModelList[iModel]->GetName() == aName ||
336 G4cout <<
"In the envelope ";
341 <<
" is applicable for :\n ";
343 G4int list_started=0;
344 for (
G4int iParticle=0; iParticle<theParticleTable->
entries();
347 IsApplicable(*(theParticleTable->
348 GetParticle(iParticle)))) {
349 if(list_started++)
G4cout <<
", ";
350 G4cout << theParticleTable->
361 G4cout <<
"In the envelope ";
366 <<
" (inactivated) is applicable for :\n ";
368 G4int list_started=0;
369 for (
G4int iParticle=0; iParticle<theParticleTable->
entries();
372 IsApplicable(*(theParticleTable->
373 GetParticle(iParticle)))) {
374 if(list_started++)
G4cout <<
", ";
375 G4cout << theParticleTable->
G4FastSimulationVector< G4VFastSimulationModel > fInactivatedModels
G4GLOB_DLL std::ostream G4cout
static G4ParticleTable * GetParticleTable()
const G4String & GetParticleName(G4int index) const
G4FastSimulationVector< G4VFastSimulationModel > ModelList
◆ ListTitle()
void G4FastSimulationManager::ListTitle |
( |
| ) |
const |
Definition at line 297 of file G4FastSimulationManager.cc.
302 else G4cout <<
" (// geom.)";
G4VPhysicalVolume * GetWorldPhysical() const
G4GLOB_DLL std::ostream G4cout
G4Navigator * GetNavigatorForTracking() const
const G4String & GetName() const
static G4TransportationManager * GetTransportationManager()
G4Envelope * GetEnvelope() const
G4VPhysicalVolume * GetWorldVolume() const
◆ operator==()
◆ PostStepGetFastSimulationManagerTrigger()
G4bool G4FastSimulationManager::PostStepGetFastSimulationManagerTrigger |
( |
const G4Track & |
track, |
|
|
const G4Navigator * |
a = 0 |
|
) |
| |
Definition at line 184 of file G4FastSimulationManager.cc.
195 for (iModel=0; iModel<
ModelList.size(); iModel++)
G4FastSimulationVector< G4VFastSimulationModel > fApplicableModelList
void Initialize(const G4FastTrack &)
G4VFastSimulationModel * fTriggedFastSimulationModel
void SetCurrentTrack(const G4Track &, const G4Navigator *a=0)
G4ParticleDefinition * fLastCrossedParticle
G4FastSimulationVector< G4VFastSimulationModel > ModelList
G4bool OnTheBoundaryButExiting() const
◆ RemoveFastSimulationModel()
Definition at line 192 of file G4FastSimulationManager.hh.
G4FastSimulationVector< G4VFastSimulationModel > fInactivatedModels
G4ParticleDefinition * fLastCrossedParticle
G4FastSimulationVector< G4VFastSimulationModel > ModelList
◆ fApplicableModelList
◆ fFastStep
◆ fFastTrack
◆ fInactivatedModels
◆ fLastCrossedParticle
◆ fTriggedFastSimulationModel
◆ GhostPlacements
◆ ModelList
The documentation for this class was generated from the following files: