Belle II Software development
CkfToPXDFiltersSetting.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 CkfToPXDFiltersSetting: public TObject {
23
24 public:
25
28
31
35 void setHitFilterName(const std::string hitFilterName)
36 {
37 m_hitFilterName = hitFilterName;
38 }
42 void setSeedFilterName(const std::string seedFilterName)
43 {
44 m_seedFilterName = seedFilterName;
45 }
46
50 void setPtThresholdTrackToHitCut(const double PtThresholdTrackToHitCut)
51 {
52 m_paramPtThresholdTrackToHitCut = PtThresholdTrackToHitCut;
53 }
54
58 void setPhiInterceptToHitCut(const double PhiInterceptToHitCut)
59 {
60 m_paramPhiInterceptToHitCut = PhiInterceptToHitCut;
61 }
62
66 void setEtaInterceptToHitCut(const double EtaInterceptToHitCut)
67 {
68 m_paramEtaInterceptToHitCut = EtaInterceptToHitCut;
69 }
70
74 void setPhiRecoTrackToHitCut(const double PhiRecoTrackToHitCut)
75 {
76 m_paramPhiRecoTrackToHitCut = PhiRecoTrackToHitCut;
77 }
78
82 void setEtaRecoTrackToHitCut(const double EtaRecoTrackToHitCut)
83 {
84 m_paramEtaRecoTrackToHitCut = EtaRecoTrackToHitCut;
85 }
86
90 void setPhiHitHitCut(const double PhiHitHitCut)
91 {
92 m_paramPhiHitHitCut = PhiHitHitCut;
93 }
94
98 void setEtaHitHitCut(const double EtaHitHitCut)
99 {
100 m_paramEtaHitHitCut = EtaHitHitCut;
101 }
102
106 void setPhiOverlapHitHitCut(const double PhiOverlapHitHitCut)
107 {
108 m_paramPhiOverlapHitHitCut = PhiOverlapHitHitCut;
109 }
110
114 void setEtaOverlapHitHitCut(const double EtaOverlapHitHitCut)
115 {
116 m_paramEtaOverlapHitHitCut = EtaOverlapHitHitCut;
117 }
118
122 void setPXDInterceptsName(const std::string PXDInterceptsName)
123 {
124 m_paramPXDInterceptsName = PXDInterceptsName;
125 }
126
129 const std::string& getHitFilterName() const { return this->m_hitFilterName; }
130
133 const std::string& getSeedFilterName() const { return this->m_seedFilterName; }
134
137 const double& getPtThresholdTrackToHitCut() const { return this->m_paramPtThresholdTrackToHitCut; }
138
141 const double& getPhiInterceptToHitCut() const { return this->m_paramPhiInterceptToHitCut; }
142
145 const double& getEtaInterceptToHitCut() const { return this->m_paramEtaInterceptToHitCut; }
146
149 const double& getPhiRecoTrackToHitCut() const { return this->m_paramPhiRecoTrackToHitCut; }
150
153 const double& getEtaRecoTrackToHitCut() const { return this->m_paramEtaRecoTrackToHitCut; }
154
157 const double& getPhiHitHitCut() const { return this->m_paramPhiHitHitCut; }
158
161 const double& getEtaHitHitCut() const { return this->m_paramEtaHitHitCut; }
162
165 const double& getPhiOverlapHitHitCut() const { return this->m_paramPhiOverlapHitHitCut; }
166
169 const double& getEtaOverlapHitHitCut() const { return this->m_paramEtaOverlapHitHitCut; }
170
173 const std::string& getPXDInterceptsName() const { return this->m_paramPXDInterceptsName; }
174
175
176 private:
177
179 std::string m_hitFilterName = "not set";
180
182 std::string m_seedFilterName = "not set";
183
184 // parameter values for the intercept filter only
185 // the seed filter parameter values are not stored in this payload
186
206 std::string m_paramPXDInterceptsName = "not set";
207
209 };
211}
const double & getPhiHitHitCut() const
Get the PhiHitHitCut.
const double & getPhiInterceptToHitCut() const
Get the PhiInterceptToHitCut.
void setEtaOverlapHitHitCut(const double EtaOverlapHitHitCut)
Set the EtaOverlapHitHitCut.
void setSeedFilterName(const std::string seedFilterName)
Set the seedFilterName.
const std::string & getPXDInterceptsName() const
Get the PXDInterceptsName.
const double & getEtaInterceptToHitCut() const
Get the EtaInterceptToHitCut.
void setPXDInterceptsName(const std::string PXDInterceptsName)
Set the PXDInterceptsName.
void setHitFilterName(const std::string hitFilterName)
Set the hitFilterName.
void setPhiInterceptToHitCut(const double PhiInterceptToHitCut)
Set the PhiInterceptToHitCut.
double m_paramPtThresholdTrackToHitCut
Threshold on pT to apply inverse pT scale on cut value.
double m_paramEtaHitHitCut
Cut in eta between two hit-based states.
double m_paramEtaOverlapHitHitCut
Cut in eta between two hit-based states in ladder overlap.
std::string m_paramPXDInterceptsName
Name of the PXDIntercepts StoreArray.
void setEtaRecoTrackToHitCut(const double EtaRecoTrackToHitCut)
Set the EtaRecoTrackToHitCut.
CkfToPXDFiltersSetting()
Default constructor, parameters set to NaN.
void setPhiOverlapHitHitCut(const double PhiOverlapHitHitCut)
Set the PhiOverlapHitHitCut.
const std::string & getHitFilterName() const
Get the hitFilterName.
void setPhiHitHitCut(const double PhiHitHitCut)
Set the PhiHitHitCut.
double m_paramEtaRecoTrackToHitCut
Cut in eta for the difference between RecoTrack information and current hit-based state.
std::string m_hitFilterName
The hitFilterName.
const double & getPtThresholdTrackToHitCut() const
Get the PtThresholdTrackToHitCut.
double m_paramPhiInterceptToHitCut
Cut in phi for the difference between PXDIntercept from RecoTrack on the same layer and current hit-b...
double m_paramPhiHitHitCut
Cut in phi between two hit-based states.
void setEtaHitHitCut(const double EtaHitHitCut)
Set the EtaHitHitCut.
const double & getPhiOverlapHitHitCut() const
Get the PhiOverlapHitHitCut.
double m_paramEtaInterceptToHitCut
Cut in eta for the difference between PXDIntercept from RecoTrack on the same layer and current hit-b...
void setPtThresholdTrackToHitCut(const double PtThresholdTrackToHitCut)
Set the PtThresholdTrackToHitCut.
double m_paramPhiRecoTrackToHitCut
Cut in phi for the difference between RecoTrack information and current hit-based state.
ClassDef(CkfToPXDFiltersSetting, 1)
ClassDef, necessary for ROOT.
const double & getEtaHitHitCut() const
Get the EtaHitHitCut.
const double & getEtaOverlapHitHitCut() const
Get the EtaOverlapHitHitCut.
void setPhiRecoTrackToHitCut(const double PhiRecoTrackToHitCut)
Set the PhiRecoTrackToHitCut.
double m_paramPhiOverlapHitHitCut
Cut in phi between two hit-based states in ladder overlap.
const double & getEtaRecoTrackToHitCut() const
Get the EtaRecoTrackToHitCut.
const double & getPhiRecoTrackToHitCut() const
Get the PhiRecoTrackToHitCut.
const std::string & getSeedFilterName() const
Get the seedFilterName.
std::string m_seedFilterName
The seedFilterName.
void setEtaInterceptToHitCut(const double EtaInterceptToHitCut)
Set the EtaInterceptToHitCut.
Abstract base class for different kinds of events.