VMC Examples Version v2.13c
Public Member Functions
Ex03RunConfiguration3 Class Reference

User Geant4 VMC run configuration. More...

#include <Ex03RunConfiguration3.h>

Inheritance diagram for Ex03RunConfiguration3:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 Ex03RunConfiguration3 (const TString &userGeometry, const TString &physicsList="emStandard", const TString &specialProcess="stepLimiter")
virtual ~Ex03RunConfiguration3 ()
virtual
TG4VUserRegionConstruction
CreateUserRegionConstruction ()

Detailed Description

User Geant4 VMC run configuration.

This class demonstrates how to add to Geant4 VMC geometry construction user defined regions

Author:
I. Hrivnacova; IPN, Orsay

Definition at line 32 of file Ex03RunConfiguration3.h.


Constructor & Destructor Documentation

Ex03RunConfiguration3::Ex03RunConfiguration3 ( const TString &  userGeometry,
const TString &  physicsList = "emStandard",
const TString &  specialProcess = "stepLimiter" 
)

Standard constructor

Parameters:
userGeometrySelection of geometry defintion
physicsListSelection of physics
specialProcessSelection of the special processes

The option for geometry selection has to be set here to "geomVMCtoGeant4, "geomRootToGeant4 or "geomGeant4", as user regions can be defined only with Geant4 native geomeytry navigation.

See also:
More on the available option in class TG4RunConfiguration: http://ivana.home.cern.ch/ivana/g4vmc_html/classTG4RunConfiguration.html

Definition at line 23 of file Ex03RunConfiguration3.cxx.

  : TG4RunConfiguration(userGeometry, physicsList, specialProcess) 
{
/// Standard constructor
/// \param userGeometry    Selection of geometry defintion
/// \param physicsList     Selection of physics
/// \param specialProcess  Selection of the special processes
///
/// The option for geometry selection has to be set here to 
/// "geomVMCtoGeant4, "geomRootToGeant4 or "geomGeant4",
/// as user regions can be defined only with Geant4 native
/// geomeytry navigation.
/// \see More on the available option in class TG4RunConfiguration:
/// http://ivana.home.cern.ch/ivana/g4vmc_html/classTG4RunConfiguration.html
}
Ex03RunConfiguration3::~Ex03RunConfiguration3 ( ) [virtual]

Destructor

Definition at line 42 of file Ex03RunConfiguration3.cxx.

{
/// Destructor
}

Member Function Documentation

TG4VUserRegionConstruction * Ex03RunConfiguration3::CreateUserRegionConstruction ( ) [virtual]

The Geant4 VMC detector construction is overridden with the detector construction class from the Geant4 novice example N03 library.

Definition at line 52 of file Ex03RunConfiguration3.cxx.

{
/// The Geant4 VMC detector construction is overridden with the detector
/// construction class from the Geant4 novice example N03 library.

  return new Ex03RegionConstruction();
}   

The documentation for this class was generated from the following files:
 All Classes Files Functions Variables Typedefs Enumerations Enumerator