Geant4
11.4.0
Toolkit for the simulation of the passage of particles through matter
Loading...
Searching...
No Matches
GIDI_construction.cc
Go to the documentation of this file.
1
/*
2
# <<BEGIN-copyright>>
3
# Copyright 2019, Lawrence Livermore National Security, LLC.
4
# This file is part of the gidiplus package (https://github.com/LLNL/gidiplus).
5
# gidiplus is licensed under the MIT license (see https://opensource.org/licenses/MIT).
6
# SPDX-License-Identifier: MIT
7
# <<END-copyright>>
8
*/
9
10
#include <stdlib.h>
11
#include <string.h>
12
#include <limits.h>
13
14
#include "
GIDI.hpp
"
15
16
namespace
GIDI
{
17
18
namespace
Construction
{
19
20
/*! \class Settings
21
* This class is used to pass user parameters to various constructors.
22
*
23
* The main use is to limit the type of data read in via the **a_parseMode** argument (see enum ParseMode).
24
*/
25
26
/* *********************************************************************************************************/
/**
27
* @param a_parseMode [in] Instructs the parses on which data to parse.
28
* @param a_photoMode [in] Instructs the parses if photo atomic and/or photoicnuclear protares are to be included.
29
***********************************************************************************************************/
30
31
Settings::Settings
(
ParseMode
a_parseMode,
PhotoMode
a_photoMode ) :
32
m_parseMode( a_parseMode ),
33
m_photoMode( a_photoMode ),
34
m_useSystem_strtod( 0 ),
35
m_lazyParsing( true ),
36
m_decayPositronium( true ),
37
m_usePhotoAtomicIncoherentDoppler( false ),
38
m_fissionResiduals(
FissionResiduals
::
none
),
39
m_GRIN_continuumGammas( false ) {
40
41
}
42
43
/* *********************************************************************************************************/
/**
44
* Copy constructor.
45
*
46
* @param a_settings [in] The **Settings** instance to copy.
47
***********************************************************************************************************/
48
49
Settings::Settings
(
Settings
const
&a_settings ) :
50
m_parseMode( a_settings.
parseMode
( ) ),
51
m_photoMode( a_settings.
photoMode
( ) ),
52
m_useSystem_strtod( a_settings.
useSystem_strtod
( ) ),
53
m_lazyParsing( a_settings.
lazyParsing
( ) ),
54
m_decayPositronium( a_settings.
decayPositronium
( ) ),
55
m_usePhotoAtomicIncoherentDoppler( a_settings.
usePhotoAtomicIncoherentDoppler
( ) ),
56
m_fissionResiduals( a_settings.
fissionResiduals
( ) ),
57
m_GRIN_continuumGammas( false ) {
58
59
}
60
61
}
62
63
}
GIDI.hpp
GIDI::Construction::Settings::parseMode
ParseMode parseMode() const
Definition
GIDI.hpp:557
GIDI::Construction::Settings::photoMode
PhotoMode photoMode() const
Definition
GIDI.hpp:559
GIDI::Construction::Settings::usePhotoAtomicIncoherentDoppler
bool usePhotoAtomicIncoherentDoppler() const
Definition
GIDI.hpp:583
GIDI::Construction::Settings::lazyParsing
bool lazyParsing() const
Definition
GIDI.hpp:563
GIDI::Construction::Settings::Settings
Settings(ParseMode a_parseMode, PhotoMode a_photoMode)
Definition
GIDI_construction.cc:31
GIDI::Construction::Settings::fissionResiduals
FissionResiduals fissionResiduals() const
Definition
GIDI.hpp:571
GIDI::Construction::Settings::decayPositronium
bool decayPositronium() const
Definition
GIDI.hpp:567
GIDI::Construction::Settings::useSystem_strtod
int useSystem_strtod() const
Definition
GIDI.hpp:579
GIDI::Construction
Definition
GIDI.hpp:64
GIDI::Construction::PhotoMode
PhotoMode
Definition
GIDI.hpp:523
GIDI::Construction::FissionResiduals
FissionResiduals
Definition
GIDI.hpp:531
GIDI::Construction::FissionResiduals::none
@ none
Definition
GIDI.hpp:532
GIDI::Construction::ParseMode
ParseMode
Definition
GIDI.hpp:515
GIDI
Definition
GIDI.hpp:32
geant4-v11.4.0
source
processes
hadronic
models
lend
src
GIDI_construction.cc
Generated by
1.16.1