![]() |
PandaRoot
|
Simple Process to calculate calibrated energy for BSEmcDigi. More...
#include <BSEmcApplyCalibrationProcess.h>
Public Member Functions | |
BSEmcApplyCalibrationProcess () | |
virtual | ~BSEmcApplyCalibrationProcess () |
virtual void | SetDetectorName (const std::string &t_detectorName) |
Set the Detector name. Important, as most EmcParameter need to know for which detector they need to be fetched (each Emc Subdetector has its own set of parameters) More... | |
virtual void | SetupParameters (const PndParameterRegister *t_parameterRegister) |
Fetch all parameters from the PndParameterRegister. More... | |
virtual void | SetData (BSEmcDigitizationData *t_data) |
Pass the data container ptrs to the process, and store pointers in class members. More... | |
virtual void | Process () |
The actual data transformation (digitizing, clustering, etc.) should be defined here. More... | |
void | CalibrateDigis (const std::vector< BSEmcDigi *> &t_digiCont) |
void | SetCalibrationParName (const std::string &t_parName) |
![]() | |
PndProcess () | |
PndProcess (const std::string &t_processname) | |
virtual | ~PndProcess () |
const std::vector< std::string > & | GetListOfRequiredParameters () const |
Get the List Of Required Parameters. More... | |
virtual void | PreProcess () |
PreProcess() is called before the actual Process() call in each event. More... | |
virtual void | PostProcess () |
Immediately after calling Process() PostProcess() is called for cleanup of internal process data, or if not needed, to end the time and memory increase measurement started by PreProcess() More... | |
virtual void | TearDown () |
Last actions at the end of the run. More... | |
Additional Inherited Members | |
![]() | |
std::vector< std::string > | fParameterList |
Parameter names required by this PndProcess. Needs to be populated in derived class. More... | |
std::string | fDetectorName |
Set Detector name this PndProcess transforms data for. Required for example by EMC Processes to fetch right parameters. More... | |
std::string | fProcessName |
Name of current PndProcess (for debugging) More... | |
TStopwatch | fTimer |
Timer to monitor Process() time. More... | |
Double_t | fTotalTime |
Time taken by this Process' Process() More... | |
ProcInfo_t | fProcInfo |
Helper to access cpu process Memory Info. More... | |
Long_t | fLastMemSize |
Simple Process to calculate calibrated energy for BSEmcDigi.
requires more work one more than one high/low-gain calibration value per Emc detector exists
Definition at line 35 of file BSEmcApplyCalibrationProcess.h.
BSEmcApplyCalibrationProcess::BSEmcApplyCalibrationProcess | ( | ) |
|
virtual |
void BSEmcApplyCalibrationProcess::CalibrateDigis | ( | const std::vector< BSEmcDigi *> & | t_digiCont | ) |
|
virtual |
The actual data transformation (digitizing, clustering, etc.) should be defined here.
Implements PndProcess< BSEmcDigitizationData >.
|
inline |
Definition at line 45 of file BSEmcApplyCalibrationProcess.h.
|
virtual |
Pass the data container ptrs to the process, and store pointers in class members.
t_data |
Implements PndProcess< BSEmcDigitizationData >.
|
virtual |
Set the Detector name. Important, as most EmcParameter need to know for which detector they need to be fetched (each Emc Subdetector has its own set of parameters)
t_detectorname |
Reimplemented from PndProcess< BSEmcDigitizationData >.
|
virtual |
Fetch all parameters from the PndParameterRegister.
t_parameter |
Implements PndProcess< BSEmcDigitizationData >.