|
TCutG * | loadCut (string a_cutFile, string a_cutName) |
|
void | reduceClycData (int a_scintCh, int a_RFCh, std::string a_inputFilename, bool doWfFitting, int a_maxMultiplicity=2, double a_slope=485, double a_offset=1.86) |
|
void | tuneWFFitting (std::string a_WFTemplate) |
|
| COMPASSWFAna () |
|
| COMPASSWFAna (std::string a_writeMode) |
|
void | drawTrace (int a_evNum, bool a_clearGraph=true) |
|
void | drawSmoothedTrace (std::vector< int > a_evNums, bool a_clearGraph=true) |
|
void | drawInvertedTrace (int a_evNum, bool a_clearGraph=true) |
|
void | viewOverflowEvents () |
|
void | drawNextTrace (int a_chNum, bool a_invert=false, bool a_clearGraph=true) |
|
void | testBaselineEstimation (int a_ch, int a_numSamples) |
|
std::vector< TH1 * > | getBaselineStastics (int a_ch, int a_numSamples) |
|
TArrayS | getTrace (int a_entry) |
|
std::vector< double > | getTraceDbl (int a_entry) |
|
std::vector< double > | getTraceDbl (int a_entry, int a_eraseFront, int a_eraseEnd) |
|
TH1 * | getPulseIntegralHistogram (int a_ch, int a_threshold, int a_numBSLSamples, int a_integrationLength, bool a_invert=false) |
| this function creates a 1D energy histogram More...
|
|
| CompassPostProcBase () |
| default contstructor put the class into a commonly working state More...
|
|
| CompassPostProcBase (std::string a_writeMode) |
|
virtual int | addFile (string a_filename) |
| overloading defaul file loader to manage complex association of branches More...
|
|
virtual int | addCoinsFromFile (string a_fileName, double a_coinWindow) |
|
void | setFileMode (bool a_hasWFs) |
| used to set whether the file is list mode or mixed mode. More...
|
|
int | buildTimeSortedVector (int a_startEvent=0, int a_numToRead=-1) |
| used to read tree contents into memory and ensure they are time sorted More...
|
|
virtual int | buildCoincidences (double a_coinWindow) |
|
TH1 * | buildDtHist (int a_ch1, int a_ch2, double a_maxT, int a_maxMultiplicity=2, bool enforceOrder=true) |
|
void | buildClycTree (int a_ch1, int a_ch2, double a_maxT, int a_maxMultiplicity=2, bool enforceOrder=true, int psdType=1, double a_slope=243, double a_offset=-2.3) |
|
void | buildTrigDTTree (int a_trigChannel, std::string a_fileName) |
|
TH1 * | buildDtVEHist (int a_ch1, int a_ch2, double a_maxT, int a_maxMultiplicity=2, bool enforceOrder=false, int a_EchOrder=0) |
|
TH1 * | buildInterEventTime (int a_ch, double a_maxT) |
|
TH1 * | buildCountRateHist (int a_ch, int a_maxCountRate) |
|
TH1 * | buildDtTrigVEHist (int a_evCh, int a_trigCh, double a_maxT) |
|
TH2 * | buildWallTimeVEnergy (int a_ch) |
|
TH2 * | buildPSDPlot (int a_ch) |
|
std::vector< compassCoin > | getCoins () |
|
void | writeCoinsToDisk (std::string a_outFileName="coinFile.root") |
|
void | investigateCoins () |
|
std::ostream & | printEvent (int a_eventID, std::ostream &a_stream=std::cout) |
|
std::ostream & | printTimeSort (std::ostream &a_stream=std::cout, int a_num=-1) |
|
void | readCutFile (std::string a_fileName) |
|
void | clearData () |
| clears sorted vector, coincidences and loaded file More...
|
|
| PostProcBase () |
| defualt constructor puts class into a working state More...
|
|
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...
|
|
this class is intended to reduce data from CLYC detectors using support from the class structure in CAENCompProcAna. The basics of loading file and reading events into memory are defined there