Condition object to keep Tile channel and ADC status.
More...
#include <TileBadChannels.h>
Condition object to keep Tile channel and ADC status.
Definition at line 24 of file TileBadChannels.h.
◆ BchMap
◆ TileBadChannels()
| TileBadChannels::TileBadChannels |
( |
| ) |
|
◆ ~TileBadChannels()
| TileBadChannels::~TileBadChannels |
( |
| ) |
|
|
virtual |
◆ addAdcStatus()
Add status for given Tile ADC and corresponding channel.
- Parameters
-
| channel_id | Tile hardware (online) channel identifier |
| adc_id | Tile hardware (online) ADC identifier |
| adcStatus | Tile ADC status |
Definition at line 18 of file TileBadChannels.cxx.
◆ encodeAdcStatus()
| uint32_t TileBadChannels::encodeAdcStatus |
( |
const HWIdentifier | adc_id | ) |
const |
Definition at line 70 of file TileBadChannels.cxx.
70 {
72}
static uint32_t encodeStatus(const TileBchStatus &status)
const TileBchStatus & getAdcStatus(const HWIdentifier adc_id) const
Return Tile ADC status.
◆ encodeStatus()
| uint32_t TileBadChannels::encodeStatus |
( |
const TileBchStatus & | status | ) |
|
|
static |
◆ getAdcStatus()
Return Tile ADC status.
- Parameters
-
| adc_id | Tile hardware (online) ADC identifier |
- Returns
- Tile ADC status
Definition at line 24 of file TileBadChannels.cxx.
24 {
25
26 BchMap::const_iterator adcStatus =
m_adcStatus.find(adc_id);
29 } else {
30 return adcStatus->second;
31 }
32
33}
TileBchStatus m_defaultStatus
◆ getChannelStatus()
Return Tile channel status.
- Parameters
-
| channel_id | Tile hardware (online) channel identifier |
- Returns
- Tile channel status
Definition at line 35 of file TileBadChannels.cxx.
35 {
36
37 BchMap::const_iterator channelStatus =
m_channelStatus.find(channel_id);
40 } else {
41 return channelStatus->second;
42 }
43
44}
◆ getMaskedDrawers()
| const std::vector< int > & TileBadChannels::getMaskedDrawers |
( |
void | | ) |
const |
|
inline |
Return Tile drawers masked completely.
- Returns
- Array of Tile drawers (frag identifiers) masked comletely
Definition at line 77 of file TileBadChannels.h.
std::vector< int > m_maskedDrawers
◆ getTripsProbabilities()
| const std::vector< std::vector< float > > & TileBadChannels::getTripsProbabilities |
( |
void | | ) |
const |
|
inline |
Return trips probabilities for all Tile drawers.
- Returns
- Trips probabilites for all Tile drawers
Definition at line 64 of file TileBadChannels.h.
std::vector< std::vector< float > > m_tripsProbs
◆ setMaskedDrawers()
| void TileBadChannels::setMaskedDrawers |
( |
std::vector< int > && | maskedDrawers | ) |
|
Store Tile drawers masked completely.
- Parameters
-
| maskedDrawers | Array of Tile drawers (frag identifiers) masked comletely |
Definition at line 47 of file TileBadChannels.cxx.
47 {
50}
void sort(typename DataModel_detail::iterator< DVL > beg, typename DataModel_detail::iterator< DVL > end)
Specialization of sort for DataVector/List.
◆ setTripsProbabilities()
| void TileBadChannels::setTripsProbabilities |
( |
std::vector< std::vector< float > > && | tripsProbs | ) |
|
|
inline |
Store trips probabilities for all Tile drawers.
- Parameters
-
| tripsProbs | Trips probabilites for all Tile drawers |
Definition at line 103 of file TileBadChannels.h.
◆ m_adcStatus
| BchMap TileBadChannels::m_adcStatus |
|
private |
◆ m_channelStatus
| BchMap TileBadChannels::m_channelStatus |
|
private |
◆ m_defaultStatus
◆ m_maskedDrawers
| std::vector<int> TileBadChannels::m_maskedDrawers |
|
private |
◆ m_tripsProbs
| std::vector<std::vector<float> > TileBadChannels::m_tripsProbs |
|
private |
The documentation for this class was generated from the following files: