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

#include <BmnMSCDigit.h>

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

Public Member Functions

 BmnMSCDigit (UInt_t iSerial=0, UInt_t iSlot=0, std::array< IntType, MSC_N_COUNTERS > iValue={}, UInt_t evId=0, SysPoint time=SysPoint::min(), UChar_t ext_cond=0)
 
 BmnMSCDigit (UInt_t iSerial, UInt_t iSlot, UInt_t evId, SysPoint time=SysPoint::min())
 
UInt_t GetSerial () const
 
UInt_t GetSlot () const
 
std::array< IntType, MSC_N_COUNTERS > & GetValue ()
 
SysPoint GetTime () const
 
TTimeStamp GetTS () const
 
UInt_t GetLastEventId () const
 
bool IsSpill ()
 
bool IsBusy ()
 
virtual ~BmnMSCDigit ()
 
 BmnMSCDigit (UInt_t iSerial=0, UInt_t iSlot=0, std::array< IntType, MSC_N_COUNTERS > iValue={}, UInt_t evId=0, SysPoint time=SysPoint::min(), UChar_t ext_cond=0)
 
 BmnMSCDigit (UInt_t iSerial, UInt_t iSlot, UInt_t evId, SysPoint time=SysPoint::min())
 
UInt_t GetSerial () const
 
UInt_t GetSlot () const
 
std::array< IntType, MSC_N_COUNTERS > & GetValue ()
 
SysPoint GetTime () const
 
TTimeStamp GetTS () const
 
UInt_t GetLastEventId () const
 
bool IsSpill ()
 
bool IsBusy ()
 
virtual ~BmnMSCDigit ()
 

Static Public Member Functions

static constexpr const UInt_t GetNVals ()
 
static constexpr const UInt_t GetNVals ()
 

Detailed Description

template<typename IntType = UChar_t>
class BmnMSCDigit< IntType >

Definition at line 16 of file BmnMSCDigit.h.

Constructor & Destructor Documentation

◆ BmnMSCDigit() [1/4]

template<typename IntType = UChar_t>
BmnMSCDigit< IntType >::BmnMSCDigit ( UInt_t  iSerial = 0,
UInt_t  iSlot = 0,
std::array< IntType, MSC_N_COUNTERS iValue = {},
UInt_t  evId = 0,
SysPoint  time = SysPoint::min(),
UChar_t  ext_cond = 0 
)
inline

Constructor

Parameters
[in]iSerial: crate serial
[in]iSlot: crate slot
[in]iValue: counters array ptr
[in]evId: spill's last eventID in case of EndOfSpill data, or eventID in case of normal spill data
[in]iTime: timestamp for normal spill data

Definition at line 27 of file BmnMSCDigit.h.

◆ BmnMSCDigit() [2/4]

template<typename IntType = UChar_t>
BmnMSCDigit< IntType >::BmnMSCDigit ( UInt_t  iSerial,
UInt_t  iSlot,
UInt_t  evId,
SysPoint  time = SysPoint::min() 
)
inline

Constructor

Parameters
[in]iSerial: crate serial
[in]iSlot: crate slot
[in]evId: spill's last eventID in case of EndOfSpill data, or eventID in case of normal spill data
[in]iTime: timestamp for normal spill data

Definition at line 52 of file BmnMSCDigit.h.

◆ ~BmnMSCDigit() [1/2]

template<typename IntType = UChar_t>
virtual BmnMSCDigit< IntType >::~BmnMSCDigit ( )
inlinevirtual

Destructor

Definition at line 78 of file BmnMSCDigit.h.

◆ BmnMSCDigit() [3/4]

template<typename IntType = UChar_t>
BmnMSCDigit< IntType >::BmnMSCDigit ( UInt_t  iSerial = 0,
UInt_t  iSlot = 0,
std::array< IntType, MSC_N_COUNTERS iValue = {},
UInt_t  evId = 0,
SysPoint  time = SysPoint::min(),
UChar_t  ext_cond = 0 
)
inline

Constructor

Parameters
[in]iSerial: crate serial
[in]iSlot: crate slot
[in]iValue: counters array ptr
[in]evId: spill's last eventID in case of EndOfSpill data, or eventID in case of normal spill data
[in]iTime: timestamp for normal spill data

Definition at line 27 of file BmnMSCDigit.h.

◆ BmnMSCDigit() [4/4]

template<typename IntType = UChar_t>
BmnMSCDigit< IntType >::BmnMSCDigit ( UInt_t  iSerial,
UInt_t  iSlot,
UInt_t  evId,
SysPoint  time = SysPoint::min() 
)
inline

Constructor

Parameters
[in]iSerial: crate serial
[in]iSlot: crate slot
[in]evId: spill's last eventID in case of EndOfSpill data, or eventID in case of normal spill data
[in]iTime: timestamp for normal spill data

