Berkeley Nuclear Data Software
|
#include <ACEIsotope.h>
Public Member Functions | |
ACEIsotope () | |
ACEIsotope (SampleACE *a_samp) | |
int | loadACEData (string a_ZAID, int a_verbose=0) |
int | drawXSec (int a_MT, bool a_writeToFile=false) |
angDist | getAngDists (int a_MT) |
returns neutron angular distributions for cross section MT More... | |
secondarySpectra | getOutgoingSpec (int a_MT) |
returns secondary spectrum for cross section MT More... | |
void | reset () |
reset data members More... | |
int | sampleMT (double a_energyIn) |
Monte-Carlo sample an MT for an incident neutron energy. More... | |
vector< outgoingData > | sampleOutgoing (double a_energyIn, int a_MT, bool a_sampleGamma=true) |
map< int, ACECrossSection > | getMTXSecs () |
returns neutron-producing MTs More... | |
void | getDrawableMTs () |
get all MTs that were read in More... | |
double | getTotalXSec (double a_energyIn) |
to normalize "forced collision" MC More... | |
container for all data members of ACE file for a single isotope
ACEIsotope::ACEIsotope | ( | ) |
ACEIsotope::ACEIsotope | ( | SampleACE * | a_samp | ) |
int ACEIsotope::drawXSec | ( | int | a_MT, |
bool | a_writeToFile = false |
||
) |
draws cross section vs. energy can write energy vs. cross section to file
angDist ACEIsotope::getAngDists | ( | int | a_MT | ) |
returns neutron angular distributions for cross section MT
void ACEIsotope::getDrawableMTs | ( | ) |
get all MTs that were read in
map< int, ACECrossSection > ACEIsotope::getMTXSecs | ( | ) |
returns neutron-producing MTs
secondarySpectra ACEIsotope::getOutgoingSpec | ( | int | a_MT | ) |
returns secondary spectrum for cross section MT
double ACEIsotope::getTotalXSec | ( | double | a_energyIn | ) |
to normalize "forced collision" MC
int ACEIsotope::loadACEData | ( | string | a_ZAID, |
int | a_verbose = 0 |
||
) |
loads ACE data from file returns 0 if no RIPL data was found
NXS Flags
JXS Flags
read in XSS array
pull out Energy and total cross section data
pull out nu-bar data - should be own function
pull out delayed neutron data
pull out delayed neutron precusor data
pull out MT numbers for neutron reactions and photon production
pull out Q values for neutron reactions
pull out outgoing particle types
SIG block
SIGP block
LAND/AND + LDLW/DLW block
+1 for elastic
tabular
equiprobable
LANDP/ANDP + LDLWP/DLWP blocks
ANDP Block
isotropic Lab
lab isotropic
void ACEIsotope::reset | ( | ) |
reset data members
int ACEIsotope::sampleMT | ( | double | a_energyIn | ) |
Monte-Carlo sample an MT for an incident neutron energy.
vector< outgoingData > ACEIsotope::sampleOutgoing | ( | double | a_energyIn, |
int | a_MT, | ||
bool | a_sampleGamma = true |
||
) |
assumint isotropic lab frame