14#ifndef O2_MFT_NOISECALIBRATOR
15#define O2_MFT_NOISECALIBRATOR
41 NoiseCalibrator(
float prob,
float relErr = 0.2) : mProbabilityThreshold(prob), mProbRelErr(relErr)
44 LOGP(info,
"Expect at least {} ROFs needed to apply threshold {} with relative error {}", mMinROFs, mProbabilityThreshold, mProbRelErr);
49 gsl::span<const o2::itsmft::Digit>
const&
digits,
50 gsl::span<const o2::itsmft::ROFRecord>
const& rofs);
53 gsl::span<const o2::itsmft::CompClusterExt>
const&
clusters,
54 gsl::span<const unsigned char>
const& patterns,
55 gsl::span<const o2::itsmft::ROFRecord>
const& rofs);
66 float mProbabilityThreshold = 1e-6f;
67 float mProbRelErr = 0.2;
69 unsigned int mNumberOfStrobes = 0;
Definition of the ITSMFT NoiseMap.
NoiseMap class for the ITS and MFT.
static long getMinROFs(float t, float relErr)
NoiseCalibrator()=default
NoiseCalibrator(float prob, float relErr=0.2)
bool processTimeFrame(calibration::TFType tf, gsl::span< const o2::itsmft::Digit > const &digits, gsl::span< const o2::itsmft::ROFRecord > const &rofs)
~NoiseCalibrator()=default
void setClusterDictionary(const o2::itsmft::TopologyDictionary *d)
const o2::itsmft::NoiseMap & getNoiseMap() const
a couple of static helper functions to create timestamp values for CCDB queries or override obsolete ...
std::unique_ptr< GPUReconstructionTimeframe > tf
std::vector< Cluster > clusters
std::vector< Digit > digits