Project
Loading...
Searching...
No Matches
o2::tpc::dcs::Temperature Struct Reference

#include <DCS.h>

Classes

struct  Position
 
struct  Stats
 

Public Types

using StatsDPs = DataPointVector< Stats >
 

Public Member Functions

 Temperature () noexcept
 
void fitTemperature (Side side, dcs::TimeStampType fitInterval=5 *60 *1000, const bool roundToInterval=false)
 make fit of the mean temperature and gradients in time intervals
 
const StatsgetStats (const Side s, const TimeStampType timeStamp) const
 
DataType getMeanTempRaw ()
 
void fill (std::string_view sensor, const TimeStampType time, const DataType temperature)
 
void sortAndClean ()
 
void clear ()
 
void append (const Temperature &other)
 

Static Public Member Functions

static constexpr auto & getSensorPosition (const size_t sensor)
 

Public Attributes

StatsDPs statsA
 statistics fit values per integration time A-Side
 
StatsDPs statsC
 statistics fit values per integration time C-Side
 
std::vector< RawDPsFraw
 raw temperature values from DCS for
 

Static Public Attributes

static constexpr int SensorsPerSide = 9
 number of temperature sensors in the active volume per side
 
static const std::unordered_map< std::string, intSensorNameMap
 
static constexpr std::array< Position, SensorsPerSide *SIDESSensorPosition
 

Detailed Description

Temerature value store

Definition at line 234 of file DCS.h.

Member Typedef Documentation

◆ StatsDPs

Definition at line 285 of file DCS.h.

Constructor & Destructor Documentation

◆ Temperature()

Temperature::Temperature ( )
noexcept

Definition at line 48 of file DCS.cxx.

Member Function Documentation

◆ append()

void o2::tpc::dcs::Temperature::append ( const Temperature other)
inline

Definition at line 320 of file DCS.h.

◆ clear()

void o2::tpc::dcs::Temperature::clear ( )
inline

Definition at line 313 of file DCS.h.

◆ fill()

void o2::tpc::dcs::Temperature::fill ( std::string_view  sensor,
const TimeStampType  time,
const DataType  temperature 
)
inline

Definition at line 301 of file DCS.h.

◆ fitTemperature()

void Temperature::fitTemperature ( Side  side,
dcs::TimeStampType  fitInterval = 5 * 60 * 1000,
const bool  roundToInterval = false 
)

make fit of the mean temperature and gradients in time intervals

Parameters
SideTPC side for which to make the fit
fitIntervaltime interval for the fits
roundToIntervalround min time

Definition at line 165 of file DCS.cxx.

◆ getMeanTempRaw()

DataType o2::tpc::dcs::Temperature::getMeanTempRaw ( )
inline

Definition at line 296 of file DCS.h.

◆ getSensorPosition()

static constexpr auto & o2::tpc::dcs::Temperature::getSensorPosition ( const size_t  sensor)
inlinestaticconstexpr

Definition at line 267 of file DCS.h.

◆ getStats()

const Stats & o2::tpc::dcs::Temperature::getStats ( const Side  s,
const TimeStampType  timeStamp 
) const
inline

Definition at line 291 of file DCS.h.

◆ sortAndClean()

void o2::tpc::dcs::Temperature::sortAndClean ( )
inline

Definition at line 306 of file DCS.h.

Member Data Documentation

◆ raw

std::vector<RawDPsF> o2::tpc::dcs::Temperature::raw

raw temperature values from DCS for

Definition at line 289 of file DCS.h.

◆ SensorNameMap

const std::unordered_map< std::string, int > Temperature::SensorNameMap
static
Initial value:
= {
{"TPC_PT_351_TEMPERATURE", 0},
{"TPC_PT_376_TEMPERATURE", 1},
{"TPC_PT_415_TEMPERATURE", 2},
{"TPC_PT_447_TEMPERATURE", 3},
{"TPC_PT_477_TEMPERATURE", 4},
{"TPC_PT_488_TEMPERATURE", 5},
{"TPC_PT_537_TEMPERATURE", 6},
{"TPC_PT_575_TEMPERATURE", 7},
{"TPC_PT_589_TEMPERATURE", 8},
{"TPC_PT_629_TEMPERATURE", 9},
{"TPC_PT_664_TEMPERATURE", 10},
{"TPC_PT_695_TEMPERATURE", 11},
{"TPC_PT_735_TEMPERATURE", 12},
{"TPC_PT_757_TEMPERATURE", 13},
{"TPC_PT_797_TEMPERATURE", 14},
{"TPC_PT_831_TEMPERATURE", 15},
{"TPC_PT_851_TEMPERATURE", 16},
{"TPC_PT_895_TEMPERATURE", 17},
}

Definition at line 244 of file DCS.h.

◆ SensorPosition

constexpr std::array<Position, SensorsPerSide * SIDES> o2::tpc::dcs::Temperature::SensorPosition
staticconstexpr
Initial value:
{{
{211.40f, 141.25f},
{82.70f, 227.22f},
{-102.40f, 232.72f},
{-228.03f, 112.45f},
{-246.96f, -60.43f},
{-150.34f, -205.04f},
{-16.63f, -253.71f},
{175.82f, -183.66f},
{252.74f, -27.68f},
{228.03f, 112.45f},
{102.40f, 232.72f},
{-71.15f, 244.09f},
{-211.40f, 141.25f},
{-252.74f, -27.68f},
{-175.82f, -183.66f},
{-16.63f, -253.71f},
{150.34f, -205.04f},
{252.74f, -27.68f},
}}

Definition at line 246 of file DCS.h.

◆ SensorsPerSide

constexpr int o2::tpc::dcs::Temperature::SensorsPerSide = 9
staticconstexpr

number of temperature sensors in the active volume per side

Definition at line 242 of file DCS.h.

◆ statsA

StatsDPs o2::tpc::dcs::Temperature::statsA

statistics fit values per integration time A-Side

Definition at line 287 of file DCS.h.

◆ statsC

StatsDPs o2::tpc::dcs::Temperature::statsC

statistics fit values per integration time C-Side

Definition at line 288 of file DCS.h.


The documentation for this struct was generated from the following files: