#include <SiHelper.h>
|
static void | noise (SiChargedDiode &chDiode, bool flag, bool mask=false) |
|
static void | belowThreshold (SiChargedDiode &chDiode, bool flag, bool mask=false) |
|
static void | disabled (SiChargedDiode &chDiode, bool flag, bool mask=false) |
|
static void | badToT (SiChargedDiode &chDiode, bool flag, bool mask=false) |
|
static void | disconnected (SiChargedDiode &chDiode, bool flag, bool mask=false) |
|
static void | maskOut (SiChargedDiode &chDiode, bool flag) |
|
static void | ClusterUsed (SiChargedDiode &chDiode, bool flag) |
|
static void | SetBunch (SiChargedDiode &chDiode, int bunch, MsgStream *log=nullptr) |
|
static void | SetStripNum (SiChargedDiode &chDiode, int nstrip, MsgStream *log=nullptr) |
|
static void | SetTimeBin (SiChargedDiode &chDiode, int time, MsgStream *log=nullptr) |
|
static bool | isUsable (SiChargedDiode &chDiode) |
|
static bool | isNoise (SiChargedDiode &chDiode) |
|
static bool | isBelowThreshold (SiChargedDiode &chDiode) |
|
static bool | isDisabled (SiChargedDiode &chDiode) |
|
static bool | isBadToT (SiChargedDiode &chDiode) |
|
static bool | isDisconnected (SiChargedDiode &chDiode) |
|
static bool | isMaskOut (SiChargedDiode &chDiode) |
|
static bool | isClusterUsed (SiChargedDiode &chDiode) |
|
static int | GetBunch (SiChargedDiode &chDiode) |
|
static int | GetStripNum (SiChargedDiode &chDiode) |
|
static int | GetTimeBin (SiChargedDiode &chDiode) |
|
Definition at line 27 of file SiHelper.h.
◆ anonymous enum
Enumerator |
---|
NOISE_SET | |
BT_SET | |
DISABLED_SET | |
BADTOT_SET | |
DISCONNECTED_SET | |
CLUSTERUSED_SET | |
MASKOUT_SET | |
Definition at line 68 of file SiHelper.h.
◆ badToT()
void SiHelper::badToT |
( |
SiChargedDiode & |
chDiode, |
|
|
bool |
flag, |
|
|
bool |
mask = false |
|
) |
| |
|
inlinestatic |
◆ belowThreshold()
void SiHelper::belowThreshold |
( |
SiChargedDiode & |
chDiode, |
|
|
bool |
flag, |
|
|
bool |
mask = false |
|
) |
| |
|
inlinestatic |
◆ ClusterUsed()
◆ disabled()
void SiHelper::disabled |
( |
SiChargedDiode & |
chDiode, |
|
|
bool |
flag, |
|
|
bool |
mask = false |
|
) |
| |
|
inlinestatic |
◆ disconnected()
void SiHelper::disconnected |
( |
SiChargedDiode & |
chDiode, |
|
|
bool |
flag, |
|
|
bool |
mask = false |
|
) |
| |
|
inlinestatic |
◆ GetBunch()
◆ GetStripNum()
◆ GetTimeBin()
◆ isBadToT()
◆ isBelowThreshold()
◆ isClusterUsed()
◆ isDisabled()
◆ isDisconnected()
◆ isMaskOut()
◆ isNoise()
◆ isUsable()
◆ maskOut()
◆ noise()
void SiHelper::noise |
( |
SiChargedDiode & |
chDiode, |
|
|
bool |
flag, |
|
|
bool |
mask = false |
|
) |
| |
|
inlinestatic |
◆ SetBunch()
void SiHelper::SetBunch |
( |
SiChargedDiode & |
chDiode, |
|
|
int |
bunch, |
|
|
MsgStream * |
log = nullptr |
|
) |
| |
|
inlinestatic |
Definition at line 129 of file SiHelper.h.
134 if (
log) (*log) << MSG::ERROR <<
"Bunch Number not allowed" <<
endmsg;
136 chDiode.
m_word = chDiode.
m_word | ( (bunch&0xff) <<8 ) ;
◆ SetStripNum()
void SiHelper::SetStripNum |
( |
SiChargedDiode & |
chDiode, |
|
|
int |
nstrip, |
|
|
MsgStream * |
log = nullptr |
|
) |
| |
|
inlinestatic |
Definition at line 139 of file SiHelper.h.
143 if (nstrip > 0xfff) {
144 if (
log) (*log) << MSG::ERROR <<
"Number of strips not allowed" <<
endmsg;
146 chDiode.
m_word = chDiode.
m_word | ((nstrip&0xfff) << 16 ) ;
◆ SetTimeBin()
void SiHelper::SetTimeBin |
( |
SiChargedDiode & |
chDiode, |
|
|
int |
time, |
|
|
MsgStream * |
log = nullptr |
|
) |
| |
|
inlinestatic |
Definition at line 149 of file SiHelper.h.
154 if (
log) (*log) << MSG::ERROR <<
"TimeBin not allowed" <<
endmsg;
156 chDiode.
m_word = chDiode.
m_word | ( (
static_cast<unsigned int>(
time)&0xf) <<28 ) ;
The documentation for this class was generated from the following file: