Belle II Software development
KinkFinderParameters Class Reference

The payload containing the parameters for the kinkFinder. More...

#include <KinkFinderParameters.h>

Inheritance diagram for KinkFinderParameters:

Public Member Functions

 KinkFinderParameters ()
 Default constructor.
 
 ~KinkFinderParameters ()
 Destructor.
 
void setParameters (const unsigned char kinkFitterMode, const double vertexChi2Cut, const double vertexDistanceCut, const double precutRho, const double precutZ, const double precutDistance, const double precutDistance2D, const int precutSplitNCDCHit, const double precutSplitPValue)
 Set working mode and cuts for the KinkFinder module.
 
void setKinkFitterMode (const unsigned char kinkFitterMode)
 set KinkFitter working mode
 
void setVertexChi2Cut (const double vertexChi2Cut)
 set cut on Chi2 for the Kink vertex
 
void setVertexDistanceCut (const double vertexDistanceCut)
 set cut on distance between tracks at the Kink vertex
 
void setPrecutRho (const double precutRho)
 set preselection cut on transverse shift from the outer CDC wall for the track ending points
 
void setPrecutZ (const double precutZ)
 set preselection cut on z shift from the outer CDC wall for the track ending points
 
void setPrecutDistance (const double precutDistance)
 set preselection cut on distance between ending points of two tracks
 
void setPrecutDistance2D (const double precutDistance2D)
 set preselection cut on 2D distance between ending points of two tracks (for bad z cases)
 
void setPrecutSplitNCDCHit (const int precutSplitNCDCHit)
 set preselection cut on maximal number of fitted CDC hits for a track candidate to be split
 
void setPrecutSplitPValue (const double precutSplitPValue)
 set preselection cut on maximal p-value for a track candidate to be split
 
unsigned char getKinkFitterMode () const
 get kinkFitter working mode
 
double getVertexChi2Cut () const
 get cut on Chi2 for the Kink vertex
 
double getVertexDistanceCut () const
 get cut on distance between tracks at the Kink vertex
 
double getPrecutRho () const
 get preselection cut on transverse shift from the outer CDC wall for the track ending points
 
double getPrecutZ () const
 get preselection cut on z shift from the outer CDC wall for the track ending points
 
double getPrecutDistance () const
 get preselection cut on distance between ending points of two tracks
 
double getPrecutDistance2D () const
 get preselection cut on 2D distance between ending points of two tracks (for bad z cases)
 
int getPrecutSplitNCDCHit () const
 get preselection cut on maximal number of fitted CDC hits for a track candidate to be split
 
double getPrecutSplitPValue () const
 get preselection cut on maximal p-value for a track candidate to be split
 

Private Member Functions

 ClassDef (KinkFinderParameters, 1)
 ClassDef, necessary for ROOT.
 

Private Attributes

unsigned char m_kinkFitterMode = 0b1111
 kinkFitter working mode in binary: 1st bit: reassign hits (1 is On, 0 is Off) 2nd bit: flip tracks with close end points (1 is On, 0 is Off) 3rd bit: fit both tracks as one (1 is On, 0 is Off) 4th bit: find candidate tracks to be split and do it (1 is On, 0 is Off) fitter mode is written in decimal representation
 
double m_vertexChi2Cut = 10000.
 Cut on Chi2 for the Kink vertex.
 
double m_vertexDistanceCut = 2.
 Cut on distance between tracks at the Kink vertex [cm].
 
double m_precutRho = 10.
 Preselection cut on transverse shift from the outer CDC wall for the track ending points [cm].
 
double m_precutZ = 0.
 Preselection cut on z shift from the outer CDC wall for the track ending points [cm].
 
double m_precutDistance = 10.
 Preselection cut on distance between ending points of two tracks [cm].
 
double m_precutDistance2D = 10.
 Preselection cut on 2D distance between ending points of two tracks (for bad z cases) [cm].
 
int m_precutSplitNCDCHit = 49
 Preselection cut on maximal number of fitted CDC hits for a track candidate to be split.
 
double m_precutSplitPValue = 0.01
 Preselection cut on maximal p-value for a track candidate to be split.
 

Detailed Description

The payload containing the parameters for the kinkFinder.

Definition at line 20 of file KinkFinderParameters.h.

Constructor & Destructor Documentation

◆ KinkFinderParameters()

Default constructor.

Definition at line 24 of file KinkFinderParameters.h.

24{}

◆ ~KinkFinderParameters()

~KinkFinderParameters ( )
inline

Destructor.

Definition at line 26 of file KinkFinderParameters.h.

26{}

Member Function Documentation

◆ getKinkFitterMode()

unsigned char getKinkFitterMode ( ) const
inline

get kinkFitter working mode

Definition at line 137 of file KinkFinderParameters.h.

138 {
139 return m_kinkFitterMode;
140 }
unsigned char m_kinkFitterMode
kinkFitter working mode in binary: 1st bit: reassign hits (1 is On, 0 is Off) 2nd bit: flip tracks wi...

