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;
Timeframe settings Average distance in cm of events merged into Randomize distance around average distance of merged events Simulate correct bunch interactions instead of placing only the average number of events A value[n] sets TFlen for[n] collisions in Number of bunches per trainsort Number of bunch trains Instantaneous interaction rate Do not simulate border Total number of collisions to be placed in the interior of all time Do not select random but walk over array of events in stride steps h Event generator settings h configStandalone Use CPU for GPU Force usage of the specified GPU device no CPU fallback Continue processing after an error First event to Number of events to Number of iterations to Number of iterations to Number of initial iterations excluded from const char Directory with events to Events directory is and not inside events d
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