geant4-B1-example
1.0
|
#include "B1DetectorConstruction.hh"
#include "B1ActionInitialization.hh"
#include "G4RunManager.hh"
#include "Randomize.hh"
#include "QBBC.hh"
#include "G4VisExecutive.hh"
#include "G4UImanager.hh"
#include "G4UIExecutive.hh"
Go to the source code of this file.
Functions | |
int | main (int argc, char **argv) |
Main program of the B1 example. More... | |
int main | ( | int | argc, |
char ** | argv | ||
) |
Main program of the B1 example.
we create a runManager either from G4RunManager or G4MTRunManager. runManager will use objects for detector construction, phyiscs process, and the user actions.
we create a visManager. we create a UImanager.
use UImanager to start session. when we finish, delete all the managers.
Definition at line 36 of file exampleB1.cc.