Belle II Software development
NDFinderTrack Class Reference

Class for a found NDFinder track. More...

#include <NDFinder.h>

Public Member Functions

 NDFinderTrack (std::array< double, 3 > estimatedParameters, SimpleCluster &&cluster, std::vector< ROOT::Math::XYZVector > &&readoutHoughSpace, std::vector< ROOT::Math::XYZVector > &&readoutCluster)
 Constructor.
 
double getOmega () const
 Get the track parameter omega (z always 0)
 
double getPhi0 () const
 Get the track parameter phi0 (z always 0)
 
double getCot () const
 Get the track parameter cot (z always 0)
 
std::vector< unsigned short > getRelatedHits () const
 Get the number of related Hits.
 
std::vector< ROOT::Math::XYZVector > getHoughSpace () const
 Hough space readout (if storeAdditionalReadout true)
 
std::vector< ROOT::Math::XYZVector > getClusterReadout () const
 Cluster readout (if storeAdditionalReadout true)
 

Private Attributes

double m_omega
 2D track curvature (This is the "real" omega (curvature), i.e., sign(q)/(r_2d[cm]))
 
double m_phi
 2D azimuthal angle
 
double m_cot
 3D polar angle
 
SimpleCluster m_cluster
 The found cluster of the track, including the track segment hits.
 
std::vector< ROOT::Math::XYZVector > m_houghSpace
 Vector storing the complete Hough space for analysis.
 
std::vector< ROOT::Math::XYZVector > m_readoutCluster
 Vector storing cluster informations for analysis.
 

Detailed Description

Class for a found NDFinder track.

Definition at line 53 of file NDFinder.h.

Constructor & Destructor Documentation

◆ NDFinderTrack()

NDFinderTrack ( std::array< double, 3 > estimatedParameters,
SimpleCluster && cluster,
std::vector< ROOT::Math::XYZVector > && readoutHoughSpace,
std::vector< ROOT::Math::XYZVector > && readoutCluster )
inline

Constructor.

Definition at line 56 of file NDFinder.h.

60 : m_cluster(std::move(cluster)),
61 m_houghSpace(std::move(readoutHoughSpace)),
62 m_readoutCluster(std::move(readoutCluster))
63 {
64 m_omega = estimatedParameters[0];
65 m_phi = estimatedParameters[1];
66 m_cot = estimatedParameters[2];
67 }

Member Function Documentation

◆ getClusterReadout()

std::vector< ROOT::Math::XYZVector > getClusterReadout ( ) const
inline

Cluster readout (if storeAdditionalReadout true)

Definition at line 80 of file NDFinder.h.

80{ return m_readoutCluster; }

◆ getCot()

double getCot ( ) const
inline

Get the track parameter cot (z always 0)

Definition at line 74 of file NDFinder.h.

74{ return m_cot; }

◆ getHoughSpace()

std::vector< ROOT::Math::XYZVector > getHoughSpace ( ) const
inline

Hough space readout (if storeAdditionalReadout true)

Definition at line 78 of file NDFinder.h.

78{ return m_houghSpace; }

◆ getOmega()

double getOmega ( ) const
inline

Get the track parameter omega (z always 0)

Definition at line 70 of file NDFinder.h.

70{ return m_omega; }

◆ getPhi0()

double getPhi0 ( ) const
inline

Get the track parameter phi0 (z always 0)

Definition at line 72 of file NDFinder.h.

72{ return m_phi; }

◆ getRelatedHits()

std::vector< unsigned short > getRelatedHits ( ) const
inline

Get the number of related Hits.

Definition at line 76 of file NDFinder.h.

76{ return m_cluster.getClusterHits(); }

Member Data Documentation

◆ m_cluster

SimpleCluster m_cluster
private

The found cluster of the track, including the track segment hits.

Definition at line 90 of file NDFinder.h.

◆ m_cot

double m_cot
private

3D polar angle

Definition at line 88 of file NDFinder.h.

◆ m_houghSpace

std::vector<ROOT::Math::XYZVector> m_houghSpace
private

Vector storing the complete Hough space for analysis.

Definition at line 92 of file NDFinder.h.

◆ m_omega

double m_omega
private

2D track curvature (This is the "real" omega (curvature), i.e., sign(q)/(r_2d[cm]))

Definition at line 84 of file NDFinder.h.

◆ m_phi

double m_phi
private

2D azimuthal angle

Definition at line 86 of file NDFinder.h.

◆ m_readoutCluster

std::vector<ROOT::Math::XYZVector> m_readoutCluster
private

Vector storing cluster informations for analysis.

Definition at line 94 of file NDFinder.h.


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