BmnRoot
Loading...
Searching...
No Matches
BmnT0Raw< counters_cnt > Class Template Reference

#include <BmnT0Raw.h>

Inheritance diagram for BmnT0Raw< counters_cnt >:
[legend]
Collaboration diagram for BmnT0Raw< counters_cnt >:
[legend]

Public Member Functions

 BmnT0Raw (UInt_t *src=nullptr)
 
virtual ~BmnT0Raw ()=default
 
void SetTime (SysPoint point)
 
SysPoint GetTime ()
 
void SetTS (TTimeStamp ts)
 
TTimeStamp GetTS ()
 
void SetTimeSinceLastEvNs (Double_t dur)
 
Dur_ns GetTimeSinceLastEv ()
 
Double_t GetTimeSinceLastEvNs ()
 
std::array< UInt_t, counters_cnt > & Counters ()
 
map< uint32_t, Discriminator_Config > & Discriminators ()
 
map< uint32_t, LV_Channel_Config > & LVChannelConfig ()
 
map< uint32_t, int32_t > & DelayLines ()
 
map< uint32_t, bool > & Switches ()
 
void SetComment (string str)
 
string GetComment ()
 
void SetBDMultH (uint32_t val)
 
uint32_t GetBDMultH ()
 
void SetBDMultL (uint32_t val)
 
uint32_t GetBDMultL ()
 
void SetExtraDelaysMask (uint32_t val)
 
uint32_t GetExtraDelaysMask ()
 
void SetTriggerMask (uint32_t val)
 
uint32_t GetTriggerMask ()
 
 BmnT0Raw (UInt_t *src=nullptr)
 
virtual ~BmnT0Raw ()=default
 
void SetTime (SysPoint point)
 
SysPoint GetTime ()
 
void SetTS (TTimeStamp ts)
 
TTimeStamp GetTS ()
 
void SetTimeSinceLastEvNs (Double_t dur)
 
Dur_ns GetTimeSinceLastEv ()
 
Double_t GetTimeSinceLastEvNs ()
 
std::array< UInt_t, counters_cnt > & Counters ()
 
map< uint32_t, Discriminator_Config > & Discriminators ()
 
map< uint32_t, LV_Channel_Config > & LVChannelConfig ()
 
map< uint32_t, int32_t > & DelayLines ()
 
map< uint32_t, bool > & Switches ()
 
void SetComment (string str)
 
string GetComment ()
 
void SetBDMultH (uint32_t val)
 
uint32_t GetBDMultH ()
 
void SetBDMultL (uint32_t val)
 
uint32_t GetBDMultL ()
 
void SetExtraDelaysMask (uint32_t val)
 
uint32_t GetExtraDelaysMask ()
 
void SetTriggerMask (uint32_t val)
 
uint32_t GetTriggerMask ()
 

Static Public Member Functions

static constexpr const UInt_t CountersCount ()
 
static constexpr const UInt_t CountersCount ()
 

Protected Member Functions

 ClassDef (BmnT0Raw, 8)
 
 ClassDef (BmnT0Raw, 8)
 

Protected Attributes

std::array< UInt_t, counters_cnt > counters
 
TTimeStamp timestamp
 
Double_t since_last_event_ns
 
string comment
 
uint32_t bd_mult_h
 
uint32_t bd_mult_l
 
uint32_t extra_delays_mask
 
uint32_t trigger_mask
 
map< uint32_t, Discriminator_Configdiscriminator_cfg
 
map< uint32_t, LV_Channel_Configlv_channel_cfg
 
map< uint32_t, int32_t > delay_lines
 
map< uint32_t, bool > switches
 

Detailed Description

template<UInt_t counters_cnt = 256>
class BmnT0Raw< counters_cnt >

T0 module spill settings and counts

Definition at line 69 of file BmnT0Raw.h.

Constructor & Destructor Documentation

◆ BmnT0Raw() [1/2]

template<UInt_t counters_cnt = 256>
BmnT0Raw< counters_cnt >::BmnT0Raw ( UInt_t *  src = nullptr)
inline

Constructor

Definition at line 73 of file BmnT0Raw.h.

References BmnT0Raw< counters_cnt >::counters.

◆ ~BmnT0Raw() [1/2]

template<UInt_t counters_cnt = 256>
virtual BmnT0Raw< counters_cnt >::~BmnT0Raw ( )
virtualdefault

