Berkeley Nuclear Data Software
Functions
MCSample.cpp File Reference
#include "TH2.h"
#include "TFile.h"
#include "ACEDataTypes.h"
#include "ACEIsotope.h"
#include <iostream>
#include <vector>
Include dependency graph for MCSample.cpp:

Functions

int main (int argc, char const *argv[])
 

Function Documentation

◆ main()

int main ( int  argc,
char const *  argv[] 
)

get non-deterministic generator for seed

initialize random engine with random seed

sample an incident neutron energy from a uniform [.5,20] MeV distribution

select a reaction channel based on incident energy

generate list of outgoing radiation from selected channel

Here is the call graph for this function: