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 = {};
120 TimeRange mTimeTemperature;
121 TimeRange mTimeHighVoltage;
123 TimeRange mTimePressure;
130 bool mWriteDebug{
false};
131 bool mRoundToInterval{
false};
132 bool mHasData{
false};
133 std::string mDebugOutputName{
"DCS_debug.root"};
134 std::unique_ptr<o2::utils::TreeStreamRedirector> mDebugStream;
DCS data point data formats.
Timeframe settings Average distance in cm of events merged into Randomize distance around average distance of merged events Simulate correct bunch interactions instead of placing only the average number of events A value[n] sets TFlen for[n] collisions in Number of bunches per trainsort Number of bunch trains Instantaneous interaction rate Do not simulate border Total number of collisions to be placed in the interior of all time Do not select random but walk over array of events in stride steps h Event generator settings h configStandalone Use CPU for GPU Force usage of the specified GPU device no CPU fallback Continue processing after an error First event to process
Timeframe settings Average distance in cm of events merged into Randomize distance around average distance of merged events Simulate correct bunch interactions instead of placing only the average number of events A value[n] sets TFlen for[n] collisions in Number of bunches per trainsort Number of bunch trains Instantaneous interaction rate Do not simulate border Total number of collisions to be placed in the interior of all time Do not select random but walk over array of events in stride steps h Event generator settings h configStandalone Use CPU for GPU Force usage of the specified GPU device no CPU fallback Continue processing after an error First event to Number of events to Number of iterations to Number of iterations to Number of initial iterations excluded from const char Directory with events to Events directory is and not inside events Show standalone event Run event generator maximum time bin of continuous for triggered for automatic continuous for automatic continuous triggered uint64_t
auto getPressureCCDBStartTime() const
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