Belle II Software development
SVDHotStripsCalibrationsAlgorithm.h
1/**************************************************************************
2 * basf2 (Belle II Analysis Software Framework) *
3 * Author: The Belle II Collaboration *
4 * *
5 * See git log for contributors and copyright holders. *
6 * This file is licensed under LGPL-3.0, see LICENSE.md. *
7 **************************************************************************/
8
9#pragma once
10
11#include <calibration/CalibrationAlgorithm.h>
12
13namespace Belle2 {
22 public:
23
25 explicit SVDHotStripsCalibrationsAlgorithm(const std::string& str);
26
29
32
35
38
41
44
47
48 protected:
49
51 virtual EResult calibrate() override;
52
53 private:
54
55 std::string m_id;
56 bool theHSFinder(double* stripOccAfterAbsCut, bool* hsflag, int nstrips);
63 };
65} // namespace Belle2
66
67
Base class for calibration algorithms.
EResult
The result of calibration.
Class implementing SVDHotStripsCalibrations calibration algorithm.
float m_relativeOccupancyThreshold
occupancy relative to the average sensor occupancy used to define a strip as hot.
bool getComputeAverageOccupancyPerChip()
Setter of m_computeAverageOccupancyPerChip.
float getRelativeOccupancyThreshold()
Setter of m_relativeOccupancyThreshold.
std::string m_id
Parameter given to set the UniqueID of the payload.
bool m_computeAverageOccupancyPerChip
granularity used to estimate average occupancy.
void setAbsoluteOccupancyThreshold(float value)
Setter of m_absoluteOccupancyThreshold.
bool theHSFinder(double *stripOccAfterAbsCut, bool *hsflag, int nstrips)
returns true if the strip is hot
float getAbsoluteOccupancyThreshold()
Setter of m_relativeOccupancyThreshold.
void setRelativeOccupancyThreshold(float value)
Setter of m_relativeOccupancyThreshold.
float m_absoluteOccupancyThreshold
absolute occupancy thresold to define a strip as hot.
virtual EResult calibrate() override
Run algo on data.
void computeAverageOccupancyPerChip(bool value)
Setter of m_computeAverageOccupancyPerChip.
Abstract base class for different kinds of events.