Geant4 11.4.0
Toolkit for the simulation of the passage of particles through matter
Loading...
Searching...
No Matches
GIDI::Construction::Settings Class Reference

#include <GIDI.hpp>

Public Member Functions

 Settings (ParseMode a_parseMode, PhotoMode a_photoMode)
 Settings (Settings const &a_settings)
ParseMode parseMode () const
PhotoMode photoMode () const
void setPhotoMode (PhotoMode a_photoMode)
bool lazyParsing () const
void setLazyParsing (bool a_lazyParsing)
bool decayPositronium () const
void setDecayPositronium (bool a_decayPositronium)
FissionResiduals fissionResiduals () const
void setFissionResiduals (FissionResiduals a_fissionResiduals)
bool GRIN_continuumGammas (void) const
void setGRIN_continuumGammas (bool a_GRIN_continuumGammas)
int useSystem_strtod () const
void setUseSystem_strtod (bool a_useSystem_strtod)
bool usePhotoAtomicIncoherentDoppler () const
void setUsePhotoAtomicIncoherentDoppler (bool a_usePhotoAtomicIncoherentDoppler)

Detailed Description

This class is used to pass user parameters to various constructors.

The main use is to limit the type of data read in via the a_parseMode argument (see enum ParseMode).

Definition at line 541 of file GIDI.hpp.

Constructor & Destructor Documentation

◆ Settings() [1/2]

GIDI::Construction::Settings::Settings ( ParseMode a_parseMode,
PhotoMode a_photoMode )
Parameters
a_parseMode[in] Instructs the parses on which data to parse.
a_photoMode[in] Instructs the parses if photo atomic and/or photoicnuclear protares are to be included.

Definition at line 31 of file GIDI_construction.cc.

31 :
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}

Referenced by Settings().

◆ Settings() [2/2]

GIDI::Construction::Settings::Settings ( Settings const & a_settings)

Copy constructor.

Parameters
a_settings[in] The Settings instance to copy.

Definition at line 49 of file GIDI_construction.cc.

49 :
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}

Member Function Documentation

◆ decayPositronium()

bool GIDI::Construction::Settings::decayPositronium ( ) const
inline

Returns the value of the m_decayPositronium member.

Definition at line 567 of file GIDI.hpp.

Referenced by GIDI::Reaction::Reaction(), and Settings().

◆ fissionResiduals()

FissionResiduals GIDI::Construction::Settings::fissionResiduals ( ) const
inline

Returns the value of the m_fissionResiduals member.

Definition at line 571 of file GIDI.hpp.

Referenced by Settings().

◆ GRIN_continuumGammas()

bool GIDI::Construction::Settings::GRIN_continuumGammas ( void ) const
inline

Returns the value of the m_GRIN_continuumGammas member.

Definition at line 575 of file GIDI.hpp.

◆ lazyParsing()

bool GIDI::Construction::Settings::lazyParsing ( ) const
inline

Returns the value of the m_lazyParsing member.

Definition at line 563 of file GIDI.hpp.

Referenced by GIDI::Suite::parse(), and Settings().

◆ parseMode()

◆ photoMode()

PhotoMode GIDI::Construction::Settings::photoMode ( ) const
inline

Returns the value of the m_photoMode member.

Definition at line 559 of file GIDI.hpp.

Referenced by GIDI::Map::Map::protare(), and Settings().

◆ setDecayPositronium()

void GIDI::Construction::Settings::setDecayPositronium ( bool a_decayPositronium)
inline

Set the m_decayPositronium member to a_decayPositronium.

Definition at line 568 of file GIDI.hpp.

◆ setFissionResiduals()

void GIDI::Construction::Settings::setFissionResiduals ( FissionResiduals a_fissionResiduals)
inline

Set the m_fissionResiduals member to a_fissionResiduals.

Definition at line 572 of file GIDI.hpp.

◆ setGRIN_continuumGammas()

void GIDI::Construction::Settings::setGRIN_continuumGammas ( bool a_GRIN_continuumGammas)
inline

Set the m_GRIN_continuumGammas member to a_GRIN_continuumGammas.

Definition at line 576 of file GIDI.hpp.

Referenced by G4GIDI::readTarget().

◆ setLazyParsing()

void GIDI::Construction::Settings::setLazyParsing ( bool a_lazyParsing)
inline

Set the m_lazyParsing member to a_lazyParsing.

Definition at line 564 of file GIDI.hpp.

◆ setPhotoMode()

void GIDI::Construction::Settings::setPhotoMode ( PhotoMode a_photoMode)
inline

Set the m_photoMode member to a_photoMode.

Definition at line 560 of file GIDI.hpp.

◆ setUsePhotoAtomicIncoherentDoppler()

void GIDI::Construction::Settings::setUsePhotoAtomicIncoherentDoppler ( bool a_usePhotoAtomicIncoherentDoppler)
inline

Definition at line 584 of file GIDI.hpp.

584{ m_usePhotoAtomicIncoherentDoppler = a_usePhotoAtomicIncoherentDoppler; }

◆ setUseSystem_strtod()

void GIDI::Construction::Settings::setUseSystem_strtod ( bool a_useSystem_strtod)
inline

Set the m_useSystem_strtod member to a_useSystem_strtod.

Definition at line 580 of file GIDI.hpp.

◆ usePhotoAtomicIncoherentDoppler()

bool GIDI::Construction::Settings::usePhotoAtomicIncoherentDoppler ( ) const
inline

Definition at line 583 of file GIDI.hpp.

583{ return( m_usePhotoAtomicIncoherentDoppler ); }

Referenced by Settings().

◆ useSystem_strtod()

int GIDI::Construction::Settings::useSystem_strtod ( ) const
inline

Returns the value of the m_useSystem_strtod member.

Definition at line 579 of file GIDI.hpp.

Referenced by GIDI::parseFlattened1d(), GIDI::parseValuesOfDoubles(), and Settings().


The documentation for this class was generated from the following files: