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

#include <CompSpecAna.h>

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

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

- Protected Attributes inherited from PostProcBase< CompSpecEvent >
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...
 
CompSpecEventm_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 the CompSpec system. In general it will manage accumulations of data into relevant spectra or TTrees of basic type for further analysis

Constructor & Destructor Documentation

◆ CompSpecAna() [1/2]

CompSpecAna::CompSpecAna ( )

◆ CompSpecAna() [2/2]

CompSpecAna::CompSpecAna ( std::string  a_jsonConfigName)

constructor used to read the config on construction

Here is the call graph for this function:

Member Function Documentation

◆ buildRelativeLightYield()

void CompSpecAna::buildRelativeLightYield ( std::string  a_outfile = "relativeLightYield.root",
bool  a_applyCuts = true,
bool  a_debug = true 
)

maxLY

Here is the call graph for this function:

◆ buildTargetLightYield()

void CompSpecAna::buildTargetLightYield ( bool  a_applyCuts = true)

◆ loadConfig()

void CompSpecAna::loadConfig ( std::string  a_jsonConfigName)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ plotWFs()

void CompSpecAna::plotWFs ( int  a_numWFs = 10)
Here is the call graph for this function:

Member Data Documentation

◆ m_cutState

std::map<string, bool> CompSpecAna::m_cutState

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