◆ getPrecutDistance()

double getPrecutDistance ( ) const
inline

get preselection cut on distance between ending points of two tracks

Definition at line 167 of file KinkFinderParameters.h.

168 {
169 return m_precutDistance;
170 }
double m_precutDistance
Preselection cut on distance between ending points of two tracks [cm].

◆ getPrecutDistance2D()

double getPrecutDistance2D ( ) const
inline

get preselection cut on 2D distance between ending points of two tracks (for bad z cases)

Definition at line 173 of file KinkFinderParameters.h.

174 {
175 return m_precutDistance2D;
176 }
double m_precutDistance2D
Preselection cut on 2D distance between ending points of two tracks (for bad z cases) [cm].

◆ getPrecutRho()

double getPrecutRho ( ) const
inline

get preselection cut on transverse shift from the outer CDC wall for the track ending points

Definition at line 155 of file KinkFinderParameters.h.

156 {
157 return m_precutRho;
158 }
double m_precutRho
Preselection cut on transverse shift from the outer CDC wall for the track ending points [cm].

◆ getPrecutSplitNCDCHit()

int getPrecutSplitNCDCHit ( ) const
inline

get preselection cut on maximal number of fitted CDC hits for a track candidate to be split

Definition at line 179 of file KinkFinderParameters.h.

180 {
182 }
int m_precutSplitNCDCHit
Preselection cut on maximal number of fitted CDC hits for a track candidate to be split.

◆ getPrecutSplitPValue()

double getPrecutSplitPValue ( ) const
inline

get preselection cut on maximal p-value for a track candidate to be split

Definition at line 185 of file KinkFinderParameters.h.

186 {
187 return m_precutSplitPValue;
188 }
double m_precutSplitPValue
Preselection cut on maximal p-value for a track candidate to be split.

◆ getPrecutZ()

double getPrecutZ ( ) const
inline

get preselection cut on z shift from the outer CDC wall for the track ending points

Definition at line 161 of file KinkFinderParameters.h.

162 {
163 return m_precutZ;
164 }
double m_precutZ
Preselection cut on z shift from the outer CDC wall for the track ending points [cm].

◆ getVertexChi2Cut()

double getVertexChi2Cut ( ) const
inline

get cut on Chi2 for the Kink vertex

Definition at line 143 of file KinkFinderParameters.h.

144 {
145 return m_vertexChi2Cut;
146 }
double m_vertexChi2Cut
Cut on Chi2 for the Kink vertex.

◆ getVertexDistanceCut()

double getVertexDistanceCut ( ) const
inline

get cut on distance between tracks at the Kink vertex

Definition at line 149 of file KinkFinderParameters.h.

150 {
151 return m_vertexDistanceCut;
152 }
double m_vertexDistanceCut
Cut on distance between tracks at the Kink vertex [cm].

◆ setKinkFitterMode()

void setKinkFitterMode ( const unsigned char  kinkFitterMode)
inline

set KinkFitter working mode

Parameters
kinkFitterModeworking mode

Definition at line 59 of file KinkFinderParameters.h.

60 {
61 m_kinkFitterMode = kinkFitterMode;
62 }

◆ setParameters()

void setParameters ( const unsigned char  kinkFitterMode,
const double  vertexChi2Cut,
const double  vertexDistanceCut,
const double  precutRho,
const double  precutZ,
const double  precutDistance,
const double  precutDistance2D,
const int  precutSplitNCDCHit,
const double  precutSplitPValue 
)
inline

Set working mode and cuts for the KinkFinder module.

Parameters
kinkFitterModeworking mode
vertexChi2Cutcut on Chi2 for the Kink vertex
vertexDistanceCutcut on distance between tracks at the Kink vertex
precutRhopreselection cut on transverse shift from the outer CDC wall for the track ending points
precutZpreselection cut on z shift from the outer CDC wall for the track ending points
precutDistancepreselection cut on distance between ending points of two tracks
precutDistance2Dpreselection cut on 2D distance between ending points of two tracks (for bad z cases)
precutSplitNCDCHitpreselection cut on maximal number of fitted CDC hits for a track candidate to be split
precutSplitPValuepreselection cut on maximal p-value for a track candidate to be split

Definition at line 40 of file KinkFinderParameters.h.

43 {
44 m_kinkFitterMode = kinkFitterMode;
45 m_vertexChi2Cut = vertexChi2Cut;
46 m_vertexDistanceCut = vertexDistanceCut;
47 m_precutRho = precutRho;
48 m_precutZ = precutZ;
49 m_precutDistance = precutDistance;
50 m_precutDistance2D = precutDistance2D;
51 m_precutSplitNCDCHit = precutSplitNCDCHit;
52 m_precutSplitPValue = precutSplitPValue;
53 }

◆ setPrecutDistance()

void setPrecutDistance ( const double  precutDistance)
inline

set preselection cut on distance between ending points of two tracks

Parameters
precutDistancepreselection cut on distance between ending points of two tracks

Definition at line 104 of file KinkFinderParameters.h.