Destructor

◆ BmnT0Raw() [2/2]

template<UInt_t counters_cnt = 256>
BmnT0Raw< counters_cnt >::BmnT0Raw ( UInt_t *  src = nullptr)
inline

Constructor

Definition at line 73 of file BmnT0Raw.h.

References BmnT0Raw< counters_cnt >::counters.

◆ ~BmnT0Raw() [2/2]

template<UInt_t counters_cnt = 256>
virtual BmnT0Raw< counters_cnt >::~BmnT0Raw ( )
virtualdefault

Destructor

Member Function Documentation

◆ ClassDef() [1/2]

template<UInt_t counters_cnt = 256>
BmnT0Raw< counters_cnt >::ClassDef ( BmnT0Raw< counters_cnt >  ,
 
)
protected

◆ ClassDef() [2/2]

template<UInt_t counters_cnt = 256>
BmnT0Raw< counters_cnt >::ClassDef ( BmnT0Raw< counters_cnt >  ,
 
)
protected

◆ Counters() [1/2]

template<UInt_t counters_cnt = 256>
std::array< UInt_t, counters_cnt > & BmnT0Raw< counters_cnt >::Counters ( )
inline

Definition at line 116 of file BmnT0Raw.h.

References BmnT0Raw< counters_cnt >::counters.

Referenced by BmnMetadataDecoder::ProcessSpillTree().

◆ Counters() [2/2]

template<UInt_t counters_cnt = 256>
std::array< UInt_t, counters_cnt > & BmnT0Raw< counters_cnt >::Counters ( )
inline

Definition at line 116 of file BmnT0Raw.h.

References BmnT0Raw< counters_cnt >::counters.

◆ CountersCount() [1/2]

template<UInt_t counters_cnt = 256>
static constexpr const UInt_t BmnT0Raw< counters_cnt >::CountersCount ( )
inlinestaticconstexpr

Definition at line 88 of file BmnT0Raw.h.

◆ CountersCount() [2/2]

template<UInt_t counters_cnt = 256>
static constexpr const UInt_t BmnT0Raw< counters_cnt >::CountersCount ( )
inlinestaticconstexpr

Definition at line 88 of file BmnT0Raw.h.

◆ DelayLines() [1/2]

template<UInt_t counters_cnt = 256>
map< uint32_t, int32_t > & BmnT0Raw< counters_cnt >::DelayLines ( )
inline

◆ DelayLines() [2/2]

template<UInt_t counters_cnt = 256>
map< uint32_t, int32_t > & BmnT0Raw< counters_cnt >::DelayLines ( )
inline

Definition at line 125 of file BmnT0Raw.h.

References BmnT0Raw< counters_cnt >::delay_lines.

◆ Discriminators() [1/2]

template<UInt_t counters_cnt = 256>
map< uint32_t, Discriminator_Config > & BmnT0Raw< counters_cnt >::Discriminators ( )
inline

◆ Discriminators() [2/2]

template<UInt_t counters_cnt = 256>
map< uint32_t, Discriminator_Config > & BmnT0Raw< counters_cnt >::Discriminators ( )
inline

Definition at line 122 of file BmnT0Raw.h.

References BmnT0Raw< counters_cnt >::discriminator_cfg.

◆ GetBDMultH() [1/2]

template<UInt_t counters_cnt = 256>
uint32_t BmnT0Raw< counters_cnt >::GetBDMultH ( )
inline

Definition at line 134 of file BmnT0Raw.h.

References BmnT0Raw< counters_cnt >::bd_mult_h.

◆ GetBDMultH() [2/2]

template<UInt_t counters_cnt = 256>
uint32_t BmnT0Raw< counters_cnt >::GetBDMultH ( )
inline

Definition at line 134 of file BmnT0Raw.h.

References BmnT0Raw< counters_cnt >::bd_mult_h.

◆ GetBDMultL() [1/2]

template<UInt_t counters_cnt = 256>
uint32_t BmnT0Raw< counters_cnt >::GetBDMultL ( )
inline

Definition at line 138 of file BmnT0Raw.h.

References BmnT0Raw< counters_cnt >::bd_mult_l.

◆ GetBDMultL() [2/2]

template<UInt_t counters_cnt = 256>
uint32_t BmnT0Raw< counters_cnt >::GetBDMultL ( )
inline

Definition at line 138 of file BmnT0Raw.h.

References BmnT0Raw< counters_cnt >::bd_mult_l.

◆ GetComment() [1/2]

template<UInt_t counters_cnt = 256>
string BmnT0Raw< counters_cnt >::GetComment ( )
inline

Definition at line 130 of file BmnT0Raw.h.

References BmnT0Raw< counters_cnt >::comment.

◆ GetComment() [2/2]

template<UInt_t counters_cnt = 256>
string BmnT0Raw< counters_cnt >::GetComment ( )
inline

Definition at line 130 of file BmnT0Raw.h.

References BmnT0Raw< counters_cnt >::comment.

◆ GetExtraDelaysMask() [1/2]

template<UInt_t counters_cnt = 256>
uint32_t BmnT0Raw< counters_cnt >::GetExtraDelaysMask ( )
inline

Definition at line 142 of file BmnT0Raw.h.

References BmnT0Raw< counters_cnt >::extra_delays_mask.

◆ GetExtraDelaysMask() [2/2]

template<UInt_t counters_cnt = 256>
uint32_t BmnT0Raw< counters_cnt >::GetExtraDelaysMask ( )
inline

Definition at line 142 of file BmnT0Raw.h.

References BmnT0Raw< counters_cnt >::extra_delays_mask.

◆ GetTime() [1/2]

template<UInt_t counters_cnt = 256>
SysPoint BmnT0Raw< counters_cnt >::GetTime ( )
inline

◆ GetTime() [2/2]

template<UInt_t counters_cnt = 256>
SysPoint BmnT0Raw< counters_cnt >::GetTime ( )
inline

◆ GetTimeSinceLastEv() [1/2]

template<UInt_t counters_cnt = 256>
Dur_ns BmnT0Raw< counters_cnt >::GetTimeSinceLastEv ( )
inline

Definition at line 107 of file BmnT0Raw.h.

References BmnT0Raw< counters_cnt >::since_last_event_ns.

◆ GetTimeSinceLastEv() [2/2]

template<UInt_t counters_cnt = 256>
Dur_ns BmnT0Raw< counters_cnt >::GetTimeSinceLastEv ( )
inline

Definition at line 107 of file BmnT0Raw.h.

References BmnT0Raw< counters_cnt >::since_last_event_ns.

◆ GetTimeSinceLastEvNs() [1/2]

template<UInt_t counters_cnt = 256>
Double_t BmnT0Raw< counters_cnt >::GetTimeSinceLastEvNs ( )
inline

Definition at line 113 of file BmnT0Raw.h.

References BmnT0Raw< counters_cnt >::since_last_event_ns.

◆ GetTimeSinceLastEvNs() [2/2]

template<UInt_t counters_cnt = 256>
Double_t BmnT0Raw< counters_cnt >::GetTimeSinceLastEvNs ( )
inline

Definition at line 113 of file BmnT0Raw.h.

References BmnT0Raw< counters_cnt >::since_last_event_ns.

◆ GetTriggerMask() [1/2]

template<UInt_t counters_cnt = 256>
uint32_t BmnT0Raw< counters_cnt >::GetTriggerMask ( )
inline

Definition at line 146 of file BmnT0Raw.h.

References BmnT0Raw< counters_cnt >::trigger_mask.

◆ GetTriggerMask() [2/2]

template<UInt_t counters_cnt = 256>
uint32_t BmnT0Raw< counters_cnt >::GetTriggerMask ( )
inline

Definition at line 146 of file BmnT0Raw.h.

References BmnT0Raw< counters_cnt >::trigger_mask.

◆ GetTS() [1/2]

template<UInt_t counters_cnt = 256>
TTimeStamp BmnT0Raw< counters_cnt >::GetTS ( )
inline

Definition at line 96 of file BmnT0Raw.h.

References BmnT0Raw< counters_cnt >::timestamp.

◆ GetTS() [2/2]

template<UInt_t counters_cnt = 256>
TTimeStamp BmnT0Raw< counters_cnt >::GetTS ( )
inline

Definition at line 96 of file BmnT0Raw.h.

References BmnT0Raw< counters_cnt >::timestamp.

◆ LVChannelConfig() [1/2]

