![]() |
Project
|
#include <FITDCSDataProcessor.h>
Inherits o2::framework::Task.
Inherited by o2::fdd::FDDDCSDataProcessor, o2::ft0::FT0DCSDataProcessor, and o2::fv0::FV0DCSDataProcessor.
Public Member Functions | |
FITDCSDataProcessor (const std::string &detectorName, const o2::header::DataDescription &dataDescription) | |
void | init (o2::framework::InitContext &ic) final |
void | run (o2::framework::ProcessingContext &pc) final |
void | endOfStream (o2::framework::EndOfStreamContext &ec) final |
This is invoked whenever we have an EndOfStream event. | |
const std::string & | getDetectorName () const |
bool | getVerboseMode () const |
void | setVerboseMode (bool verboseMode=true) |
![]() | |
virtual | ~Task () |
virtual void | finaliseCCDB (ConcreteDataMatcher &matcher, void *obj) |
virtual void | stop () |
This is invoked on stop. | |
Protected Member Functions | |
virtual std::vector< o2::dcs::DataPointIdentifier > | getHardCodedDPIDs ()=0 |
Protected Attributes | |
std::string | mDetectorName |
Detector name. | |
bool | mVerbose = false |
Verbose mode. | |
Virtual task for processing FIT DCS data
Virtual task for processing FIT DCS data. Each subdetector implements a sub-class with detector specific functionality, e.g. the hard coded DP IDs.
Definition at line 42 of file FITDCSDataProcessor.h.
|
inline |
Definition at line 45 of file FITDCSDataProcessor.h.
|
finalvirtual |
This is invoked whenever we have an EndOfStream event.
Reimplemented from o2::framework::Task.
Definition at line 110 of file FITDCSDataProcessor.cxx.
const std::string & FITDCSDataProcessor::getDetectorName | ( | ) | const |
Definition at line 115 of file FITDCSDataProcessor.cxx.
|
protectedpure virtual |
Gets the DP IDs. They are hard coded in the function implementations as an alternative to fetch them from CCDB.
Implemented in o2::fdd::FDDDCSDataProcessor, o2::ft0::FT0DCSDataProcessor, and o2::fv0::FV0DCSDataProcessor.
bool FITDCSDataProcessor::getVerboseMode | ( | ) | const |
Definition at line 116 of file FITDCSDataProcessor.cxx.
|
finalvirtual |
The method which is called once to initialise the task. Derived classes can use this to save extra state.
Reimplemented from o2::framework::Task.
Definition at line 43 of file FITDCSDataProcessor.cxx.
|
finalvirtual |
This is invoked whenever a new InputRecord is demeed to be complete.
Implements o2::framework::Task.
Definition at line 86 of file FITDCSDataProcessor.cxx.
void FITDCSDataProcessor::setVerboseMode | ( | bool | verboseMode = true | ) |
Definition at line 117 of file FITDCSDataProcessor.cxx.
|
protected |
Detector name.
Definition at line 60 of file FITDCSDataProcessor.h.
|
protected |
Verbose mode.
Definition at line 61 of file FITDCSDataProcessor.h.