 |
Belle II Software
release-05-02-19
|
12 #include <calibration/CalibrationAlgorithm.h>
13 #include <vxd/dataobjects/VxdID.h>
24 class PXDHotPixelMaskCalibrationAlgorithm :
public CalibrationAlgorithm {
77 std::shared_ptr<TFile>
m_file;
bool forceContinueMasking
Force continue masking in almost empty runs instead of returning c_NotEnoughData.
void setDebugHisto(bool debugHisto)
setter for m_debugHisto
void createDebugHistogram()
Perform debug histogram file creation.
int minHits
Minimum median number of hits per pixel needed for dead pixel masking.
float drainMultiplier
The occupancy threshold for masking hot drains is the median occupancy x drainMultiplier.
int m_debugHisto
Set if a debugging histogram should be created in the algorithm output directory.
std::map< VxdID, double > m_medianOfHitsMap
map of VxdID to median hits of each sensor
float pixelMultiplier
The occupancy threshold for masking hot single pixels is the median occupancy x pixelMultiplier.
const unsigned short c_nDrains
Number of drain lines of Belle II PXD sensors.
virtual EResult calibrate() override
Run algo on data.
int minEvents
Minimum number of collected events.
bool maskDrains
Mask hot drain lines with too high average occupancy after single pixel masking.
Abstract base class for different kinds of events.
PXDHotPixelMaskCalibrationAlgorithm()
Constructor set the prefix to PXDHotPixelMaskCalibrationAlgorithm.
float rowMultiplier
The occupancy threshold for masking hot rows is the median occupancy x rowMultiplier.
std::shared_ptr< TFile > m_file
Pointer for TFile.
EResult
The result of calibration.
const unsigned short c_nUCells
Number of uCells of Belle II PXD sensors.
const unsigned short c_nVCells
Number of vCells of Belle II PXD sensors.
bool maskRows
Mask hot rows with too high average occupancy after single pixel masking.