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

Functions

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

Function Documentation

◆ main()

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

meulders 16 MeV flux

weaver 12C, 14 MeV, 3 deg - starts at 3.5 MeV

gamma ray spectra -> for single degenerate and all (still 1 gamma per event)

neutron spectra -> for single degenerate and all (still 1 gamma per event)

get non-deterministic generator for seed

initialize random engine with random seed

non-degenerate fraction for TOF

non-degenerate fraction for Energy

sample from Meulders 16 MeV

compute incoming TOF

compute Incoming TOF bin (170 ns spacing)

compute overlapping energies

sample cross section, generate outgoing particles

tally outgoing neutron and gamma energies

select random gamma ray that was detected

compute total detected outoing energy

compute number of kinematically allowed beam energies

compute fraction of non-degenerate events per TOF bin

Here is the call graph for this function: