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

#include <ModuleConfig.h>

Public Member Functions

void setChannel (int slot, int8_t chID, int16_t fID, bool read, bool trig=false, int tF=0, int tL=0, int tS=0, int tT=0)
 
void print () const
 
void printCh () const
 
void printTrig () const
 
void check () const
 
 ClassDefNV (Module, 1)
 

Public Attributes

int id = -1
 
std::array< int8_t, MaxChannelschannelID = {IdDummy, IdDummy, IdDummy, IdDummy}
 
std::array< int16_t, MaxChannelsfeeID = {-1, -1, -1, -1}
 
std::array< bool, MaxChannelsreadChannel = {false}
 
std::array< bool, MaxChannelstrigChannel = {false}
 
std::array< TriggerChannelConfig, MaxChannelstrigChannelConf
 

Static Public Attributes

static constexpr int MaxChannels = 4
 
static constexpr int MaxTriggChannels = 2
 

Detailed Description

Definition at line 35 of file ModuleConfig.h.

Member Function Documentation

◆ check()

void Module::check ( ) const

Definition at line 110 of file ModuleConfig.cxx.

◆ ClassDefNV()

o2::zdc::Module::ClassDefNV ( Module  ,
 
)

◆ print()

void Module::print ( ) const

Definition at line 43 of file ModuleConfig.cxx.

◆ printCh()

void Module::printCh ( ) const

Definition at line 18 of file ModuleConfig.cxx.

◆ printTrig()

void Module::printTrig ( ) const

Definition at line 28 of file ModuleConfig.cxx.

◆ setChannel()

void Module::setChannel ( int  slot,
int8_t  chID,
int16_t  fID,
bool  read,
bool  trig = false,
int  tF = 0,
int  tL = 0,
int  tS = 0,
int  tT = 0 
)

Definition at line 124 of file ModuleConfig.cxx.

Member Data Documentation

◆ channelID

std::array<int8_t, MaxChannels> o2::zdc::Module::channelID = {IdDummy, IdDummy, IdDummy, IdDummy}

Definition at line 38 of file ModuleConfig.h.

◆ feeID

std::array<int16_t, MaxChannels> o2::zdc::Module::feeID = {-1, -1, -1, -1}

Definition at line 39 of file ModuleConfig.h.

◆ id

int o2::zdc::Module::id = -1

Definition at line 37 of file ModuleConfig.h.

◆ MaxChannels

constexpr int o2::zdc::Module::MaxChannels = 4
staticconstexpr

Definition at line 36 of file ModuleConfig.h.

◆ MaxTriggChannels

constexpr int o2::zdc::Module::MaxTriggChannels = 2
static

Definition at line 36 of file ModuleConfig.h.

◆ readChannel

std::array<bool, MaxChannels> o2::zdc::Module::readChannel = {false}

Definition at line 40 of file ModuleConfig.h.

◆ trigChannel

std::array<bool, MaxChannels> o2::zdc::Module::trigChannel = {false}

Definition at line 41 of file ModuleConfig.h.

◆ trigChannelConf

std::array<TriggerChannelConfig, MaxChannels> o2::zdc::Module::trigChannelConf

Definition at line 42 of file ModuleConfig.h.


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