Berkeley Nuclear Data Software
Public Member Functions | List of all members
ACEIsotope Class Reference

#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< outgoingDatasampleOutgoing (double a_energyIn, int a_MT, bool a_sampleGamma=true)
 
map< int, ACECrossSectiongetMTXSecs ()
 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...
 

Detailed Description

container for all data members of ACE file for a single isotope

Constructor & Destructor Documentation

◆ ACEIsotope() [1/2]

ACEIsotope::ACEIsotope ( )

◆ ACEIsotope() [2/2]

ACEIsotope::ACEIsotope ( SampleACE a_samp)

Member Function Documentation

◆ drawXSec()

int ACEIsotope::drawXSec ( int  a_MT,
bool  a_writeToFile = false 
)

draws cross section vs. energy can write energy vs. cross section to file

◆ getAngDists()

angDist ACEIsotope::getAngDists ( int  a_MT)

returns neutron angular distributions for cross section MT

◆ getDrawableMTs()

void ACEIsotope::getDrawableMTs ( )

get all MTs that were read in

◆ getMTXSecs()

map< int, ACECrossSection > ACEIsotope::getMTXSecs ( )

returns neutron-producing MTs

◆ getOutgoingSpec()

secondarySpectra ACEIsotope::getOutgoingSpec ( int  a_MT)

returns secondary spectrum for cross section MT

◆ getTotalXSec()

double ACEIsotope::getTotalXSec ( double  a_energyIn)

to normalize "forced collision" MC

Here is the caller graph for this function:

◆ loadACEData()

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

Here is the call graph for this function:
Here is the caller graph for this function:

◆ reset()

void ACEIsotope::reset ( )

reset data members

Here is the call graph for this function:

◆ sampleMT()

int ACEIsotope::sampleMT ( double  a_energyIn)

Monte-Carlo sample an MT for an incident neutron energy.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ sampleOutgoing()

vector< outgoingData > ACEIsotope::sampleOutgoing ( double  a_energyIn,
int  a_MT,
bool  a_sampleGamma = true 
)

assumint isotropic lab frame

Here is the call graph for this function:
Here is the caller graph for this function:

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