#include <SingleTOFAnalysis.h>
this class is intended to manage an provide analysis of reduced data products from both the simulation and data collected from single tof experiments relevant reduction classes currently include TOFPostProcessing.cpp for experimental data and SingleTOFAna.h for simulations currently focused on a single detector simultaneous consideration of multiple detector should maybe just be built out of mutltiple instantiations of this class
◆ SingleTOFAnalysis() [1/2]
SingleTOFAnalysis::SingleTOFAnalysis |
( |
| ) |
|
default constructor puts the class into a working state with dummy parameters. It won't do much without loading file
◆ SingleTOFAnalysis() [2/2]
SingleTOFAnalysis::SingleTOFAnalysis |
( |
double |
a_flightPath, |
|
|
double |
a_timeCalib = 0 |
|
) |
| |
onstructor puts the class into a working state with basic parameters. It won't do much without loading file
◆ addResponseTree()
int SingleTOFAnalysis::addResponseTree |
( |
std::string |
a_filename | ) |
|
add the response matrix reuction and derived quantities for the simulation of the experimental configuration
◆ correctGammaPeak()
TH1 * SingleTOFAnalysis::correctGammaPeak |
( |
TH1 * |
a_gammaTimeHistory, |
|
|
double |
a_startTime, |
|
|
double |
a_stopTime |
|
) |
| |
this function takes the gamma historay as well as two time points at which to consider the background for a subtraction to be used in the generation of an appropriately smeared response matrix
◆ createResponseMatrix()
TH3 * SingleTOFAnalysis::createResponseMatrix |
( |
TH1 * |
a_gammaTimeHistory | ) |
|
◆ generateCalibrationAndPSDCutPlots()
std::vector< TH1 * > SingleTOFAnalysis::generateCalibrationAndPSDCutPlots |
( |
std::string |
a_psdBoundFileName | ) |
|
this function reads a series of xy pairs for boundary lines
◆ generatePSDPlot()
TH1 * SingleTOFAnalysis::generatePSDPlot |
( |
| ) |
|
this function constructs histograms for obtaining psd cuts
◆ getPhMax()
double SingleTOFAnalysis::getPhMax |
( |
| ) |
|
◆ getPhMin()
double SingleTOFAnalysis::getPhMin |
( |
| ) |
|
◆ getPhRes()
double SingleTOFAnalysis::getPhRes |
( |
| ) |
|
◆ getPSDBoundPlot()
TMultiGraph * SingleTOFAnalysis::getPSDBoundPlot |
( |
| ) |
|
this function returns a multigraph with the psd bounds
◆ getTimeBinWidth()
double SingleTOFAnalysis::getTimeBinWidth |
( |
| ) |
|
◆ getTofMax()
double SingleTOFAnalysis::getTofMax |
( |
| ) |
|
◆ getTofMin()
double SingleTOFAnalysis::getTofMin |
( |
| ) |
|
◆ loadExpDataTrees()
int SingleTOFAnalysis::loadExpDataTrees |
( |
std::string |
a_fileName, |
|
|
int |
a_ch |
|
) |
| |
default constructor for use with detectors takes and loads the trees from reduced experimental data
◆ loadPSDBounds()
int SingleTOFAnalysis::loadPSDBounds |
( |
std::string |
a_psdBoundFileName | ) |
|
this function generates the histograms needed for getting time of flight calibrations this function reads a series of PSD boundary graphs corresponding to gamma and neutron bounds for the experiments
this function reads a series of PSD boundary graphs corresponding to gamma and neutron bounds for the experiments
◆ producePH_V_TOF()
TH2F * SingleTOFAnalysis::producePH_V_TOF |
( |
TH1 * |
a_spectrum, |
|
|
TH3 * |
a_responseMatrix |
|
) |
| |
◆ setPhMax()
int SingleTOFAnalysis::setPhMax |
( |
double |
a_phMax | ) |
|
◆ setPhMin()
int SingleTOFAnalysis::setPhMin |
( |
double |
a_phMin | ) |
|
◆ setPhRes()
int SingleTOFAnalysis::setPhRes |
( |
double |
a_phRes | ) |
|
◆ setTimeBinWidth()
int SingleTOFAnalysis::setTimeBinWidth |
( |
double |
a_timeBinWidth | ) |
|
◆ setTofMax()
int SingleTOFAnalysis::setTofMax |
( |
double |
a_tofMax | ) |
|
◆ setTofMin()
int SingleTOFAnalysis::setTofMin |
( |
double |
a_tofMin | ) |
|
The documentation for this class was generated from the following files: