Berkeley Nuclear Data Software
|
#include <CLYCSpecAna.h>
Public Member Functions | |
CLYCSpecAna () | |
std::vector< TH2F * > | testCDFProc () |
void | buildCDFGridSearchHists (int a_channel, int minTotalInt, int maxTotalInt, int a_minOvThreshold, int a_maxEvStart, double a_minTailToTotal, std::string a_outFileName) |
void | buildCDFTTTPSDGridSearch (int a_channel, std::string a_outFileName="", int a_minEvStart=550, int a_maxEvStart=600) |
void | evalCDFGridSearch (string a_fileName, string a_outFileName) |
TFile * | evalResolution (std::vector< int > a_chList) |
std::vector< std::pair< double, double > > | evalPIDSlice (TH1D *a_hist) |
double | calcFNR (double a_meanLow, double a_sigLow, double a_ampLow, double a_meanHigh, double a_sigHigh, double a_ampHigh, double &a_finalThreshold) |
std::vector< TH2 * > | drawTailToTotal () |
![]() | |
PostProcBase () | |
defualt constructor puts class into a working state More... | |
virtual int | addFile (string a_filename) |
virtual int | addFilesFromDirectory (string a_dir, string a_ext) |
virtual int | loadEvent (int a_eventNumber) |
loads a specified event into memory More... | |
virtual int | fileNotLoaded () |
tests if a file is loaded and prinst a message if not More... | |
virtual int | clearFileState () |
virtual std::ostream & | printState (std::ostream &a_stream=std::cout) |
virtual | ~PostProcBase () |
TChain * | getTrees () |
danger danger, use this if you know what you are doing. More... | |
Additional Inherited Members | |
![]() | |
TChain * | m_trees |
for associating the trees from files More... | |
string | m_treeName |
for storing the name of the tree More... | |
string | m_branchName |
for storing the name of the branch More... | |
CLYCTOTWFResults * | m_currentEvent |
for storing the current event More... | |
vector< string > | m_loadedFiles |
for storing a list of loaded files More... | |
bool | m_hasFile |
flag for wheter a file has been loaded More... | |
this intent of this class is to manage the analysis of data products relating to a CLYC Spectroscopy system.
CLYCSpecAna::CLYCSpecAna | ( | ) |
default construtor puts the class into a rather uninteresting state it really requires a config file to do anything meaningful this may get moved to private as a result
void CLYCSpecAna::buildCDFGridSearchHists | ( | int | a_channel, |
int | minTotalInt, | ||
int | maxTotalInt, | ||
int | a_minOvThreshold, | ||
int | a_maxEvStart, | ||
double | a_minTailToTotal, | ||
std::string | a_outFileName | ||
) |
void CLYCSpecAna::buildCDFTTTPSDGridSearch | ( | int | a_channel, |
std::string | a_outFileName = "" , |
||
int | a_minEvStart = 550 , |
||
int | a_maxEvStart = 600 |
||
) |
double CLYCSpecAna::calcFNR | ( | double | a_meanLow, |
double | a_sigLow, | ||
double | a_ampLow, | ||
double | a_meanHigh, | ||
double | a_sigHigh, | ||
double | a_ampHigh, | ||
double & | a_finalThreshold | ||
) |
std::vector< TH2 * > CLYCSpecAna::drawTailToTotal | ( | ) |
void CLYCSpecAna::evalCDFGridSearch | ( | string | a_fileName, |
string | a_outFileName | ||
) |
std::vector< std::pair< double, double > > CLYCSpecAna::evalPIDSlice | ( | TH1D * | a_hist | ) |
TFile * CLYCSpecAna::evalResolution | ( | std::vector< int > | a_chList | ) |
used for PSD plots
std::vector< TH2F * > CLYCSpecAna::testCDFProc | ( | ) |