GEMC  2.3
Geant4 Monte-Carlo Framework
Functions | Variables
gemc.cc File Reference
#include "G4RunManager.hh"
#include "G4UImanager.hh"
#include "G4UIterminal.hh"
#include "G4VisExecutive.hh"
#include "G4VModularPhysicsList.hh"
#include "G4PropagatorInField.hh"
#include "G4TransportationManager.hh"
#include "G4UIQt.hh"
#include "G4Qt.hh"
#include <QApplication>
#include <QSplashScreen>
#include "HitProcess_MapRegister.h"
#include "detector_factory.h"
#include "gemc_MainGui.h"
#include "gbank.h"
#include "MDetectorConstruction.h"
#include "outputFactory.h"
#include "HitProcess.h"
#include "PhysicsList.h"
#include "options.h"
#include "dmesg_init.h"
#include "run_conditions.h"
#include "fieldFactory.h"
#include "material_factory.h"
#include "mirrors_factory.h"
#include "parameter_factory.h"
#include "string_utilities.h"
#include "utils.h"
#include "ActionInitialization.h"
#include <unistd.h>
+ Include dependency graph for gemc.cc:

Go to the source code of this file.

Functions

QCoreApplication * createApplication (int &argc, char *argv[], double use_gui)
  Main Program More...
 
int main (int argc, char **argv)
 

Variables

const char * GEMC_VERSION = "gemc 2.3"
 

Detailed Description

Defines the gemc main( int argc, char **argv )

Author

© Maurizio Ungaro
e-mail: ungar.nosp@m.o@jl.nosp@m.ab.or.nosp@m.g


Definition in file gemc.cc.

Function Documentation

QCoreApplication* createApplication ( int &  argc,
char *  argv[],
double  use_gui 
)
  1. Sets the goptions
  2. Starts QT application if USE_GUI=1 or 2
  3. Starts the CLHEP random engine
  4. Instantiates the Geant4 Run Manager
  5. Builds detector map object from database
  6. Builds Processes Routines Map
  7. Builds Materials Map
  8. Builds G4 Physical Volumes
  9. Initialize Physics List
  10. Initialize Generator, Event and Stepping Actions
  11. Initialize G4Qt User Interface if USE_GUI>0
  12. Initialize Visualization Manager if USE_GUI>0

Definition at line 100 of file gemc.cc.

int main ( int  argc,
char **  argv 
)

< magnetic Field Map

< Physics List

< User Interface manager

< Vis Manager

< passing output process factory to sensitive detectors

Definition at line 108 of file gemc.cc.

Variable Documentation

const char* GEMC_VERSION = "gemc 2.3"

Definition at line 32 of file gemc.cc.