VMC Examples
Version 6.6
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
}
36
37
//_____________________________________________________________________________
38
RunConfiguration::~RunConfiguration
()
39
{
40
/// Destructor
41
}
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
}
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
Definition
FastSimulation.h:26
Generated on Thu Oct 17 2024 08:29:51 for VMC Examples by
1.12.0