32 constexpr float ns2sec = 1e-9;
35 int nel =
params->getChargeThreshold() * 1.1;
37 for (UInt_t rof = rofMin; rof <= rofMax; rof++) {
38 nhits = gRandom->Poisson(mean);
39 for (Int_t
i = 0;
i < nhits; ++
i) {
40 row = gRandom->Integer(maxRows);
41 col = gRandom->Integer(maxCols);
ClassImp(o2::itsmft::ChipDigitsContainer)
transient container for single chip digits accumulation
Simulation parameters for the ALIPIDE chip.
Container for similated points connected to a given chip.
void addDigit(ULong64_t key, UInt_t roframe, UShort_t row, UShort_t col, int charge, o2::MCCompLabel lbl)
const o2::itsmft::NoiseMap * mNoiseMap
o2::itsmft::PreDigit * findDigit(ULong64_t key)
UShort_t mChipIndex
chip index
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)
static ULong64_t getOrderingKey(UInt_t roframe, UShort_t row, UShort_t col)
Get global ordering key made of readout frame, column and row.
const o2::itsmft::NoiseMap * mDeadChanMap
bool isNoisy(int chip, int row, int col) const
static constexpr int NPixels
GLenum const GLfloat * params