Belle II Software development
ARICHChannelMaskMaker.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#include <calibration/CalibrationAlgorithm.h>
11
12namespace Belle2 {
21 public:
22
25
27 void setMinFrac(double minFrac) {m_minFrac = minFrac;}
28
30 void setMinS2N(double minS2N) {m_minS2N = minS2N;}
31
33 void setMinHitPerChn(double minHitPerChn) {m_minHitPerChn = minHitPerChn;}
34
36 double getMinFrac() {return m_minFrac;}
37
39 double getMinS2N() {return m_minS2N;}
40
43
44 protected:
45
47 virtual EResult calibrate() override;
49 int getRing(int modID);
50
51 private:
52
54 double m_minFrac = 0.3;
56 double m_minS2N = 0.1;
58 double m_minHitPerChn = 30;
59
60 };
62} // namespace Belle2
ARICH channel mask calibration algorithm.
ARICHChannelMaskMaker()
Constructor set the prefix to TestCalibration.
double m_minHitPerChn
Minimal number of hits in the channel in the outter HAPD ring, collect more data if not satisfied.
int getRing(int modID)
get hapd ring number from moduleID
void setMinHitPerChn(double minHitPerChn)
setter for m_minHitPerChn
double m_minFrac
Minimal number of signal hits (bit 1+2-0-3) in channel / average number of signal hits in channel in ...
double getMinHitPerChn()
getter for m_minHitPerChn
void setMinFrac(double minFrac)
setter for m_minFrac
double getMinS2N()
getter for m_minS2N
virtual EResult calibrate() override
Run algo on data.
double getMinFrac()
getter for m_minFrac
void setMinS2N(double minS2N)
setter for m_minS2N
double m_minS2N
Minimal signal/(signal+noise) for channel (for hot channels)
Base class for calibration algorithms.
EResult
The result of calibration.
Abstract base class for different kinds of events.