Geant4 11.4.0
Toolkit for the simulation of the passage of particles through matter
Loading...
Searching...
No Matches
MCGIDI::SetupInfo Class Reference

#include <MCGIDI.hpp>

Public Member Functions

LUPI_HOST SetupInfo (ProtareSingle &a_protare, GIDI::ProtareSingle const &a_GIDI_protare, PoPI::Database const &a_popsUser, PoPI::Database const &a_pops)
LUPI_HOST ~SetupInfo ()

Public Attributes

ProtareSinglem_protare
GIDI::ProtareSingle const & m_GIDI_protare
PoPI::Database const & m_popsUser
PoPI::Database const & m_pops
int m_neutronIndex
int m_photonIndex
LUPI::FormatVersion m_formatVersion
double m_Q
double m_product1Mass
double m_product2Mass
double m_domainMin
double m_domainMax
TwoBodyOrder m_twoBodyOrder
bool m_isPairProduction
bool m_isPhotoAtomicIncoherentScattering
std::string m_distributionLabel
std::map< std::string, int > m_particleIntids
std::map< std::string, int > m_particleIndices
GIDI::Reaction const * m_reaction
Transporting::Reaction::Type m_reactionType
int m_initialStateIndex
bool m_hasFinalStatePhotons
std::map< std::string, int > m_initialStateIndices
std::map< std::string, int > m_stateNamesToIndices
std::map< std::string, double > m_nuclearLevelEnergies
std::map< std::string, ACE_URR_probabilityTablesFromGIDI * > m_ACE_URR_probabilityTablesFromGIDI
GIDI::GRIN::GRIN_continuumGammas const * m_GRIN_continuumGammas

Detailed Description

This class is used internally when constructing a Protare to pass internal information to other constructors.

Definition at line 251 of file MCGIDI.hpp.

Constructor & Destructor Documentation

◆ SetupInfo()

LUPI_HOST MCGIDI::SetupInfo::SetupInfo ( ProtareSingle & a_protare,
GIDI::ProtareSingle const & a_GIDI_protare,
PoPI::Database const & a_popsUser,
PoPI::Database const & a_pops )

Definition at line 21 of file MCGIDI_misc.cc.

22 :
23 m_protare( a_protare ),
24 m_GIDI_protare( a_GIDI_protare ),
25 m_popsUser( a_popsUser ),
26 m_pops( a_pops ),
30 m_GRIN_continuumGammas( nullptr ) {
31
32}
GIDI::ProtareSingle const & m_GIDI_protare
Definition MCGIDI.hpp:255
GIDI::GRIN::GRIN_continuumGammas const * m_GRIN_continuumGammas
Definition MCGIDI.hpp:280
PoPI::Database const & m_popsUser
Definition MCGIDI.hpp:256
ProtareSingle & m_protare
Definition MCGIDI.hpp:254
PoPI::Database const & m_pops
Definition MCGIDI.hpp:257
LUPI_HOST int MCGIDI_popsIndex(PoPI::Database const &a_pops, std::string const &a_ID)
static std::string const photon
Definition PoPI.hpp:162
static std::string const neutron
Definition PoPI.hpp:164

◆ ~SetupInfo()

LUPI_HOST MCGIDI::SetupInfo::~SetupInfo ( )

Definition at line 37 of file MCGIDI_misc.cc.

37 {
38
39 for( auto iter = m_ACE_URR_probabilityTablesFromGIDI.begin( ); iter != m_ACE_URR_probabilityTablesFromGIDI.end( ); ++iter ) delete (*iter).second;
40}
std::map< std::string, ACE_URR_probabilityTablesFromGIDI * > m_ACE_URR_probabilityTablesFromGIDI
Definition MCGIDI.hpp:279

Member Data Documentation

◆ m_ACE_URR_probabilityTablesFromGIDI

std::map<std::string, ACE_URR_probabilityTablesFromGIDI *> MCGIDI::SetupInfo::m_ACE_URR_probabilityTablesFromGIDI

◆ m_distributionLabel

std::string MCGIDI::SetupInfo::m_distributionLabel

Set by the ProtareSingle constructor to the distribution label to use for all products.

Definition at line 269 of file MCGIDI.hpp.

Referenced by MCGIDI::Distributions::parseGIDI().

◆ m_domainMax

double MCGIDI::SetupInfo::m_domainMax

Definition at line 265 of file MCGIDI.hpp.

Referenced by MCGIDI::OutputChannel::OutputChannel().

◆ m_domainMin

double MCGIDI::SetupInfo::m_domainMin

Definition at line 264 of file MCGIDI.hpp.

Referenced by MCGIDI::OutputChannel::OutputChannel().

◆ m_formatVersion

LUPI::FormatVersion MCGIDI::SetupInfo::m_formatVersion

Definition at line 260 of file MCGIDI.hpp.

◆ m_GIDI_protare

◆ m_GRIN_continuumGammas

GIDI::GRIN::GRIN_continuumGammas const* MCGIDI::SetupInfo::m_GRIN_continuumGammas

Definition at line 280 of file MCGIDI.hpp.

Referenced by SetupInfo().

◆ m_hasFinalStatePhotons

bool MCGIDI::SetupInfo::m_hasFinalStatePhotons

