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 AddFSMP(G4FastSimulationManagerProcess *)
G4FastSimulationManager * GetFastSimulationManager() const
G4LogicalVolume * GetLogicalVolume() const
G4VFastSimulationModel * GetFastSimulationModel(const G4String &modelName, const G4VFastSimulationModel *previousFound=0) const
static G4ParticleTable * GetParticleTable()
const G4String & GetName() const
const G4String & GetParticleName() const
void RemoveFSMP(G4FastSimulationManagerProcess *)
G4ProcessVector * GetProcessList() const
void ActivateFastSimulationModel(const G4String &)
~G4GlobalFastSimulationManager()
G4ParticleDefinition * GetParticle(G4int index) const
G4LogicalVolume * GetMotherLogical() const
void AddFastSimulationManager(G4FastSimulationManager *)
void ListEnvelopes(const G4String &aName="all", listType aListType=NAMES_ONLY)
G4FastSimulationVector< G4FastSimulationManagerProcess > fFSMPVector
void InActivateFastSimulationModel(const G4String &)
G4bool contains(G4VProcess *aProcess) const
G4bool IsRootRegion() const
G4double G4ParticleHPJENDLHEData::G4double result
const std::vector< G4VFastSimulationModel * > & GetFastSimulationModelList() const
void DisplayRegion(G4Region *motherRegion, G4int depth, std::vector< G4ParticleDefinition * > &particles) const
static G4TransportationManager * GetTransportationManager()
static G4ThreadLocal G4GlobalFastSimulationManager * fGlobalFastSimulationManager
static G4PhysicalVolumeStore * GetInstance()
static G4RegionStore * GetInstance()
G4ProcessManager * GetProcessManager() const
static G4GlobalFastSimulationManager * GetInstance()
G4GLOB_DLL std::ostream G4cout
G4FastSimulationVector< G4FastSimulationManager > ManagedManagers
const XML_Char XML_Content * model
G4FastSimulationMessenger * fTheFastSimulationMessenger
void RemoveFastSimulationManager(G4FastSimulationManager *)
G4Region * GetRegion() const
G4GlobalFastSimulationManager()
static G4GlobalFastSimulationManager * GetGlobalFastSimulationManager()
const G4String & GetName() const