BmnRoot
Loading...
Searching...
No Matches
BmnMSCMatrix< IntType > Class Template Reference

#include <BmnMSCMatrix.h>

Inheritance diagram for BmnMSCMatrix< IntType >:
[legend]
Collaboration diagram for BmnMSCMatrix< IntType >:
[legend]

Public Member Functions

 BmnMSCMatrix (size_t times_count=0, NameChMap scalerName2Index=NameChMap{})
 
IntType GetCount (size_t record_id, string scaler_name)
 
IntType GetCount (size_t record_id, uint16_t scaler_id)
 
IntType GetCount (SysPoint &time, string scaler_name)
 
IntType GetCount (SysPoint &time, uint16_t scaler_id)
 
void SetCount (size_t record_id, uint16_t scaler_id, IntType val)
 
void SetCount (size_t record_id, string scaler_name, IntType val)
 
SysPointTime (size_t record_id)
 
TTimeStamp GetTS (size_t record_id)
 
void SetTS (size_t record_id, TTimeStamp ts)
 
NameChMapGetScalerName2indexMap ()
 
TimeLine & ScalerTimeLine (string scaler_name)
 
TimeLine & ScalerTimeLine (uint16_t scaler_id)
 
auto & IsSpillBitVec ()
 
auto & IsBusyBitVec ()
 
const size_t GetNRecords ()
 
const uint16_t GetNScalers ()
 
virtual ~BmnMSCMatrix ()
 
 BmnMSCMatrix (size_t times_count=0, NameChMap scalerName2Index=NameChMap{})
 
IntType GetCount (size_t record_id, string scaler_name)
 
IntType GetCount (size_t record_id, uint16_t scaler_id)
 
IntType GetCount (SysPoint &time, string scaler_name)
 
IntType GetCount (SysPoint &time, uint16_t scaler_id)
 
void SetCount (size_t record_id, uint16_t scaler_id, IntType val)
 
void SetCount (size_t record_id, string scaler_name, IntType val)
 
SysPointTime (size_t record_id)
 
TTimeStamp GetTS (size_t record_id)
 
void SetTS (size_t record_id, TTimeStamp ts)
 
NameChMapGetScalerName2indexMap ()
 
TimeLine & ScalerTimeLine (string scaler_name)
 
TimeLine & ScalerTimeLine (uint16_t scaler_id)
 
auto & IsSpillBitVec ()
 
auto & IsBusyBitVec ()
 
const size_t GetNRecords ()
 
const uint16_t GetNScalers ()
 
virtual ~BmnMSCMatrix ()
 

Static Public Member Functions

static IntType GetCntByTime (TimeLine &row, SysPoint &time)
 
static IntType GetCntByTime (TimeLine &row, SysPoint &time)
 

Detailed Description

template<typename IntType = uint8_t>
class BmnMSCMatrix< IntType >

Storage for all MSC counters of the spill

Parameters
times_count
scaler_count

Definition at line 33 of file BmnMSCMatrix.h.

Constructor & Destructor Documentation

◆ BmnMSCMatrix() [1/2]

template<typename IntType = uint8_t>
BmnMSCMatrix< IntType >::BmnMSCMatrix ( size_t  times_count = 0,
NameChMap  scalerName2Index = NameChMap{} 
)
inline

Definition at line 42 of file BmnMSCMatrix.h.

◆ ~BmnMSCMatrix() [1/2]

template<typename IntType = uint8_t>
virtual BmnMSCMatrix< IntType >::~BmnMSCMatrix ( )
inlinevirtual

Destructor

Definition at line 142 of file BmnMSCMatrix.h.

◆ BmnMSCMatrix() [2/2]

template<typename IntType = uint8_t>
BmnMSCMatrix< IntType >::BmnMSCMatrix ( size_t  times_count = 0,
NameChMap  scalerName2Index = NameChMap{} 
)
inline

Definition at line 42 of file BmnMSCMatrix.h.

◆ ~BmnMSCMatrix() [2/2]

template<typename IntType = uint8_t>
virtual BmnMSCMatrix< IntType >::~BmnMSCMatrix ( )
inlinevirtual

Destructor

Definition at line 142 of file BmnMSCMatrix.h.

Member Function Documentation

◆ GetCntByTime() [1/2]