Definition at line 52 of file BmnMSCDigit.h.

◆ ~BmnMSCDigit() [2/2]

template<typename IntType = UChar_t>
virtual BmnMSCDigit< IntType >::~BmnMSCDigit ( )
inlinevirtual

Destructor

Definition at line 78 of file BmnMSCDigit.h.

Member Function Documentation

◆ GetLastEventId() [1/2]

template<typename IntType = UChar_t>
UInt_t BmnMSCDigit< IntType >::GetLastEventId ( ) const
inline

Definition at line 70 of file BmnMSCDigit.h.

Referenced by BmnMscRaw2Digit::SumEvent7().

◆ GetLastEventId() [2/2]

template<typename IntType = UChar_t>
UInt_t BmnMSCDigit< IntType >::GetLastEventId ( ) const
inline

Definition at line 70 of file BmnMSCDigit.h.

◆ GetNVals() [1/2]

template<typename IntType = UChar_t>
static constexpr const UInt_t BmnMSCDigit< IntType >::GetNVals ( )
inlinestaticconstexpr

Definition at line 76 of file BmnMSCDigit.h.

◆ GetNVals() [2/2]

template<typename IntType = UChar_t>
static constexpr const UInt_t BmnMSCDigit< IntType >::GetNVals ( )
inlinestaticconstexpr

Definition at line 76 of file BmnMSCDigit.h.

◆ GetSerial() [1/2]

template<typename IntType = UChar_t>
UInt_t BmnMSCDigit< IntType >::GetSerial ( ) const
inline

◆ GetSerial() [2/2]

template<typename IntType = UChar_t>
UInt_t BmnMSCDigit< IntType >::GetSerial ( ) const
inline

Definition at line 60 of file BmnMSCDigit.h.

◆ GetSlot() [1/2]

template<typename IntType = UChar_t>
UInt_t BmnMSCDigit< IntType >::GetSlot ( ) const
inline

Definition at line 62 of file BmnMSCDigit.h.

◆ GetSlot() [2/2]

template<typename IntType = UChar_t>
UInt_t BmnMSCDigit< IntType >::GetSlot ( ) const
inline

Definition at line 62 of file BmnMSCDigit.h.

◆ GetTime() [1/2]

template<typename IntType = UChar_t>
SysPoint BmnMSCDigit< IntType >::GetTime ( ) const
inline

Definition at line 66 of file BmnMSCDigit.h.

References BmnFunctionSet::TimeStamp2TP().

Referenced by BmnMetadataDecoder::ProcessSpillTree().

◆ GetTime() [2/2]

template<typename IntType = UChar_t>
SysPoint BmnMSCDigit< IntType >::GetTime ( ) const
inline

Definition at line 66 of file BmnMSCDigit.h.

References BmnFunctionSet::TimeStamp2TP().

◆ GetTS() [1/2]

template<typename IntType = UChar_t>
TTimeStamp BmnMSCDigit< IntType >::GetTS ( ) const
inline

Definition at line 68 of file BmnMSCDigit.h.

◆ GetTS() [2/2]

template<typename IntType = UChar_t>
TTimeStamp BmnMSCDigit< IntType >::GetTS ( ) const
inline

Definition at line 68 of file BmnMSCDigit.h.

◆ GetValue() [1/2]

template<typename IntType = UChar_t>
std::array< IntType, MSC_N_COUNTERS > & BmnMSCDigit< IntType >::GetValue ( )
inline

◆ GetValue() [2/2]

template<typename IntType = UChar_t>
std::array< IntType, MSC_N_COUNTERS > & BmnMSCDigit< IntType >::GetValue ( )
inline

Definition at line 64 of file BmnMSCDigit.h.

◆ IsBusy() [1/2]

template<typename IntType = UChar_t>
bool BmnMSCDigit< IntType >::IsBusy ( )
inline

Definition at line 74 of file BmnMSCDigit.h.

References MSC_EC_BUSY.

Referenced by BmnMetadataDecoder::ProcessSpillTree().

◆ IsBusy() [2/2]

template<typename IntType = UChar_t>
bool BmnMSCDigit< IntType >::IsBusy ( )
inline

Definition at line 74 of file BmnMSCDigit.h.

References MSC_EC_BUSY.

◆ IsSpill() [1/2]

template<typename IntType = UChar_t>
bool BmnMSCDigit< IntType >::IsSpill ( )
inline

Definition at line 72 of file BmnMSCDigit.h.

References MSC_EC_SPILL.

Referenced by BmnMetadataDecoder::ProcessSpillTree().

◆ IsSpill() [2/2]

template<typename IntType = UChar_t>
bool BmnMSCDigit< IntType >::IsSpill ( )
inline

Definition at line 72 of file BmnMSCDigit.h.

References MSC_EC_SPILL.


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