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
 
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)
 
 ClassDefNV (Temperature, 1)
 

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 178 of file DCS.h.

Member Typedef Documentation

◆ StatsDPs

Definition at line 223 of file DCS.h.

Constructor & Destructor Documentation

◆ Temperature()

Temperature::Temperature ( )
noexcept

Definition at line 46 of file DCS.cxx.

Member Function Documentation

◆ append()

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

Definition at line 258 of file DCS.h.

◆ ClassDefNV()

o2::tpc::dcs::Temperature::ClassDefNV ( Temperature  ,
 
)

◆ clear()

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

Definition at line 251 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 239 of file DCS.h.

◆ getMeanTempRaw()

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

Definition at line 234 of file DCS.h.

◆ getSensorPosition()

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

Definition at line 211 of file DCS.h.

◆ getStats()

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

Definition at line 229 of file DCS.h.

◆ sortAndClean()

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

Definition at line 244 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 227 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 188 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 190 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 186 of file DCS.h.

◆ statsA

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

statistics fit values per integration time A-Side

Definition at line 225 of file DCS.h.

◆ statsC

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

statistics fit values per integration time C-Side

Definition at line 226 of file DCS.h.


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