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
ExGarfield
geant4
src
RunConfiguration.cxx
Go to the documentation of this file.
1
//------------------------------------------------
2
// The Virtual Monte Carlo examples
3
// Copyright (C) 2007 - 2016 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 ExGarfield/geant4/src/RunConfiguration.cxx
11
/// \brief Implementation of the ExGarfield::RunConfiguration class
12
///
13
/// Garfield garfieldpp example adapted to Virtual Monte Carlo.
14
///
15
/// \date 28/10/2015
16
/// \author I. Hrivnacova; IPN, Orsay
17
18
#include "
RunConfiguration.h
"
19
#include "
FastSimulation.h
"
20
21
namespace
VMC
22
{
23
namespace
ExGarfield
24
{
25
26
//_____________________________________________________________________________
27
RunConfiguration::RunConfiguration
(
const
TString& geometry,
28
const
TString& physicsList,
const
TString& specialProcess)
29
:
TG4RunConfiguration
(geometry, physicsList, specialProcess, false, false)
30
{
31
/// Standard constructor
32
/// \param geometry Selection of geometry option
33
/// \param physicsList Selection of physics
34
/// \param specialProcess Selection of the special processes
35
}
27
RunConfiguration::RunConfiguration
(
const
TString& geometry, {
…
}
36
37
//_____________________________________________________________________________
38
RunConfiguration::~RunConfiguration
()
39
{
40
/// Destructor
41
}
38
RunConfiguration::~RunConfiguration
() {
…
}
42
43
//
44
// protected methods
45
//
46
47
//_____________________________________________________________________________
48
TG4VUserFastSimulation
*
RunConfiguration::CreateUserFastSimulation
()
49
{
50
/// Create Garfield fast simulation model
51
52
G4cout <<
"Going to create FastSimulation"
<< G4endl;
53
54
return
new
FastSimulation
();
55
}
48
TG4VUserFastSimulation
*
RunConfiguration::CreateUserFastSimulation
() {
…
}
56
57
}
// namespace ExGarfield
58
}
// namespace VMC
FastSimulation.h
Definition of the ExGarfield::FastSimulation class.
RunConfiguration.h
Definition of the ExGarfield::RunConfiguration class.
TG4RunConfiguration
TG4VUserFastSimulation
VMC::ExGarfield::FastSimulation
Special class for definition of fast simulation models.
Definition
FastSimulation.h:36
VMC::ExGarfield::RunConfiguration::CreateUserFastSimulation
virtual TG4VUserFastSimulation * CreateUserFastSimulation()
Definition
RunConfiguration.cxx:48
VMC::ExGarfield::RunConfiguration::~RunConfiguration
virtual ~RunConfiguration()
Definition
RunConfiguration.cxx:38
VMC::ExGarfield::RunConfiguration::RunConfiguration
RunConfiguration(const TString &geometry, const TString &physicsList="FTFP_BERT", const TString &specialProcess="stepLimiter")
Definition
RunConfiguration.cxx:27
VMC::ExGarfield
Definition
FastSimulation.h:28
VMC
Definition
FastSimulation.h:26
Generated on Tue Apr 1 2025 13:04:57 for VMC Examples by
1.13.2