12#ifndef CPV_NOISE_CALIBRATOR_H_
13#define CPV_NOISE_CALIBRATOR_H_
35 void fill(
const gsl::span<const o2::cpv::Digit>
data);
63 LOG(info) <<
"hasEnoughData() is being called";
64 return slot.getContainer()->mNEvents >= mMinEvents;
72 std::vector<
float>* mPedEfficiencies =
nullptr;
73 std::vector<
int>* mDeadChannels =
nullptr;
74 std::vector<
int>* mHighPedChannels =
nullptr;
75 std::vector<
int>* mPersistentBadChannels =
nullptr;
76 uint32_t mMinEvents = 100;
77 float mNoiseFrequencyCriteria = 0.5;
78 float mToleratedChannelEfficiencyLow = 0.9;
79 float mToleratedChannelEfficiencyHigh = 1.01;
80 float mNoiseThreshold = 10.;
CCDB container for bad (masked) channels in CPV.
std::vector< o2::ccdb::CcdbObjectInfo > & getCcdbInfoBadChannelMapVector()
bool isSettedDeadChannels()
NoiseTimeSlot & emplaceNewSlot(bool front, TFType tstart, TFType tend) final
bool hasEnoughData(const NoiseTimeSlot &slot) const final
void setHighPedChannels(std::vector< int > *highPeds)
void setPedEfficiencies(std::vector< float > *pedEffs)
const std::vector< o2::cpv::BadChannelMap > & getBadChannelMapVector() const
void setPersistentBadChannels(std::vector< int > *persBadChs)
bool isSettedPersistentBadChannels()
~NoiseCalibrator() final=default
bool isSettedHighPedChannels()
void setDeadChannels(std::vector< int > *deadChs)
bool isSettedPedEfficiencies()
void finalizeSlot(NoiseTimeSlot &slot) final
a couple of static helper functions to create timestamp values for CCDB queries or override obsolete ...
Defining DataPointCompositeObject explicitly as copiable.
void merge(const NoiseCalibData *prev)
void fill(const gsl::span< const o2::cpv::Digit > data)
std::vector< int > mOccupancyMap
~NoiseCalibData()=default
LOG(info)<< "Compressed in "<< sw.CpuTime()<< " s"