134 G4cout <<
"Model " << aName <<
" activated.";
136 G4cout <<
"Model " << aName <<
" not found.";
146 if (result)
G4cout <<
"Model " << aName <<
" inactivated.";
147 else G4cout <<
"Model " << aName <<
" not found.";
157 std::vector<G4VPhysicalVolume*> worldDone;
164 for (
size_t i=0; i<regions->size(); i++)
166 world = (*regions)[i]->GetWorldPhysical();
168 for (
size_t ii=0; ii<worldDone.size(); ii++)
if (worldDone[ii] == world) {newWorld =
false;
break;}
171 worldDone.push_back(world);
175 G4cout <<
"\n * Mass Geometry with ";
177 G4cout <<
"\n * Parallel Geometry with ";
182 std::vector<G4ParticleDefinition*> particlesKnown;
187 G4cout <<
" Attached to:";
189 for (
G4int iParticle=0; iParticle<particles->
entries(); iParticle++)
197 if (!findG4FSMP)
G4cout <<
" o G4FastSimulationProcess: (none)" <<
G4endl;
209 for (
G4int I=0; I<depth; I++) indent +=
" ";
220 G4cout <<
" ; applicable to:";
222 for (
G4int iParticle=0; iParticle<particles->
entries(); iParticle++)
228 for (
size_t l=0; l<particlesKnown.size();l++)
if(particlesKnown[l] == particles->
GetParticle(iParticle)) {known =
true;
break;}
229 if (!known)
G4cout <<
"[!!]";
238 for (
size_t ip=0; ip<physVolStore->size(); ip++)
245 if (thisVolMotherRegion == region)
273 G4cout <<
"Current Envelopes for Fast Simulation:\n";
304 bool foundPrevious(
false);
void RemoveFSMP(G4FastSimulationManagerProcess *)
G4FastSimulationVector< G4FastSimulationManagerProcess > fFSMPVector
const G4String & GetName() const
G4FastSimulationMessenger * fTheFastSimulationMessenger
void InActivateFastSimulationModel(const G4String &)
G4VFastSimulationModel * GetFastSimulationModel(const G4String &modelName, const G4VFastSimulationModel *previousFound=0) const
void ListEnvelopes(const G4String &aName="all", listType aListType=NAMES_ONLY)
static G4GlobalFastSimulationManager * GetGlobalFastSimulationManager()
G4FastSimulationVector< G4FastSimulationManager > ManagedManagers
void RemoveFastSimulationManager(G4FastSimulationManager *)
G4Region * GetRegion() const
~G4GlobalFastSimulationManager()
G4ProcessManager * GetProcessManager() const
const G4String & GetParticleName() const
static G4PhysicalVolumeStore * GetInstance()
static G4RegionStore * GetInstance()
static G4ThreadLocal G4GlobalFastSimulationManager * fGlobalFastSimulationManager
G4ParticleDefinition * GetParticle(G4int index) const
void ActivateFastSimulationModel(const G4String &)
G4GLOB_DLL std::ostream G4cout
const G4String & GetName() const
G4bool IsRootRegion() const
static G4GlobalFastSimulationManager * GetInstance()
G4LogicalVolume * GetMotherLogical() const
static G4TransportationManager * GetTransportationManager()
G4bool contains(G4VProcess *aProcess) const
G4LogicalVolume * GetLogicalVolume() const
static G4ParticleTable * GetParticleTable()
const std::vector< G4VFastSimulationModel * > & GetFastSimulationModelList() const
G4FastSimulationManager * GetFastSimulationManager() const
void DisplayRegion(G4Region *motherRegion, G4int depth, std::vector< G4ParticleDefinition * > &particles) const
G4GlobalFastSimulationManager()
void AddFastSimulationManager(G4FastSimulationManager *)
G4ProcessVector * GetProcessList() const
void AddFSMP(G4FastSimulationManagerProcess *)