template<typename IntType = uint8_t>
static IntType BmnMSCMatrix< IntType >::GetCntByTime ( TimeLine &  row,
SysPoint time 
)
inlinestatic

◆ GetCntByTime() [2/2]

template<typename IntType = uint8_t>
static IntType BmnMSCMatrix< IntType >::GetCntByTime ( TimeLine &  row,
SysPoint time 
)
inlinestatic

Definition at line 125 of file BmnMSCMatrix.h.

◆ GetCount() [1/8]

template<typename IntType = uint8_t>
IntType BmnMSCMatrix< IntType >::GetCount ( size_t  record_id,
string  scaler_name 
)
inline

◆ GetCount() [2/8]

template<typename IntType = uint8_t>
IntType BmnMSCMatrix< IntType >::GetCount ( size_t  record_id,
string  scaler_name 
)
inline

◆ GetCount() [3/8]

template<typename IntType = uint8_t>
IntType BmnMSCMatrix< IntType >::GetCount ( size_t  record_id,
uint16_t  scaler_id 
)
inline

◆ GetCount() [4/8]

template<typename IntType = uint8_t>
IntType BmnMSCMatrix< IntType >::GetCount ( size_t  record_id,
uint16_t  scaler_id 
)
inline

◆ GetCount() [5/8]

template<typename IntType = uint8_t>
IntType BmnMSCMatrix< IntType >::GetCount ( SysPoint time,
string  scaler_name 
)
inline

Definition at line 75 of file BmnMSCMatrix.h.

References BmnMSCMatrix< IntType >::GetCount().

◆ GetCount() [6/8]

template<typename IntType = uint8_t>
IntType BmnMSCMatrix< IntType >::GetCount ( SysPoint time,
string  scaler_name 
)
inline

Definition at line 75 of file BmnMSCMatrix.h.

References BmnMSCMatrix< IntType >::GetCount().

◆ GetCount() [7/8]

template<typename IntType = uint8_t>
IntType BmnMSCMatrix< IntType >::GetCount ( SysPoint time,
uint16_t  scaler_id 
)
inline

◆ GetCount() [8/8]

template<typename IntType = uint8_t>
IntType BmnMSCMatrix< IntType >::GetCount ( SysPoint time,
uint16_t  scaler_id 
)
inline

◆ GetNRecords() [1/2]

template<typename IntType = uint8_t>
const size_t BmnMSCMatrix< IntType >::GetNRecords ( )
inline

◆ GetNRecords() [2/2]

template<typename IntType = uint8_t>
const size_t BmnMSCMatrix< IntType >::GetNRecords ( )
inline

Definition at line 137 of file BmnMSCMatrix.h.

◆ GetNScalers() [1/2]

template<typename IntType = uint8_t>
const uint16_t BmnMSCMatrix< IntType >::GetNScalers ( )
inline

Definition at line 139 of file BmnMSCMatrix.h.

◆ GetNScalers() [2/2]

template<typename IntType = uint8_t>
const uint16_t BmnMSCMatrix< IntType >::GetNScalers ( )
inline

Definition at line 139 of file BmnMSCMatrix.h.

◆ GetScalerName2indexMap() [1/2]

template<typename IntType = uint8_t>
NameChMap & BmnMSCMatrix< IntType >::GetScalerName2indexMap ( )
inline

Definition at line 108 of file BmnMSCMatrix.h.

◆ GetScalerName2indexMap() [2/2]

template<typename IntType = uint8_t>
NameChMap & BmnMSCMatrix< IntType >::GetScalerName2indexMap ( )
inline

Definition at line 108 of file BmnMSCMatrix.h.

◆ GetTS() [1/2]

template<typename IntType = uint8_t>
TTimeStamp BmnMSCMatrix< IntType >::GetTS ( size_t  record_id)
inline

Definition at line 105 of file BmnMSCMatrix.h.

References BmnFunctionSet::TimePoint2TS().

◆ GetTS() [2/2]

template<typename IntType = uint8_t>
TTimeStamp BmnMSCMatrix< IntType >::GetTS ( size_t  record_id)
inline

Definition at line 105 of file BmnMSCMatrix.h.

References BmnFunctionSet::TimePoint2TS().

◆ IsBusyBitVec() [1/2]