template<UInt_t counters_cnt = 256>
map< uint32_t, LV_Channel_Config > & BmnT0Raw< counters_cnt >::LVChannelConfig ( )
inline

◆ LVChannelConfig() [2/2]

template<UInt_t counters_cnt = 256>
map< uint32_t, LV_Channel_Config > & BmnT0Raw< counters_cnt >::LVChannelConfig ( )
inline

Definition at line 124 of file BmnT0Raw.h.

References BmnT0Raw< counters_cnt >::lv_channel_cfg.

◆ SetBDMultH() [1/2]

template<UInt_t counters_cnt = 256>
void BmnT0Raw< counters_cnt >::SetBDMultH ( uint32_t  val)
inline

Definition at line 132 of file BmnT0Raw.h.

References BmnT0Raw< counters_cnt >::bd_mult_h.

Referenced by BmnConverterTools::ParseRawT0TextConfig().

◆ SetBDMultH() [2/2]

template<UInt_t counters_cnt = 256>
void BmnT0Raw< counters_cnt >::SetBDMultH ( uint32_t  val)
inline

Definition at line 132 of file BmnT0Raw.h.

References BmnT0Raw< counters_cnt >::bd_mult_h.

◆ SetBDMultL() [1/2]

template<UInt_t counters_cnt = 256>
void BmnT0Raw< counters_cnt >::SetBDMultL ( uint32_t  val)
inline

Definition at line 136 of file BmnT0Raw.h.

References BmnT0Raw< counters_cnt >::bd_mult_l.

Referenced by BmnConverterTools::ParseRawT0TextConfig().

◆ SetBDMultL() [2/2]

template<UInt_t counters_cnt = 256>
void BmnT0Raw< counters_cnt >::SetBDMultL ( uint32_t  val)
inline

Definition at line 136 of file BmnT0Raw.h.

References BmnT0Raw< counters_cnt >::bd_mult_l.

◆ SetComment() [1/2]

template<UInt_t counters_cnt = 256>
void BmnT0Raw< counters_cnt >::SetComment ( string  str)
inline

Definition at line 128 of file BmnT0Raw.h.

References BmnT0Raw< counters_cnt >::comment.

Referenced by BmnConverterTools::ParseRawT0TextConfig().

◆ SetComment() [2/2]

template<UInt_t counters_cnt = 256>
void BmnT0Raw< counters_cnt >::SetComment ( string  str)
inline

Definition at line 128 of file BmnT0Raw.h.

References BmnT0Raw< counters_cnt >::comment.

◆ SetExtraDelaysMask() [1/2]

template<UInt_t counters_cnt = 256>
void BmnT0Raw< counters_cnt >::SetExtraDelaysMask ( uint32_t  val)
inline

◆ SetExtraDelaysMask() [2/2]

template<UInt_t counters_cnt = 256>
void BmnT0Raw< counters_cnt >::SetExtraDelaysMask ( uint32_t  val)
inline

Definition at line 140 of file BmnT0Raw.h.

References BmnT0Raw< counters_cnt >::extra_delays_mask.

◆ SetTime() [1/2]

template<UInt_t counters_cnt = 256>
void BmnT0Raw< counters_cnt >::SetTime ( SysPoint  point)
inline

◆ SetTime() [2/2]

template<UInt_t counters_cnt = 256>
void BmnT0Raw< counters_cnt >::SetTime ( SysPoint  point)
inline

◆ SetTimeSinceLastEvNs() [1/2]

template<UInt_t counters_cnt = 256>
void BmnT0Raw< counters_cnt >::SetTimeSinceLastEvNs ( Double_t  dur)
inline

Write time since the last written event. "last" - actually last in the raw data, not necessarily last in the spill because the stat events are written asynchronously

Parameters
dur- time (ns) since the last event

Definition at line 105 of file BmnT0Raw.h.

References BmnT0Raw< counters_cnt >::since_last_event_ns.

◆ SetTimeSinceLastEvNs() [2/2]

template<UInt_t counters_cnt = 256>
void BmnT0Raw< counters_cnt >::SetTimeSinceLastEvNs ( Double_t  dur)
inline

Write time since the last written event. "last" - actually last in the raw data, not necessarily last in the spill because the stat events are written asynchronously

Parameters
dur- time (ns) since the last event

Definition at line 105 of file BmnT0Raw.h.

References BmnT0Raw< counters_cnt >::since_last_event_ns.

