16#ifndef O2_TPC_DCSProcessor_H_
17#define O2_TPC_DCSProcessor_H_
42 void process(
const gsl::span<const DPCOM> dps);
92 mTimeTemperature = {};
93 mTimeHighVoltage = {};
116 TimeRange mTimeTemperature;
117 TimeRange mTimeHighVoltage;
119 TimeRange mTimePressure;
124 bool mWriteDebug{
false};
125 bool mRoundToInterval{
false};
126 bool mHasData{
false};
127 std::string mDebugOutputName{
"DCS_debug.root"};
128 std::unique_ptr<o2::utils::TreeStreamRedirector> mDebugStream;
DCS data point data formats.
const auto & getTimeGas() const
void fillPressure(const DPCOM &dp)
const auto & getTimePressure() const
void finalizeHighVoltage()
bool hasData() const
if data to process
void setFitInterval(dcs::TimeStampType interval)
set the fit interval
void setWriteDebug(const bool debug=true)
if to write debug information
void fillHV(const DPCOM &dp)
const auto & getTimeTemperature() const
void reset()
reset all data
void setRefPressureInterval(dcs::TimeStampType interval)
void setRoundToInterval(const bool round=true)
round to fit interval
void fillTemperature(const DPCOM &dp)
float getValueF(const DPCOM &dp) const
void setDebugOutputName(std::string_view name)
name of the debug output tree
void setPressureInterval(dcs::TimeStampType interval)
set the interval for averaging the pressure values
void writeDebug()
write the debug output tree
auto getPressureInterval() const
get fit interval
const auto & getTimeHighVoltage() const
void finalizeTemperature()
auto getFitInterval() const
get fit interval
void fillGas(const DPCOM &dp)
GLuint const GLchar * name
Global TPC definitions and constants.
void clear()
\clear all stored data except the buffer