If true, the reaction has a photon with finalState attribute.

Definition at line 275 of file MCGIDI.hpp.

Referenced by MCGIDI::OutputChannel::OutputChannel(), and MCGIDI::Probabilities::PrimaryGamma2d::PrimaryGamma2d().

◆ m_initialStateIndex

int MCGIDI::SetupInfo::m_initialStateIndex

If not -1, then reaction contains a branching gamma data with this index for the data in m_nuclideGammaBranchStateInfos member of its ProtareSingle instance.

Definition at line 274 of file MCGIDI.hpp.

Referenced by MCGIDI::Functions::Branching1d::Branching1d(), MCGIDI::Distributions::Branching3d::Branching3d(), MCGIDI::Probabilities::PrimaryGamma2d::PrimaryGamma2d(), MCGIDI::Product::Product(), and SetupInfo().

◆ m_initialStateIndices

std::map<std::string, int> MCGIDI::SetupInfo::m_initialStateIndices

If not -1, then reaction contains a branching gamma data with this index for the data in m_nuclideGammaBranchStateInfos member of its ProtareSingle instance.

Definition at line 276 of file MCGIDI.hpp.

Referenced by MCGIDI::HeatedCrossSectionContinuousEnergy::HeatedCrossSectionContinuousEnergy().

◆ m_isPairProduction

bool MCGIDI::SetupInfo::m_isPairProduction

Definition at line 267 of file MCGIDI.hpp.

Referenced by MCGIDI::OutputChannel::OutputChannel().

◆ m_isPhotoAtomicIncoherentScattering

bool MCGIDI::SetupInfo::m_isPhotoAtomicIncoherentScattering

Definition at line 268 of file MCGIDI.hpp.

Referenced by MCGIDI::OutputChannel::OutputChannel().

◆ m_neutronIndex

int MCGIDI::SetupInfo::m_neutronIndex

Definition at line 258 of file MCGIDI.hpp.

Referenced by SetupInfo().

◆ m_nuclearLevelEnergies

std::map<std::string, double> MCGIDI::SetupInfo::m_nuclearLevelEnergies

A map of nuclide PoPs id to their nuclear level energy.

Definition at line 278 of file MCGIDI.hpp.

◆ m_particleIndices

std::map<std::string, int> MCGIDI::SetupInfo::m_particleIndices

A list of the particle indices for the transportable particles.

Definition at line 271 of file MCGIDI.hpp.

Referenced by MCGIDI::HeatedCrossSectionContinuousEnergy::HeatedCrossSectionContinuousEnergy().

◆ m_particleIntids

std::map<std::string, int> MCGIDI::SetupInfo::m_particleIntids

A list of the particle intids for the transportable particles.

Definition at line 270 of file MCGIDI.hpp.

Referenced by MCGIDI::HeatedCrossSectionContinuousEnergy::HeatedCrossSectionContinuousEnergy().

◆ m_photonIndex

int MCGIDI::SetupInfo::m_photonIndex

Definition at line 259 of file MCGIDI.hpp.

Referenced by SetupInfo().

◆ m_pops

PoPI::Database const& MCGIDI::SetupInfo::m_pops

The PoPs from the GNDS protare.

Definition at line 257 of file MCGIDI.hpp.

Referenced by MCGIDI::OutputChannel::OutputChannel(), and SetupInfo().

◆ m_popsUser

PoPI::Database const& MCGIDI::SetupInfo::m_popsUser

The PoPs from the user.

Definition at line 256 of file MCGIDI.hpp.

Referenced by MCGIDI::OutputChannel::OutputChannel(), and SetupInfo().

◆ m_product1Mass

double MCGIDI::SetupInfo::m_product1Mass

Definition at line 262 of file MCGIDI.hpp.

Referenced by MCGIDI::Product::Product().

◆ m_product2Mass

double MCGIDI::SetupInfo::m_product2Mass

Definition at line 263 of file MCGIDI.hpp.

Referenced by MCGIDI::OutputChannel::OutputChannel().

◆ m_protare

◆ m_Q

◆ m_reaction

GIDI::Reaction const* MCGIDI::SetupInfo::m_reaction

A pointer to the current reaction whose data are being filled from the GIDI::ProtareSingle reaction.

Definition at line 272 of file MCGIDI.hpp.

Referenced by MCGIDI::Distributions::parseGIDI().

◆ m_reactionType

Transporting::Reaction::Type MCGIDI::SetupInfo::m_reactionType

Definition at line 273 of file MCGIDI.hpp.

◆ m_stateNamesToIndices

std::map<std::string, int> MCGIDI::SetupInfo::m_stateNamesToIndices

A map of nuclide PoPs ids to their index in the ProtareSingle::m_nuclideGammaBranchStateInfos member.

Definition at line 277 of file MCGIDI.hpp.

Referenced by MCGIDI::Functions::Branching1d::Branching1d(), MCGIDI::Distributions::Branching3d::Branching3d(), and MCGIDI::GRIN_levelsAndProbabilities::GRIN_levelsAndProbabilities().

◆ m_twoBodyOrder

TwoBodyOrder MCGIDI::SetupInfo::m_twoBodyOrder

Definition at line 266 of file MCGIDI.hpp.

Referenced by MCGIDI::OutputChannel::OutputChannel().


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