17#ifndef ALICEO2_ITSMFT_CHIPDIGITSCONTAINER_
18#define ALICEO2_ITSMFT_CHIPDIGITSCONTAINER_
59 return (
static_cast<ULong64_t
>(roframe) << (8 *
sizeof(UInt_t))) + (
col << (8 *
sizeof(Short_t))) +
row;
65 return static_cast<UInt_t
>(
key >> (8 *
sizeof(UInt_t)));
76 std::map<ULong64_t, o2::itsmft::PreDigit>
mDigits;
86 return digitentry !=
mDigits.end() ? &(digitentry->second) :
nullptr;
Definition of the ITSMFT NoiseMap.
Definition of the digit contribution from single hit.
Definition of the SegmentationAlpide class.
Container for similated points connected to a given chip.
ClassDefNV(ChipDigitsContainer, 1)
void setChipIndex(UShort_t ind)
void addDigit(ULong64_t key, UInt_t roframe, UShort_t row, UShort_t col, int charge, o2::MCCompLabel lbl)
void setNoiseMap(const o2::itsmft::NoiseMap *mp)
const o2::itsmft::NoiseMap * mNoiseMap
o2::itsmft::PreDigit * findDigit(ULong64_t key)
UShort_t mChipIndex
chip index
void setDeadChanMap(const o2::itsmft::NoiseMap *mp)
std::map< ULong64_t, o2::itsmft::PreDigit > mDigits
Map of fired pixels, possibly in multiple frames.
void addNoise(UInt_t rofMin, UInt_t rofMax, const o2::itsmft::DigiParams *params, int maxRows=o2::itsmft::SegmentationAlpide::NRows, int maxCols=o2::itsmft::SegmentationAlpide::NCols)
std::map< ULong64_t, o2::itsmft::PreDigit > & getPreDigits()
static ULong64_t getOrderingKey(UInt_t roframe, UShort_t row, UShort_t col)
Get global ordering key made of readout frame, column and row.
~ChipDigitsContainer()=default
Destructor.
const o2::itsmft::NoiseMap * mDeadChanMap
static UInt_t key2ROFrame(ULong64_t key)
Get ROFrame from the ordering key.
UShort_t getChipIndex() const
ChipDigitsContainer(UShort_t idx=0)
Default constructor.
NoiseMap class for the ITS and MFT.
static constexpr int NRows
static constexpr int NCols
GLenum const GLfloat * params
a couple of static helper functions to create timestamp values for CCDB queries or override obsolete ...