Project
Loading...
Searching...
No Matches
o2::itsmft::NoiseMap Class Reference

NoiseMap class for the ITS and MFT. More...

#include <NoiseMap.h>

Public Member Functions

 NoiseMap (std::vector< std::map< int, int > > &noise)
 Constructor, initializing values for position, charge and readout frame.
 
 NoiseMap ()=default
 Constructor.
 
 NoiseMap (int nchips)
 Constructor.
 
 ~NoiseMap ()=default
 Destructor.
 
float getNoiseLevel (int chip, int row, int col) const
 Get the noise level for this pixels.
 
void increaseNoiseCount (int chip, int row, int col)
 
void increaseNoiseCount (int chip, const std::vector< int > &rowcolKey)
 
int dumpAboveThreshold (int t=3) const
 
int dumpAboveProbThreshold (float p=1e-7) const
 
void applyProbThreshold (float t, long int n, float relErr=0.2f, int minChipID=0, int maxChipID=24119)
 
float getProbThreshold () const
 
long int getNumOfStrobes () const
 
bool isNoisy (int chip, int row, int col) const
 
bool isNoisyOrFullyMasked (int chip, int row, int col) const
 
bool isNoisy (int chip) const
 
void print ()
 
void fill (const gsl::span< const CompClusterExt > data)
 
const std::map< int, int > * getChipMap (int chip) const
 
std::map< int, int > & getChip (int chip)
 
const std::map< int, int > & getChip (int chip) const
 
void maskFullChip (int chip, bool cleanNoisyPixels=false)
 
bool isFullChipMasked (int chip) const
 
void resetChip (int chip)
 
NoiseMap merge (const NoiseMap *prev)
 
size_t size () const
 
void setNumOfStrobes (long n)
 
void addStrobes (long n)
 
long getNumberOfStrobes () const
 

Static Public Member Functions

static long getMinROFs (float t, float relErr)
 
static int getKey (int row, int col)
 
static int key2Row (int key)
 
static int key2Col (int key)
 

Detailed Description

NoiseMap class for the ITS and MFT.

Definition at line 38 of file NoiseMap.h.

Constructor & Destructor Documentation

◆ NoiseMap() [1/3]

o2::itsmft::NoiseMap::NoiseMap ( std::vector< std::map< int, int > > &  noise)
inline

Constructor, initializing values for position, charge and readout frame.

Definition at line 43 of file NoiseMap.h.

◆ NoiseMap() [2/3]

o2::itsmft::NoiseMap::NoiseMap ( )
default

Constructor.

◆ NoiseMap() [3/3]

o2::itsmft::NoiseMap::NoiseMap ( int  nchips)
inline

Constructor.

Definition at line 48 of file NoiseMap.h.

◆ ~NoiseMap()

o2::itsmft::NoiseMap::~NoiseMap ( )
default

Destructor.

Member Function Documentation

◆ addStrobes()

void o2::itsmft::NoiseMap::addStrobes ( long  n)
inline

Definition at line 221 of file NoiseMap.h.

◆ applyProbThreshold()

void o2::itsmft::NoiseMap::applyProbThreshold ( float  t,
long int  n,
float  relErr = 0.2f,
int  minChipID = 0,
int  maxChipID = 24119 
)
inline

Definition at line 105 of file NoiseMap.h.

◆ dumpAboveProbThreshold()

int o2::itsmft::NoiseMap::dumpAboveProbThreshold ( float  p = 1e-7) const
inline

Definition at line 100 of file NoiseMap.h.

◆ dumpAboveThreshold()

int o2::itsmft::NoiseMap::dumpAboveThreshold ( int  t = 3) const
inline

Definition at line 81 of file NoiseMap.h.

◆ fill()

void NoiseMap::fill ( const gsl::span< const CompClusterExt data)

Definition at line 44 of file NoiseMap.cxx.

◆ getChip() [1/2]

std::map< int, int > & o2::itsmft::NoiseMap::getChip ( int  chip)
inline

Definition at line 175 of file NoiseMap.h.

