VMC Examples
Version 6.7
Toggle main menu visibility
Main Page
Related Pages
Topics
Namespaces
Namespace List
Namespace Members
All
Functions
Variables
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
1
2
3
6
a
b
c
d
e
f
g
h
i
k
m
n
o
p
r
s
t
u
~
Functions
1
2
3
6
a
b
c
d
e
f
g
h
i
m
o
p
r
s
t
u
~
Variables
c
f
n
Enumerations
Enumerator
Files
File List
File Members
All
3
b
c
e
f
g
h
i
l
m
n
o
r
s
t
u
v
Functions
b
c
g
h
i
l
m
n
o
r
s
t
u
v
Variables
Typedefs
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Modules
Pages
Loading...
Searching...
No Matches
examples
E03
E03a
geant4
src
Ex03RunConfiguration3.cxx
Go to the documentation of this file.
1
//------------------------------------------------
2
// The Virtual Monte Carlo examples
3
// Copyright (C) 2007 - 2014 Ivana Hrivnacova
4
// All rights reserved.
5
//
6
// For the licensing terms see geant4_vmc/LICENSE.
7
// Contact: root-vmc@cern.ch
8
//-------------------------------------------------
9
10
/// \file Ex03RunConfiguration3.cxx
11
/// \brief Implementation of the Ex03RunConfiguration3 class
12
///
13
/// Geant4 ExampleN03 adapted to Virtual Monte Carlo \n
14
///
15
/// \author I. Hrivnacova; IPN, Orsay
16
17
#include "Ex03RunConfiguration3.h"
18
#include "Ex03RegionConstruction.h"
19
20
//_____________________________________________________________________________
21
Ex03RunConfiguration3::Ex03RunConfiguration3
(
const
TString& userGeometry,
22
const
TString& physicsList,
const
TString& specialProcess)
23
:
TG4RunConfiguration
(userGeometry, physicsList, specialProcess)
24
{
25
/// Standard constructor
26
/// \param userGeometry Selection of geometry defintion
27
/// \param physicsList Selection of physics
28
/// \param specialProcess Selection of the special processes
29
///
30
/// The option for geometry selection has to be set here to
31
/// "geomVMCtoGeant4, "geomRootToGeant4 or "geomGeant4",
32
/// as user regions can be defined only with Geant4 native
33
/// geomeytry navigation.
34
/// \see More on the available option in class TG4RunConfiguration:
35
/// http://ivana.home.cern.ch/ivana/g4vmc_html/classTG4RunConfiguration.html
36
}
21
Ex03RunConfiguration3::Ex03RunConfiguration3
(
const
TString& userGeometry, {
…
}
37
38
//_____________________________________________________________________________
39
Ex03RunConfiguration3::~Ex03RunConfiguration3
()
40
{
41
/// Destructor
42
}
39
Ex03RunConfiguration3::~Ex03RunConfiguration3
() {
…
}
43
44
//
45
// protected methods
46
//
47
48
//_____________________________________________________________________________
49
TG4VUserRegionConstruction
*
50
Ex03RunConfiguration3::CreateUserRegionConstruction
()
51
{
52
/// The Geant4 VMC detector construction is overridden with the detector
53
/// construction class from the Geant4 novice example N03 library.
54
55
return
new
Ex03RegionConstruction
();
56
}
50
Ex03RunConfiguration3::CreateUserRegionConstruction
() {
…
}
Ex03RegionConstruction
Special class for definition of regions.
Definition
Ex03RegionConstruction.h:28
Ex03RunConfiguration3::~Ex03RunConfiguration3
virtual ~Ex03RunConfiguration3()
Definition
Ex03RunConfiguration3.cxx:39
Ex03RunConfiguration3::CreateUserRegionConstruction
virtual TG4VUserRegionConstruction * CreateUserRegionConstruction()
Definition
Ex03RunConfiguration3.cxx:50
Ex03RunConfiguration3::Ex03RunConfiguration3
Ex03RunConfiguration3(const TString &userGeometry, const TString &physicsList="FTFP_BERT", const TString &specialProcess="stepLimiter")
Definition
Ex03RunConfiguration3.cxx:21
TG4RunConfiguration
TG4VUserRegionConstruction
Generated on Tue Apr 1 2025 13:04:57 for VMC Examples by
1.13.2