105 {
106 m_precutDistance = precutDistance;
107 }

◆ setPrecutDistance2D()

void setPrecutDistance2D ( const double  precutDistance2D)
inline

set preselection cut on 2D distance between ending points of two tracks (for bad z cases)

Parameters
precutDistance2Dpreselection cut on 2D distance between ending points of two tracks (for bad z cases)

Definition at line 113 of file KinkFinderParameters.h.

114 {
115 m_precutDistance2D = precutDistance2D;
116 }

◆ setPrecutRho()

void setPrecutRho ( const double  precutRho)
inline

set preselection cut on transverse shift from the outer CDC wall for the track ending points

Parameters
precutRhopreselection cut on transverse shift from the outer CDC wall for the track ending points

Definition at line 86 of file KinkFinderParameters.h.

87 {
88 m_precutRho = precutRho;
89 }

◆ setPrecutSplitNCDCHit()

void setPrecutSplitNCDCHit ( const int  precutSplitNCDCHit)
inline

set preselection cut on maximal number of fitted CDC hits for a track candidate to be split

Parameters
precutSplitNCDCHitpreselection cut on maximal number of fitted CDC hits for a track candidate to be split

Definition at line 122 of file KinkFinderParameters.h.

123 {
124 m_precutSplitNCDCHit = precutSplitNCDCHit;
125 }

◆ setPrecutSplitPValue()

void setPrecutSplitPValue ( const double  precutSplitPValue)
inline

set preselection cut on maximal p-value for a track candidate to be split

Parameters
precutSplitPValuepreselection cut on maximal p-value for a track candidate to be split

Definition at line 131 of file KinkFinderParameters.h.

132 {
133 m_precutSplitPValue = precutSplitPValue;
134 }

◆ setPrecutZ()

void setPrecutZ ( const double  precutZ)
inline

set preselection cut on z shift from the outer CDC wall for the track ending points

Parameters
precutZpreselection cut on z shift from the outer CDC wall for the track ending points

Definition at line 95 of file KinkFinderParameters.h.

96 {
97 m_precutZ = precutZ;
98 }

◆ setVertexChi2Cut()

void setVertexChi2Cut ( const double  vertexChi2Cut)
inline

set cut on Chi2 for the Kink vertex

Parameters
vertexChi2Cutcut on Chi2 for the Kink vertex

Definition at line 68 of file KinkFinderParameters.h.

69 {
70 m_vertexChi2Cut = vertexChi2Cut;
71 }

◆ setVertexDistanceCut()

void setVertexDistanceCut ( const double  vertexDistanceCut)
inline

set cut on distance between tracks at the Kink vertex

Parameters
vertexDistanceCutcut on distance between tracks at the Kink vertex

Definition at line 77 of file KinkFinderParameters.h.

78 {
79 m_vertexDistanceCut = vertexDistanceCut;
80 }

Member Data Documentation

◆ m_kinkFitterMode

unsigned char m_kinkFitterMode = 0b1111
private

kinkFitter working mode in binary: 1st bit: reassign hits (1 is On, 0 is Off) 2nd bit: flip tracks with close end points (1 is On, 0 is Off) 3rd bit: fit both tracks as one (1 is On, 0 is Off) 4th bit: find candidate tracks to be split and do it (1 is On, 0 is Off) fitter mode is written in decimal representation

Definition at line 197 of file KinkFinderParameters.h.

◆ m_precutDistance

double m_precutDistance = 10.
private

Preselection cut on distance between ending points of two tracks [cm].

Definition at line 207 of file KinkFinderParameters.h.

◆ m_precutDistance2D

double m_precutDistance2D = 10.
private

Preselection cut on 2D distance between ending points of two tracks (for bad z cases) [cm].

Definition at line 209 of file KinkFinderParameters.h.

◆ m_precutRho

double m_precutRho = 10.
private

Preselection cut on transverse shift from the outer CDC wall for the track ending points [cm].

Definition at line 203 of file KinkFinderParameters.h.

◆ m_precutSplitNCDCHit

int m_precutSplitNCDCHit = 49
private

Preselection cut on maximal number of fitted CDC hits for a track candidate to be split.

Definition at line 211 of file KinkFinderParameters.h.

◆ m_precutSplitPValue

double m_precutSplitPValue = 0.01
private

Preselection cut on maximal p-value for a track candidate to be split.

Definition at line 213 of file KinkFinderParameters.h.

◆ m_precutZ

double m_precutZ = 0.
private

Preselection cut on z shift from the outer CDC wall for the track ending points [cm].

Definition at line 205 of file KinkFinderParameters.h.

◆ m_vertexChi2Cut

double m_vertexChi2Cut = 10000.
private

Cut on Chi2 for the Kink vertex.

Definition at line 199 of file KinkFinderParameters.h.

◆ m_vertexDistanceCut

double m_vertexDistanceCut = 2.
private

Cut on distance between tracks at the Kink vertex [cm].

Definition at line 201 of file KinkFinderParameters.h.


The documentation for this class was generated from the following file: