31 #ifdef G4MULTITHREADED
40 #ifdef G4MULTITHREADED
43 #include "PrimaryGeneratorAction.hh"
44 #include "StackingAction.hh"
45 #include "EventAction.hh"
46 #include "RunAction.hh"
49 #include "DetectorConstruction.hh"
62 int main(
int argc,
char** argv)
72 #ifdef G4MULTITHREADED
93 #ifndef G4MULTITHREADED
119 G4String command =
"/control/execute ";
125 UImanager->
ApplyCommand(
"/control/execute init_vis.mac");
void SetNumberOfThreads(G4int n)
G4int ApplyCommand(const char *aCommand)
virtual void SetUserAction(G4UserRunAction *userAction)
void SetVerboseLevel(G4int vl)
G4int G4GetNumberOfCores()
static G4UImanager * GetUIpointer()
void PhysicsBiasAllCharged(G4bool includeShortLived=false)
virtual void SetUserInitialization(G4VUserDetectorConstruction *userInit)
void RegisterPhysics(G4VPhysicsConstructor *)
The primary generator action class with particle gun.
int main(int argc, char **argv)
TFTFP_BERT< G4VModularPhysicsList > FTFP_BERT
void ReplacePhysics(G4VPhysicsConstructor *)
static G4ScoringManager * GetScoringManager()
Simple detector construction with a box volume placed in a world.