![]() |
Project
|
Task for producing offline calibration objects. More...
#include <OfflineCalibSpec.h>
Inherits o2::framework::Task.
Public Member Functions | |
| OfflineCalibSpec (bool makeCellIDTimeEnergy, bool rejectCalibTriggers, bool rejectL0Trigger, std::shared_ptr< o2::emcal::CalibLoader > calibHandler) | |
| Constructor. | |
| ~OfflineCalibSpec () override=default | |
| Destructor. | |
| void | init (framework::InitContext &ctx) final |
| Initializing the offline calib task. | |
| void | finaliseCCDB (framework::ConcreteDataMatcher &matcher, void *obj) final |
| void | run (framework::ProcessingContext &ctx) final |
| Fill histograms needed for the offline calibration. | |
| void | endOfStream (o2::framework::EndOfStreamContext &ec) final |
| Write histograms to an output root file. | |
Public Member Functions inherited from o2::framework::Task | |
| virtual | ~Task () |
| virtual void | stop () |
| This is invoked on stop. | |
Static Public Member Functions | |
| static const char * | getCTPDigitsBinding () |
| static const char * | getCTPConfigBinding () |
Task for producing offline calibration objects.
This task fills offline calibration objects for the EMCAL.
Definition at line 42 of file OfflineCalibSpec.h.
|
inline |
Constructor.
| makeCellIDTimeEnergy | If true the THnSparseF of cell ID, time, and energy is made |
| rejectCalibTriggers | if true, only events which have the o2::trigger::PhT flag will be taken into account |
Definition at line 50 of file OfflineCalibSpec.h.
|
overridedefault |
Destructor.
|
finalvirtual |
Write histograms to an output root file.
| ec | end of stream context |
Reimplemented from o2::framework::Task.
Definition at line 191 of file OfflineCalibSpec.cxx.
|
finalvirtual |
Loading CCDB object into internal cache for the 3 supported CCDB entries (bad channel map, time calibration params, gain calibration params). Objects are only loaded in case the calibration type was enabled.
Reimplemented from o2::framework::Task.
Definition at line 50 of file OfflineCalibSpec.cxx.
|
inlinestatic |
Definition at line 75 of file OfflineCalibSpec.h.
|
inlinestatic |
Definition at line 74 of file OfflineCalibSpec.h.
|
finalvirtual |
Initializing the offline calib task.
| ctx | Init context |
Reimplemented from o2::framework::Task.
Definition at line 29 of file OfflineCalibSpec.cxx.
|
finalvirtual |
Fill histograms needed for the offline calibration.
| ctx | Processing context |
Implements o2::framework::Task.
Definition at line 95 of file OfflineCalibSpec.cxx.