Project
Loading...
Searching...
No Matches
o2::zdc::BCData Struct Reference

#include <BCData.h>

Public Member Functions

 BCData ()=default
 
 BCData (int first, int ne, o2::InteractionRecord iRec, uint32_t chSto, uint32_t chTrig, uint8_t extTrig)
 
 BCData (const BCData &)=default
 
gsl::span< const ChannelDatagetBunchChannelData (const gsl::span< const ChannelData > tfdata) const
 
void print (uint32_t triggerMask=0, int diff=0) const
 
 ClassDefNV (BCData, 3)
 

Public Attributes

o2::dataformats::RangeRefComp< 6 > ref
 
o2::InteractionRecord ir
 
std::array< uint16_t, NModulesmoduleTriggers {}
 
uint32_t channels = 0
 
uint32_t triggers = 0
 
uint8_t ext_triggers = 0
 

Detailed Description

Definition at line 52 of file BCData.h.

Constructor & Destructor Documentation

◆ BCData() [1/3]

o2::zdc::BCData::BCData ( )
default

◆ BCData() [2/3]

o2::zdc::BCData::BCData ( int  first,
int  ne,
o2::InteractionRecord  iRec,
uint32_t  chSto,
uint32_t  chTrig,
uint8_t  extTrig 
)
inline

Definition at line 64 of file BCData.h.

◆ BCData() [3/3]

o2::zdc::BCData::BCData ( const BCData )
default

Member Function Documentation

◆ ClassDefNV()

o2::zdc::BCData::ClassDefNV ( BCData  ,
 
)

◆ getBunchChannelData()

gsl::span< const ChannelData > BCData::getBunchChannelData ( const gsl::span< const ChannelData tfdata) const

Definition at line 90 of file BCData.cxx.

◆ print()

void BCData::print ( uint32_t  triggerMask = 0,
int  diff = 0 
) const

Definition at line 18 of file BCData.cxx.

Member Data Documentation

◆ channels

uint32_t o2::zdc::BCData::channels = 0

Definition at line 59 of file BCData.h.

◆ ext_triggers

uint8_t o2::zdc::BCData::ext_triggers = 0

Definition at line 61 of file BCData.h.

◆ ir

o2::InteractionRecord o2::zdc::BCData::ir

Definition at line 56 of file BCData.h.

◆ moduleTriggers

std::array<uint16_t, NModules> o2::zdc::BCData::moduleTriggers {}

Definition at line 57 of file BCData.h.

◆ ref

o2::dataformats::RangeRefComp<6> o2::zdc::BCData::ref

we are going to refer to at most 26 channels, so 5 bits for the NChannels and 27 for the reference 220803 we are transmitting 32 ch: need to increase to 6 bit

Definition at line 55 of file BCData.h.

◆ triggers

uint32_t o2::zdc::BCData::triggers = 0

Definition at line 60 of file BCData.h.


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