1 #ifndef _SINGLE_TOF_ANALYSIS_H_
2 #define _SINGLE_TOF_ANALYSIS_H_
10 #include "TMultiGraph.h"
32 double a_timeCalib = 0
96 double m_gammaFlightTime;
99 double m_tdcConversion;
101 double m_timeBinWidth;
119 bool m_pileUpCliping;
120 std::vector<int>* m_hitTime;
134 TH1* m_neutronFluxHistory;
137 std::vector<TGraph*> m_psdBoundGraphs;
144 int getPSDMetric(
double a_amp,
double a_shape);
Definition: SingleTOFAnalysis.h:22
std::vector< TH1 * > generateCalibrationAndPSDCutPlots(std::string a_psdBoundFileName)
this function reads a series of xy pairs for boundary lines
Definition: SingleTOFAnalysis.cpp:161
int setTofMax(double a_tofMax)
Definition: SingleTOFAnalysis.cpp:421
TH1 * correctGammaPeak(TH1 *a_gammaTimeHistory, double a_startTime, double a_stopTime)
Definition: SingleTOFAnalysis.cpp:268
SingleTOFAnalysis()
Definition: SingleTOFAnalysis.cpp:16
int loadPSDBounds(std::string a_psdBoundFileName)
Definition: SingleTOFAnalysis.cpp:221
int setPhMin(double a_phMin)
Definition: SingleTOFAnalysis.cpp:431
double getTimeBinWidth()
Definition: SingleTOFAnalysis.cpp:442
int setPhMax(double a_phMax)
Definition: SingleTOFAnalysis.cpp:436
int addResponseTree(std::string a_filename)
Definition: SingleTOFAnalysis.cpp:100
TMultiGraph * getPSDBoundPlot()
this function returns a multigraph with the psd bounds
Definition: SingleTOFAnalysis.cpp:326
int setPhRes(double a_phRes)
Definition: SingleTOFAnalysis.cpp:426
int setTofMin(double a_tofMin)
Definition: SingleTOFAnalysis.cpp:416
double getPhMin()
Definition: SingleTOFAnalysis.cpp:458
double getPhRes()
Definition: SingleTOFAnalysis.cpp:454
TH3 * createResponseMatrix(TH1 *a_gammaTimeHistory)
Definition: SingleTOFAnalysis.cpp:300
TH1 * generatePSDPlot()
this function constructs histograms for obtaining psd cuts
Definition: SingleTOFAnalysis.cpp:136
double getPhMax()
Definition: SingleTOFAnalysis.cpp:462
double getTofMin()
Definition: SingleTOFAnalysis.cpp:446
int setTimeBinWidth(double a_timeBinWidth)
Definition: SingleTOFAnalysis.cpp:411
double getTofMax()
Definition: SingleTOFAnalysis.cpp:450
TH2F * producePH_V_TOF(TH1 *a_spectrum, TH3 *a_responseMatrix)
Definition: SingleTOFAnalysis.cpp:380
int loadExpDataTrees(std::string a_fileName, int a_ch)
Definition: SingleTOFAnalysis.cpp:55