Import Geant4 11.1.0.beta source tree
This commit is contained in:
@@ -155,6 +155,15 @@ G4FastSimulationManager::GetFastSimulationModel(const G4String& modelName,
|
||||
return model;
|
||||
}
|
||||
|
||||
void G4FastSimulationManager::FlushModels()
|
||||
{
|
||||
for (size_t iModel=0; iModel<ModelList.size(); iModel++)
|
||||
{
|
||||
ModelList[iModel]->Flush();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
//------------------------------------------------------------------
|
||||
// Interface trigger method for the G4ParameterisationManagerProcess
|
||||
|
||||
@@ -147,6 +147,12 @@ void G4GlobalFastSimulationManager::InActivateFastSimulationModel(const G4String
|
||||
G4cout << G4endl;
|
||||
}
|
||||
|
||||
void G4GlobalFastSimulationManager::Flush()
|
||||
{
|
||||
// loop over all models (that need flushing?) and flush
|
||||
for (size_t ifsm=0; ifsm<ManagedManagers.size(); ifsm++)
|
||||
ManagedManagers[ifsm]->FlushModels();
|
||||
}
|
||||
|
||||
// ---------------------------------
|
||||
// -- display fast simulation setup:
|
||||
|
||||
Reference in New Issue
Block a user