GEMC  1.8
Geant4 Monte-Carlo Framework
Functions
gemc.cc File Reference
#include "G4RunManager.hh"
#include "G4UImanager.hh"
#include "G4UIterminal.hh"
#include "G4VisExecutive.hh"
#include "G4PhysListFactory.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.h"
#include "gemc_MainGui.h"
#include "images/CLAS12_cad.h"
#include "MagneticField.h"
#include "MBankdefs.h"
#include "MDetectorConstruction.h"
#include "MEventAction.h"
#include "MOutputBaseClass.h"
#include "MPHBaseClass.h"
#include "MPhysicsList.h"
#include "MPrimaryGeneratorAction.h"
#include "MSteppingAction.h"
#include "Output_Register.h"
#include "usage.h"
#include "run_conditions.h"
#include "material_factory.h"
#include "parameter_factory.h"
#include "string_utilities.h"
#include <unistd.h>
+ Include dependency graph for gemc.cc:

Go to the source code of this file.

Functions

int main (int argc, char **argv)
  Main Program More...
 

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

int main ( int  argc,
char **  argv 
)
  1. Sets the gemc_opts
  2. Starts QT application if USE_QT=1
  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
  11. Initialize Event Action
  12. Initialize G4Qt User Interface if USE_QT>0
  13. Initialize Visualization Manager if USE_QT>0

< Initializing QT application

< Initializing Splash Screen

< Initializing the CLHEP Random engine

< Reading the gcard file

< Creating the sim_condition map to save to the output

< Detector Map

< Materials Map

< Parameters Map

< Bank Map

< magnetic Field Map

< Build G4 Physical Volumes: MDetectorConstruction

< Physics List

< Generator

< Event Action

< Sets event number from OPTION

< Stepping Action

< User Interface manager

< Vis Manager

< Output File: registering output type, output process factory, sensitive detectors into Event Action

< passing output process factory to sensitive detectors

Definition at line 118 of file gemc.cc.