Belle II Software development
NDFinderTrack Class Reference

Store track parameters of found tracks. More...

#include <NDFinder.h>

Public Member Functions

 NDFinderTrack (std::vector< double > values, const SimpleCluster &cluster, std::vector< ROOT::Math::XYZVector > houghspace, std::vector< ROOT::Math::XYZVector > ndreadout)
 
virtual ~NDFinderTrack ()
 Default destructor.
 
double getOmega ()
 
double getPhi0 ()
 
double getCot ()
 
double getNRelHits ()
 
std::vector< unsigned short > getRelHits ()
 
std::vector< unsigned short > getRelHitsWeights ()
 
void reset ()
 
SimpleCluster getCluster ()
 
std::vector< ROOT::Math::XYZVector > getHoughSpace ()
 
std::vector< ROOT::Math::XYZVector > getNDReadout ()
 

Private Attributes

double m_omega
 2D track curvature
 
double m_phi
 2D azimuthal angle
 
double m_cotTheta
 3D polar angle
 
std::vector< unsigned short > m_relHits
 vector of the indices of the related hits in the list of CDC hits (StoreArray<CDCHits>)
 
std::vector< double > m_hitWeights
 vector of the weights for each related hit.
 
SimpleCluster m_cluster
 
std::vector< ROOT::Math::XYZVector > m_houghspace
 
std::vector< ROOT::Math::XYZVector > m_ndreadout
 

Detailed Description

Store track parameters of found tracks.

Definition at line 28 of file NDFinder.h.

Constructor & Destructor Documentation

◆ NDFinderTrack()

NDFinderTrack ( std::vector< double >  values,
const SimpleCluster cluster,
std::vector< ROOT::Math::XYZVector >  houghspace,
std::vector< ROOT::Math::XYZVector >  ndreadout 
)
inline

Definition at line 30 of file NDFinder.h.

31 :
32 m_cluster(cluster)
33 {
34 m_omega = values[0];
35 m_phi = values[1];
36 m_cotTheta = values[2];
37 m_houghspace = houghspace;
38 m_ndreadout = ndreadout;
39 }
double m_phi
2D azimuthal angle
Definition: NDFinder.h:90
double m_omega
2D track curvature
Definition: NDFinder.h:88
double m_cotTheta
3D polar angle
Definition: NDFinder.h:92

◆ ~NDFinderTrack()

virtual ~NDFinderTrack ( )
inlinevirtual

Default destructor.

Definition at line 42 of file NDFinder.h.

42{}

Member Function Documentation

◆ getCluster()

SimpleCluster getCluster ( )
inline

Definition at line 73 of file NDFinder.h.

74 {
75 return m_cluster;
76 }

◆ getCot()

double getCot ( )
inline

Definition at line 51 of file NDFinder.h.

52 {
53 return m_cotTheta;
54 }

◆ getHoughSpace()

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

Definition at line 77 of file NDFinder.h.

78 {
79 return m_houghspace;
80 }

◆ getNDReadout()

std::vector< ROOT::Math::XYZVector > getNDReadout ( )
inline

Definition at line 81 of file NDFinder.h.

82 {
83 return m_ndreadout;
84 }

◆ getNRelHits()

double getNRelHits ( )
inline

Definition at line 55 of file NDFinder.h.

56 {
57 return m_cluster.getHits().size();
58 }
std::vector< unsigned short > getHits()
Get ids of related hits (indices of the TS StoreArray)
Definition: Clusterizend.h:100

◆ getOmega()

double getOmega ( )
inline

Definition at line 43 of file NDFinder.h.

44 {
45 return m_omega;
46 }

◆ getPhi0()

double getPhi0 ( )
inline

Definition at line 47 of file NDFinder.h.

48 {
49 return m_phi;
50 }

◆ getRelHits()

std::vector< unsigned short > getRelHits ( )
inline

Definition at line 59 of file NDFinder.h.

60 {
61 return m_cluster.getHits();
62 }

◆ getRelHitsWeights()

std::vector< unsigned short > getRelHitsWeights ( )
inline

Definition at line 63 of file NDFinder.h.

64 {
65 return m_cluster.getWeights();
66 }
std::vector< unsigned short > getWeights()
Get weight contribution of each related hit to the cluster.
Definition: Clusterizend.h:105

◆ reset()

void reset ( )
inline

Definition at line 67 of file NDFinder.h.

68 {
69 m_omega = 0.;
70 m_phi = 0.;
71 m_cotTheta = 0.;
72 }

Member Data Documentation

◆ m_cluster

SimpleCluster m_cluster
private

Definition at line 98 of file NDFinder.h.

◆ m_cotTheta

double m_cotTheta
private

3D polar angle

Definition at line 92 of file NDFinder.h.

◆ m_hitWeights

std::vector<double> m_hitWeights
private

vector of the weights for each related hit.

Definition at line 97 of file NDFinder.h.

◆ m_houghspace

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

Definition at line 99 of file NDFinder.h.

◆ m_ndreadout

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

Definition at line 100 of file NDFinder.h.

◆ m_omega

double m_omega
private

2D track curvature

Definition at line 88 of file NDFinder.h.

◆ m_phi

double m_phi
private

2D azimuthal angle

Definition at line 90 of file NDFinder.h.

◆ m_relHits

std::vector<unsigned short> m_relHits
private

vector of the indices of the related hits in the list of CDC hits (StoreArray<CDCHits>)

Definition at line 95 of file NDFinder.h.


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