Belle II Software development
ROICalculationParameters.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#pragma once
9
10#include <TObject.h>
11
12namespace Belle2 {
22 class ROICalculationParameters: public TObject {
23 public:
28
30 void setToleranceZ(const double toleranceZ) { m_toleranceZ = toleranceZ; }
32 void setTolerancePhi(const double tolerancePhi) { m_tolerancePhi = tolerancePhi; }
34 void setSigmaSystU(const double sigmaSystU) { m_sigmaSystU = sigmaSystU; }
36 void setSigmaSystV(const double sigmaSystV) { m_sigmaSystV = sigmaSystV; }
38 void setNumSigmaTotU(const double numSigmaTotU) { m_numSigmaTotU = numSigmaTotU; }
40 void setNumSigmaTotV(const double numSigmaTotV) { m_numSigmaTotV = numSigmaTotV; }
42 void setMaxWidthU(const double maxWidthU) { m_maxWidthU = maxWidthU; }
44 void setMaxWidthV(const double maxWidthV) { m_maxWidthV = maxWidthV; }
45
47 double getToleranceZ() const { return m_toleranceZ; }
49 double getTolerancePhi() const { return m_tolerancePhi; }
51 double getSigmaSystU() const { return m_sigmaSystU; }
53 double getSigmaSystV() const { return m_sigmaSystV; }
55 double getNumSigmaTotU() const { return m_numSigmaTotU; }
57 double getNumSigmaTotV() const { return m_numSigmaTotV; }
59 double getMaxWidthU() const { return m_maxWidthU; }
61 double getMaxWidthV() const { return m_maxWidthV; }
62
63 private:
65 double m_toleranceZ = 0.5;
67 double m_tolerancePhi = 0.15;
69 double m_sigmaSystU = 0.02;
71 double m_sigmaSystV = 0.02;
73 double m_numSigmaTotU = 10;
75 double m_numSigmaTotV = 10;
77 double m_maxWidthU = 0.5;
79 double m_maxWidthV = 0.5;
80
82 };
84}
The payload containing all PXD ROI parameters.
double m_maxWidthV
maximum V width of the ROI
void setTolerancePhi(const double tolerancePhi)
Set tolerance in phi.
void setMaxWidthU(const double maxWidthU)
Set maximum ROI size in u.
void setSigmaSystU(const double sigmaSystU)
Set sigma_u which represents the minimum ROI size in u.
void setNumSigmaTotV(const double numSigmaTotV)
Set number of sigmas used to calculate ROI size in v.
void setMaxWidthV(const double maxWidthV)
Set maximum ROI size in v.
void setToleranceZ(const double toleranceZ)
Set tolerance in z.
void setNumSigmaTotU(const double numSigmaTotU)
Set number of sigmas used to calculate ROI size in u.
double m_maxWidthU
maximum U width of the ROI
double getMaxWidthU() const
Get maximum ROI size in u.
double getSigmaSystU() const
Get sigma_u which represents the minimum ROI size in u.
double getNumSigmaTotU() const
Get number of sigmas used to calculate ROI size in u.
void setSigmaSystV(const double sigmaSystV)
Set sigma_v which represents the minimum ROI size in v.
double m_tolerancePhi
tolerance for finding sensor in phi coordinate (radians)
double m_sigmaSystV
fixed width to add in quadrature to the extrapolation error and obtain the ROI V width
ClassDef(ROICalculationParameters, 1)
ClassDef, necessary for ROOT.
double m_numSigmaTotV
number of sigma (stat+syst) determining the U width of the ROI
double getMaxWidthV() const
Get maximum ROI size in v.
ROICalculationParameters()
Default constructor.
double getToleranceZ() const
Get tolerance in z.
double m_sigmaSystU
fixed width to add in quadrature to the extrapolation error and obtain the ROI U width
double getTolerancePhi() const
Get tolerance in phi.
double m_numSigmaTotU
number of sigma (stat+syst) determining the U width of the ROI
double getSigmaSystV() const
Get sigma_v which represents the minimum ROI size in v.
double getNumSigmaTotV() const
Get number of sigmas used to calculate ROI size in v.
double m_toleranceZ
tolerance for finding sensor in Z coordinate (cm)
Abstract base class for different kinds of events.