Geant4  10.03.p01
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
G4FastSimulationHelper Class Reference

#include <G4FastSimulationHelper.hh>

Static Public Member Functions

static void ActivateFastSimulation (G4ProcessManager *pmanager)
 
static void ActivateFastSimulation (G4ProcessManager *pmanager, G4String parallelGeometryName)
 

Detailed Description

Definition at line 53 of file G4FastSimulationHelper.hh.

Member Function Documentation

void G4FastSimulationHelper::ActivateFastSimulation ( G4ProcessManager pmanager)
static

Definition at line 31 of file G4FastSimulationHelper.cc.

32 {
33  G4FastSimulationManagerProcess* fastSimProcess = new G4FastSimulationManagerProcess("fastSimProcess_massGeom");
34  // -- For the mass geometry case, the G4FastSimulationManagerProcess
35  // -- is a PostStep process, and ordering does not matter:
36  pmanager-> AddDiscreteProcess(fastSimProcess);
37 }

Here is the caller graph for this function:

void G4FastSimulationHelper::ActivateFastSimulation ( G4ProcessManager pmanager,
G4String  parallelGeometryName 
)
static

Definition at line 39 of file G4FastSimulationHelper.cc.

40 {
41  G4FastSimulationManagerProcess* fastSimProcess = new G4FastSimulationManagerProcess("fastSimProcess_parallelGeom",
42  parallelGeometryName);
43  // -- For the parallel geometry case, the G4FastSimulationManagerProcess
44  // -- is an Along+PostStep process, and ordering matters:
45  pmanager->AddProcess(fastSimProcess);
46  pmanager->SetProcessOrdering(fastSimProcess, idxAlongStep, 1);
47  pmanager->SetProcessOrdering(fastSimProcess, idxPostStep);
48 }
G4int AddProcess(G4VProcess *aProcess, G4int ordAtRestDoIt=ordInActive, G4int ordAlongSteptDoIt=ordInActive, G4int ordPostStepDoIt=ordInActive)
void SetProcessOrdering(G4VProcess *aProcess, G4ProcessVectorDoItIndex idDoIt, G4int ordDoIt=ordDefault)

Here is the call graph for this function:


The documentation for this class was generated from the following files: