Project
Loading...
Searching...
No Matches
o2::mid::ChannelScalers Class Reference

#include <ChannelScalers.h>

Public Member Functions

void count (const ColumnData &patterns)
 
void reset ()
 Resets scalers.
 
void merge (const ChannelScalers &other)
 Merges two counters.
 
uint8_t getDeId (uint32_t uniqueId) const
 Gets deId from unique Id.
 
uint8_t getColumnId (uint32_t uniqueId) const
 Gets columnId from unique Id.
 
uint8_t getCathode (uint32_t uniqueId) const
 Gets cathode from unique Id.
 
uint8_t getLineId (uint32_t uniqueId) const
 Gets lineId from unique Id.
 
uint8_t getStrip (uint32_t uniqueId) const
 Gets strip from unique Id.
 
const std::unordered_map< uint32_t, uint32_t > & getScalers () const
 Gets the scalers.
 

Detailed Description

Definition at line 28 of file ChannelScalers.h.

Member Function Documentation

◆ count()

void o2::mid::ChannelScalers::count ( const ColumnData patterns)

Increments the counter per digit

Parameters
patternsList of noisy digits

Definition at line 32 of file ChannelScalers.cxx.

◆ getCathode()

uint8_t o2::mid::ChannelScalers::getCathode ( uint32_t  uniqueId) const
inline

Gets cathode from unique Id.

Definition at line 46 of file ChannelScalers.h.

◆ getColumnId()

uint8_t o2::mid::ChannelScalers::getColumnId ( uint32_t  uniqueId) const
inline

Gets columnId from unique Id.

Definition at line 44 of file ChannelScalers.h.

◆ getDeId()

uint8_t o2::mid::ChannelScalers::getDeId ( uint32_t  uniqueId) const
inline

Gets deId from unique Id.

Definition at line 42 of file ChannelScalers.h.

◆ getLineId()

uint8_t o2::mid::ChannelScalers::getLineId ( uint32_t  uniqueId) const
inline

Gets lineId from unique Id.

Definition at line 48 of file ChannelScalers.h.

◆ getScalers()

const std::unordered_map< uint32_t, uint32_t > & o2::mid::ChannelScalers::getScalers ( ) const
inline

Gets the scalers.

Definition at line 53 of file ChannelScalers.h.

◆ getStrip()

uint8_t o2::mid::ChannelScalers::getStrip ( uint32_t  uniqueId) const
inline

Gets strip from unique Id.

Definition at line 50 of file ChannelScalers.h.

◆ merge()

void o2::mid::ChannelScalers::merge ( const ChannelScalers other)

Merges two counters.

Definition at line 40 of file ChannelScalers.cxx.

◆ reset()

void o2::mid::ChannelScalers::reset ( )
inline

Resets scalers.

Definition at line 36 of file ChannelScalers.h.


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