#include <RunProcessor.h>
Public Types | |
typedef std::vector< float > | inputType |
typedef cmEstimator< float > | cmTool |
Public Methods | |
RunProcessor (const char *rootFileName, const std::vector< float > &pedestals, const float outlierCut, const unsigned int iter) | |
bool | execute (run &dataRun) |
bool | finalize () |
virtual | ~RunProcessor () |
Private Methods | |
void | commonModeCorrection (Event &aEvt) |
void | correctForPedestal (const Event &aEvt, RunProcessor::inputType &corData) |
void | fillEvent (RunProcessor::inputType &corData, const unsigned int iOff, Event &aEvt) |
void | fillEventTree (const Event &aEvt) |
Private Attributes | |
TFile * | m_rootFile |
TTree * | m_eTree |
Data | m_data |
inputType | m_pedestals |
cmTool * | m_cmEst |
int | m_reject |
|
|
|
|
|
constructer.
|
|
destructer |
|
Apply common mode correction |
|
Apply pedestal correction |
|
execute
|
|
fill event structure with corrected adc |
|
fill the root tree after each event |
|
finalize method |
|
|
|
|
|
|
|
|
|
|
|
|