◆ SetTriggerMask() [1/2]

template<UInt_t counters_cnt = 256>
void BmnT0Raw< counters_cnt >::SetTriggerMask ( uint32_t  val)
inline

Definition at line 144 of file BmnT0Raw.h.

References BmnT0Raw< counters_cnt >::trigger_mask.

◆ SetTriggerMask() [2/2]

template<UInt_t counters_cnt = 256>
void BmnT0Raw< counters_cnt >::SetTriggerMask ( uint32_t  val)
inline

Definition at line 144 of file BmnT0Raw.h.

References BmnT0Raw< counters_cnt >::trigger_mask.

◆ SetTS() [1/2]

template<UInt_t counters_cnt = 256>
void BmnT0Raw< counters_cnt >::SetTS ( TTimeStamp  ts)
inline

Definition at line 94 of file BmnT0Raw.h.

References BmnT0Raw< counters_cnt >::timestamp.

◆ SetTS() [2/2]

template<UInt_t counters_cnt = 256>
void BmnT0Raw< counters_cnt >::SetTS ( TTimeStamp  ts)
inline

Definition at line 94 of file BmnT0Raw.h.

References BmnT0Raw< counters_cnt >::timestamp.

◆ Switches() [1/2]

template<UInt_t counters_cnt = 256>
map< uint32_t, bool > & BmnT0Raw< counters_cnt >::Switches ( )
inline

Definition at line 126 of file BmnT0Raw.h.

References BmnT0Raw< counters_cnt >::switches.

Referenced by BmnConverterTools::ParseRawT0TextConfig().

◆ Switches() [2/2]

template<UInt_t counters_cnt = 256>
map< uint32_t, bool > & BmnT0Raw< counters_cnt >::Switches ( )
inline

Definition at line 126 of file BmnT0Raw.h.

References BmnT0Raw< counters_cnt >::switches.

Member Data Documentation

◆ bd_mult_h

template<UInt_t counters_cnt = 256>
uint32_t BmnT0Raw< counters_cnt >::bd_mult_h
protected

◆ bd_mult_l

template<UInt_t counters_cnt = 256>
uint32_t BmnT0Raw< counters_cnt >::bd_mult_l
protected

◆ comment

template<UInt_t counters_cnt = 256>
string BmnT0Raw< counters_cnt >::comment
protected

◆ counters

template<UInt_t counters_cnt = 256>
std::array< UInt_t, counters_cnt > BmnT0Raw< counters_cnt >::counters
protected

◆ delay_lines

template<UInt_t counters_cnt = 256>
map< uint32_t, int32_t > BmnT0Raw< counters_cnt >::delay_lines
protected

Definition at line 165 of file BmnT0Raw.h.

Referenced by BmnT0Raw< counters_cnt >::DelayLines().

◆ discriminator_cfg

template<UInt_t counters_cnt = 256>
map< uint32_t, Discriminator_Config > BmnT0Raw< counters_cnt >::discriminator_cfg
protected

Definition at line 163 of file BmnT0Raw.h.

Referenced by BmnT0Raw< counters_cnt >::Discriminators().

◆ extra_delays_mask

template<UInt_t counters_cnt = 256>
uint32_t BmnT0Raw< counters_cnt >::extra_delays_mask
protected

◆ lv_channel_cfg

template<UInt_t counters_cnt = 256>
map< uint32_t, LV_Channel_Config > BmnT0Raw< counters_cnt >::lv_channel_cfg
protected

Definition at line 164 of file BmnT0Raw.h.

Referenced by BmnT0Raw< counters_cnt >::LVChannelConfig().

◆ since_last_event_ns

template<UInt_t counters_cnt = 256>
Double_t BmnT0Raw< counters_cnt >::since_last_event_ns
protected

◆ switches

template<UInt_t counters_cnt = 256>
map< uint32_t, bool > BmnT0Raw< counters_cnt >::switches
protected

Definition at line 166 of file BmnT0Raw.h.

Referenced by BmnT0Raw< counters_cnt >::Switches().

◆ timestamp

template<UInt_t counters_cnt = 256>
TTimeStamp BmnT0Raw< counters_cnt >::timestamp
protected

◆ trigger_mask

template<UInt_t counters_cnt = 256>
uint32_t BmnT0Raw< counters_cnt >::trigger_mask
protected

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