Project
Loading...
Searching...
No Matches
DCS.cxx File Reference

DCS data point data formats. More...

#include <limits>
#include "DataFormatsTPC/DCS.h"
#include "TLinearFitter.h"
#include "TTree.h"

Go to the source code of this file.

Functions

void fillBuffer (std::pair< std::vector< float >, std::vector< TimeStampType > > &buffer, const std::pair< std::vector< float >, std::vector< TimeStampType > > &values, TimeStampType tStart, const int minPoints)
 
void trimStats (o2::math_utils::RollingStats &stats, size_t n)
 

Detailed Description

DCS data point data formats.

Author
Jens Wiechula

Definition in file DCS.cxx.

Function Documentation

◆ fillBuffer()

void fillBuffer ( std::pair< std::vector< float >, std::vector< TimeStampType > > &  buffer,
const std::pair< std::vector< float >, std::vector< TimeStampType > > &  values,
TimeStampType  tStart,
const int  minPoints 
)

Definition at line 320 of file DCS.cxx.

◆ trimStats()

void trimStats ( o2::math_utils::RollingStats stats,
size_t  n 
)

truncate all parallel vectors of a RollingStats to size n, keeping the leading n entries. Used to keep RobustPressure's members aligned with a times vector that got trimmed.

Definition at line 359 of file DCS.cxx.