Berkeley Nuclear Data Software
Public Member Functions | List of all members
CLYCSpecAna Class Reference

#include <CLYCSpecAna.h>

Inheritance diagram for CLYCSpecAna:
Inheritance graph
[legend]
Collaboration diagram for CLYCSpecAna:
Collaboration graph
[legend]

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 ()
 
- Public Member Functions inherited from PostProcBase< CLYCTOTWFResults >
 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

- Protected Attributes inherited from PostProcBase< CLYCTOTWFResults >
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...
 
CLYCTOTWFResultsm_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...
 

Detailed Description

this intent of this class is to manage the analysis of data products relating to a CLYC Spectroscopy system.

Constructor & Destructor Documentation

◆ CLYCSpecAna()

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

Member Function Documentation

◆ buildCDFGridSearchHists()

void CLYCSpecAna::buildCDFGridSearchHists ( int  a_channel,
int  minTotalInt,
int  maxTotalInt,
int  a_minOvThreshold,
int  a_maxEvStart,
double  a_minTailToTotal,
std::string  a_outFileName 
)

◆ buildCDFTTTPSDGridSearch()

void CLYCSpecAna::buildCDFTTTPSDGridSearch ( int  a_channel,
std::string  a_outFileName = "",
int  a_minEvStart = 550,
int  a_maxEvStart = 600 
)

◆ calcFNR()

double CLYCSpecAna::calcFNR ( double  a_meanLow,
double  a_sigLow,
double  a_ampLow,
double  a_meanHigh,
double  a_sigHigh,
double  a_ampHigh,
double &  a_finalThreshold 
)
Here is the call graph for this function:

◆ drawTailToTotal()

std::vector< TH2 * > CLYCSpecAna::drawTailToTotal ( )

◆ evalCDFGridSearch()

void CLYCSpecAna::evalCDFGridSearch ( string  a_fileName,
string  a_outFileName 
)

◆ evalPIDSlice()

std::vector< std::pair< double, double > > CLYCSpecAna::evalPIDSlice ( TH1D *  a_hist)
Here is the call graph for this function:

◆ evalResolution()

TFile * CLYCSpecAna::evalResolution ( std::vector< int >  a_chList)

used for PSD plots

◆ testCDFProc()

std::vector< TH2F * > CLYCSpecAna::testCDFProc ( )

The documentation for this class was generated from the following files: