Berkeley Nuclear Data Software
|
#include <CompSpecAna.h>
Public Member Functions | |
CompSpecAna () | |
CompSpecAna (std::string a_jsonConfigName) | |
constructor used to read the config on construction More... | |
void | loadConfig (std::string a_jsonConfigName) |
void | buildTargetLightYield (bool a_applyCuts=true) |
void | buildRelativeLightYield (std::string a_outfile="relativeLightYield.root", bool a_applyCuts=true, bool a_debug=true) |
void | plotWFs (int a_numWFs=10) |
![]() | |
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... | |
Public Attributes | |
std::map< string, bool > | m_cutState |
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... | |
CompSpecEvent * | 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 the CompSpec system. In general it will manage accumulations of data into relevant spectra or TTrees of basic type for further analysis
CompSpecAna::CompSpecAna | ( | ) |
CompSpecAna::CompSpecAna | ( | std::string | a_jsonConfigName | ) |
constructor used to read the config on construction
void CompSpecAna::buildRelativeLightYield | ( | std::string | a_outfile = "relativeLightYield.root" , |
bool | a_applyCuts = true , |
||
bool | a_debug = true |
||
) |
maxLY
void CompSpecAna::buildTargetLightYield | ( | bool | a_applyCuts = true | ) |
void CompSpecAna::loadConfig | ( | std::string | a_jsonConfigName | ) |
void CompSpecAna::plotWFs | ( | int | a_numWFs = 10 | ) |
std::map<string, bool> CompSpecAna::m_cutState |