◆ getChip() [2/2]

const std::map< int, int > & o2::itsmft::NoiseMap::getChip ( int  chip) const
inline

Definition at line 176 of file NoiseMap.h.

◆ getChipMap()

const std::map< int, int > * o2::itsmft::NoiseMap::getChipMap ( int  chip) const
inline

Definition at line 173 of file NoiseMap.h.

◆ getKey()

static int o2::itsmft::NoiseMap::getKey ( int  row,
int  col 
)
inlinestatic

Definition at line 223 of file NoiseMap.h.

◆ getMinROFs()

static long o2::itsmft::NoiseMap::getMinROFs ( float  t,
float  relErr 
)
inlinestatic

Definition at line 197 of file NoiseMap.h.

◆ getNoiseLevel()

float o2::itsmft::NoiseMap::getNoiseLevel ( int  chip,
int  row,
int  col 
) const
inline

Get the noise level for this pixels.

Definition at line 56 of file NoiseMap.h.

◆ getNumberOfStrobes()

long o2::itsmft::NoiseMap::getNumberOfStrobes ( ) const
inline

Definition at line 222 of file NoiseMap.h.

◆ getNumOfStrobes()

long int o2::itsmft::NoiseMap::getNumOfStrobes ( ) const
inline

Definition at line 149 of file NoiseMap.h.

◆ getProbThreshold()

float o2::itsmft::NoiseMap::getProbThreshold ( ) const
inline

Definition at line 148 of file NoiseMap.h.

◆ increaseNoiseCount() [1/2]

void o2::itsmft::NoiseMap::increaseNoiseCount ( int  chip,
const std::vector< int > &  rowcolKey 
)
inline

Definition at line 72 of file NoiseMap.h.

◆ increaseNoiseCount() [2/2]

void o2::itsmft::NoiseMap::increaseNoiseCount ( int  chip,
int  row,
int  col 
)
inline

Definition at line 66 of file NoiseMap.h.

◆ isFullChipMasked()

bool o2::itsmft::NoiseMap::isFullChipMasked ( int  chip) const
inline

Definition at line 186 of file NoiseMap.h.

◆ isNoisy() [1/2]

bool o2::itsmft::NoiseMap::isNoisy ( int  chip) const
inline

Definition at line 163 of file NoiseMap.h.

◆ isNoisy() [2/2]

bool o2::itsmft::NoiseMap::isNoisy ( int  chip,
int  row,
int  col 
) const
inline

Definition at line 151 of file NoiseMap.h.

◆ isNoisyOrFullyMasked()

bool o2::itsmft::NoiseMap::isNoisyOrFullyMasked ( int  chip,
int  row,
int  col 
) const
inline

Definition at line 157 of file NoiseMap.h.

◆ key2Col()

static int o2::itsmft::NoiseMap::key2Col ( int  key)
inlinestatic

Definition at line 225 of file NoiseMap.h.

◆ key2Row()

static int o2::itsmft::NoiseMap::key2Row ( int  key)
inlinestatic

Definition at line 224 of file NoiseMap.h.

◆ maskFullChip()

void o2::itsmft::NoiseMap::maskFullChip ( int  chip,
bool  cleanNoisyPixels = false 
)
inline

Definition at line 178 of file NoiseMap.h.

◆ merge()

NoiseMap o2::itsmft::NoiseMap::merge ( const NoiseMap prev)
inline

Definition at line 205 of file NoiseMap.h.

◆ print()

void NoiseMap::print ( )

Definition at line 23 of file NoiseMap.cxx.

◆ resetChip()

void o2::itsmft::NoiseMap::resetChip ( int  chip)
inline

Definition at line 191 of file NoiseMap.h.

◆ setNumOfStrobes()

void o2::itsmft::NoiseMap::setNumOfStrobes ( long  n)
inline

Definition at line 220 of file NoiseMap.h.

◆ size()

size_t o2::itsmft::NoiseMap::size ( ) const
inline

Definition at line 219 of file NoiseMap.h.


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