template<typename IntType = uint8_t>
auto & BmnMSCMatrix< IntType >::IsBusyBitVec ( )
inline

Definition at line 135 of file BmnMSCMatrix.h.

Referenced by BmnMetadataDecoder::ProcessSpillTree().

◆ IsBusyBitVec() [2/2]

template<typename IntType = uint8_t>
auto & BmnMSCMatrix< IntType >::IsBusyBitVec ( )
inline

Definition at line 135 of file BmnMSCMatrix.h.

◆ IsSpillBitVec() [1/2]

template<typename IntType = uint8_t>
auto & BmnMSCMatrix< IntType >::IsSpillBitVec ( )
inline

Definition at line 133 of file BmnMSCMatrix.h.

Referenced by BmnMetadataDecoder::ProcessSpillTree().

◆ IsSpillBitVec() [2/2]

template<typename IntType = uint8_t>
auto & BmnMSCMatrix< IntType >::IsSpillBitVec ( )
inline

Definition at line 133 of file BmnMSCMatrix.h.

◆ ScalerTimeLine() [1/4]

◆ ScalerTimeLine() [2/4]

template<typename IntType = uint8_t>
TimeLine & BmnMSCMatrix< IntType >::ScalerTimeLine ( string  scaler_name)
inline

Definition at line 111 of file BmnMSCMatrix.h.

References BmnMSCMatrix< IntType >::ScalerTimeLine().

◆ ScalerTimeLine() [3/4]

template<typename IntType = uint8_t>
TimeLine & BmnMSCMatrix< IntType >::ScalerTimeLine ( uint16_t  scaler_id)
inline

Definition at line 119 of file BmnMSCMatrix.h.

◆ ScalerTimeLine() [4/4]

template<typename IntType = uint8_t>
TimeLine & BmnMSCMatrix< IntType >::ScalerTimeLine ( uint16_t  scaler_id)
inline

Definition at line 119 of file BmnMSCMatrix.h.

◆ SetCount() [1/4]

template<typename IntType = uint8_t>
void BmnMSCMatrix< IntType >::SetCount ( size_t  record_id,
string  scaler_name,
IntType  val 
)
inline

Definition at line 97 of file BmnMSCMatrix.h.

References BmnMSCMatrix< IntType >::ScalerTimeLine().

◆ SetCount() [2/4]

template<typename IntType = uint8_t>
void BmnMSCMatrix< IntType >::SetCount ( size_t  record_id,
string  scaler_name,
IntType  val 
)
inline

Definition at line 97 of file BmnMSCMatrix.h.

References BmnMSCMatrix< IntType >::ScalerTimeLine().

◆ SetCount() [3/4]

template<typename IntType = uint8_t>
void BmnMSCMatrix< IntType >::SetCount ( size_t  record_id,
uint16_t  scaler_id,
IntType  val 
)
inline

◆ SetCount() [4/4]

template<typename IntType = uint8_t>
void BmnMSCMatrix< IntType >::SetCount ( size_t  record_id,
uint16_t  scaler_id,
IntType  val 
)
inline

Definition at line 89 of file BmnMSCMatrix.h.

References BmnMSCMatrix< IntType >::ScalerTimeLine().

◆ SetTS() [1/2]

template<typename IntType = uint8_t>
void BmnMSCMatrix< IntType >::SetTS ( size_t  record_id,
TTimeStamp  ts 
)
inline

Definition at line 106 of file BmnMSCMatrix.h.

References BmnFunctionSet::TimeStamp2TP().

◆ SetTS() [2/2]

template<typename IntType = uint8_t>
void BmnMSCMatrix< IntType >::SetTS ( size_t  record_id,
TTimeStamp  ts 
)
inline

Definition at line 106 of file BmnMSCMatrix.h.

References BmnFunctionSet::TimeStamp2TP().

◆ Time() [1/2]

template<typename IntType = uint8_t>
SysPoint & BmnMSCMatrix< IntType >::Time ( size_t  record_id)
inline

Definition at line 104 of file BmnMSCMatrix.h.

Referenced by BmnMetadataDecoder::ProcessSpillTree().

◆ Time() [2/2]

template<typename IntType = uint8_t>
SysPoint & BmnMSCMatrix< IntType >::Time ( size_t  record_id)
inline

Definition at line 104 of file BmnMSCMatrix.h.


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