#include <MCGIDI.h>
Definition at line 82 of file MCGIDI.h.
MCGIDI_quantitiesLookupModes::MCGIDI_quantitiesLookupModes |
( |
int |
projectilesPOPID | ) |
|
Definition at line 12 of file MCGIDI_quantitiesLookupMode.cc.
14 mProjectilesPOPID = projectilesPOPID;
15 mProjectileEnergy = -1.;
17 mProjectileEnergyForGroupIndex = -1.;
MCGIDI_quantitiesLookupModes::~MCGIDI_quantitiesLookupModes |
( |
| ) |
|
Definition at line 107 of file MCGIDI.h.
107 {
return( mCrossSectionMode ); };
int MCGIDI_quantitiesLookupModes::getGroupIndex |
( |
void |
| ) |
const |
|
inline |
Definition at line 100 of file MCGIDI.h.
100 {
return( mGroupIndex ); }
std::vector< std::string > MCGIDI_quantitiesLookupModes::getListOfLookupQuanities |
( |
| ) |
const |
Definition at line 59 of file MCGIDI_quantitiesLookupMode.cc.
61 std::vector<std::string> quanities;
63 quanities.push_back( std::string(
"cross section" ) );
64 quanities.push_back( std::string(
"multiplicity" ) );
Definition at line 46 of file MCGIDI_quantitiesLookupMode.cc.
48 if( quantity == std::string(
"cross section" ) ) {
49 return( mCrossSectionMode ); }
50 else if( quantity == std::string(
"multiplicity" ) ) {
51 return( mMultiplicityMode ); }
double MCGIDI_quantitiesLookupModes::getProjectileEnergy |
( |
void |
| ) |
const |
|
inline |
Definition at line 97 of file MCGIDI.h.
97 {
return( mProjectileEnergy ); }
double MCGIDI_quantitiesLookupModes::getTemperature |
( |
void |
| ) |
const |
|
inline |
Definition at line 103 of file MCGIDI.h.
103 {
return( mTemperature ); }
Definition at line 110 of file MCGIDI.h.
110 { mCrossSectionMode = mode; };
int MCGIDI_quantitiesLookupModes::setGroupIndex |
( |
GIDI_settings const & |
settings, |
|
|
bool |
encloseOutOfRange |
|
) |
| |
Definition at line 31 of file MCGIDI_quantitiesLookupMode.cc.
34 if( particle == NULL )
throw 1;
37 if( mGroupIndex == -3 )
throw 1;
39 mProjectileEnergyForGroupIndex = mProjectileEnergy;
40 if( mGroupIndex < 0 ) mProjectileEnergyForGroupIndex = -1;
41 return( mGroupIndex );
int getGroupIndexFromEnergy(double e_in, bool encloseOutOfRange) const
Definition at line 71 of file MCGIDI_quantitiesLookupMode.cc.
73 if( quantity == std::string(
"cross section" ) ) {
74 mCrossSectionMode = mode; }
75 else if( quantity == std::string(
"multiplicity" ) ) {
76 mMultiplicityMode = mode; }
void MCGIDI_quantitiesLookupModes::setProjectileEnergy |
( |
double |
e_in | ) |
|
|
inline |
Definition at line 98 of file MCGIDI.h.
98 { mProjectileEnergy = e_in; }
void MCGIDI_quantitiesLookupModes::setTemperature |
( |
double |
temperature | ) |
|
|
inline |
Definition at line 104 of file MCGIDI.h.
104 { mTemperature = temperature; }
The documentation for this class was generated from the following files: