BOSS 7.1.2
BESIII Offline Software System
Loading...
Searching...
No Matches
VDataItem Struct Reference

#include <VData.h>

Public Member Functions

double & operator[] (int i)
 

Static Public Member Functions

static size_t size ()
 
static VDataItem fromArray (const double *item)
 

Public Attributes

double data [MDC_layers]
 

Static Public Attributes

static const size_t MDC_layers =43
 

Detailed Description

Definition at line 19 of file VData.h.

Member Function Documentation

◆ fromArray()

VDataItem VDataItem::fromArray ( const double * item)
static

Definition at line 121 of file VData.cxx.

121 {
122 VDataItem out;
123 for (size_t i=0; i<VDataItem::size(); i++){
124 out[i]=item[i];
125 }
126 return out;
127}
static size_t size()
Definition VData.h:23

Referenced by VData::VData().

◆ operator[]()

double & VDataItem::operator[] ( int i)
inline

Definition at line 22 of file VData.h.

22{ return data[i]; }
double data[MDC_layers]
Definition VData.h:21

◆ size()

static size_t VDataItem::size ( )
inlinestatic

Definition at line 23 of file VData.h.

23 {
24 return MDC_layers;
25 }
static const size_t MDC_layers
Definition VData.h:20

Referenced by fromArray(), VData::getAvgDrop(), VData::getAvgDropButVeryDrop(), VData::getDrop(), and VData::getVoltage().

Member Data Documentation

◆ data

double VDataItem::data[MDC_layers]

Definition at line 21 of file VData.h.

Referenced by operator[]().

◆ MDC_layers

const size_t VDataItem::MDC_layers =43
static

Definition at line 20 of file VData.h.

Referenced by size().


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