Project
Loading...
Searching...
No Matches
o2::trd::TrapConfig::TrapValue Class Reference

#include <TrapConfig.h>

Inherited by o2::trd::TrapConfig::TrapDmemWord, and o2::trd::TrapConfig::TrapRegister.

Public Member Functions

 TrapValue ()
 
 ~TrapValue ()=default
 
bool allocate (Alloc_t mode)
 
bool allocatei (int mode)
 
void setDataFromRun2 (int value, int valid, unsigned int index)
 
int getAllocMode ()
 
unsigned int getDataRaw (int i)
 
unsigned int getValidRaw (int i)
 
unsigned int getDataSize ()
 

Static Public Attributes

static const std::array< int, TrapConfig::mlastAllocmgkSize = {0, 1, 540, 1080, 8 * 18 * 540, 4, 6, 8 * 18 * 30}
 

Protected Member Functions

bool setData (unsigned int value)
 
bool setData (unsigned int value, int det)
 
bool setData (unsigned int value, int det, int rob, int mcm)
 
unsigned int getData (int det, int rob, int mcm)
 
int getIdx (int det, int rob, int mcm)
 

Detailed Description

Definition at line 553 of file TrapConfig.h.

Constructor & Destructor Documentation

◆ TrapValue()

TrapConfig::TrapValue::TrapValue ( )

Definition at line 798 of file TrapConfig.cxx.

◆ ~TrapValue()

o2::trd::TrapConfig::TrapValue::~TrapValue ( )
default

Member Function Documentation

◆ allocate()

bool TrapConfig::TrapValue::allocate ( Alloc_t  mode)

Definition at line 806 of file TrapConfig.cxx.

◆ allocatei()

bool TrapConfig::TrapValue::allocatei ( int  mode)

Definition at line 825 of file TrapConfig.cxx.

◆ getAllocMode()

int o2::trd::TrapConfig::TrapValue::getAllocMode ( )
inline

Definition at line 574 of file TrapConfig.h.

◆ getData()

unsigned int TrapConfig::TrapValue::getData ( int  det,
int  rob,
int  mcm 
)
protected

Definition at line 958 of file TrapConfig.cxx.

◆ getDataRaw()

unsigned int o2::trd::TrapConfig::TrapValue::getDataRaw ( int  i)
inline

Definition at line 575 of file TrapConfig.h.

◆ getDataSize()

unsigned int o2::trd::TrapConfig::TrapValue::getDataSize ( )
inline

Definition at line 577 of file TrapConfig.h.

◆ getIdx()

int TrapConfig::TrapValue::getIdx ( int  det,
int  rob,
int  mcm 
)
protected

Definition at line 843 of file TrapConfig.cxx.

◆ getValidRaw()

unsigned int o2::trd::TrapConfig::TrapValue::getValidRaw ( int  i)
inline

Definition at line 576 of file TrapConfig.h.

◆ setData() [1/3]

bool TrapConfig::TrapValue::setData ( unsigned int  value)
protected

Definition at line 885 of file TrapConfig.cxx.

◆ setData() [2/3]

bool TrapConfig::TrapValue::setData ( unsigned int  value,
int  det 
)
protected

Definition at line 897 of file TrapConfig.cxx.

◆ setData() [3/3]

bool TrapConfig::TrapValue::setData ( unsigned int  value,
int  det,
int  rob,
int  mcm 
)
protected

Definition at line 936 of file TrapConfig.cxx.

◆ setDataFromRun2()

void o2::trd::TrapConfig::TrapValue::setDataFromRun2 ( int  value,
int  valid,
unsigned int  index 
)
inline

Definition at line 564 of file TrapConfig.h.

Member Data Documentation

◆ mgkSize

const std::array< int, TrapConfig::mlastAlloc > o2::trd::TrapConfig::TrapValue::mgkSize = {0, 1, 540, 1080, 8 * 18 * 540, 4, 6, 8 * 18 * 30}
static

Definition at line 37 of file TrapConfig.h.


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