Belle II Software development
TRGGRLMatch Class Reference

A class to represent a matching candidate in TRGGRL A matching candidate consists of a TRGCDCTrack and TRGECLCluster. More...

#include <TRGGRLMatch.h>

Public Member Functions

 TRGGRLMatch (TRGCDCTrack *track, TRGECLCluster *cluster, int flag)
 public member functions of TRGGRLMatch class Private variables can be called by the corresponding get function
 
virtual ~TRGGRLMatch ()
 Destructor.
 
void dump (void)
 Unpacker of the TRGGRLMatch.
 
double getCenter_x (void) const
 a function returns center (x) of track helix
 
double getCenter_y (void) const
 a function returns center (y) of track helix
 
double getCenter_z (void) const
 a function returns center (z) of track helix
 
double getCenter_r (void) const
 a function returns radius of the track to IP
 
double getCenter_phi (void) const
 a function returns phi of the track center
 
double getCenter_pt (void) const
 a function returns pt of the track
 
double getCenter_z0 (void) const
 a function returns z0 of track helix
 
double getCenter_pz (void) const
 a function returns pz of track helix
 
double getCenter_slope (void) const
 a function returns z slope (polar angle) of track helix
 
double getCluster_x (void) const
 a function returns x position of the cluster
 
double getCluster_y (void) const
 a function returns y position of the cluster
 
double getCluster_z (void) const
 a function returns z position of the cluster
 
double getCluster_e (void) const
 a function returns deposit energy of the cluster
 
double getCluster_R (void) const
 a function returns transverse distance of the cluster to IP
 
double getCluster_D (void) const
 a function returns distance of the cluster to IP
 
double getP_rescaled (void) const
 a function returns 3-momentum of a track scaled by cluster 3D position
 
double getP (void) const
 a function returns 3-momentum of a track
 
double getDr (void) const
 a function returns calculated dr of the matching candidate
 
double getDz (void) const
 a function returns calculated dz of the matching candidate
 
double getPoe (void) const
 a function returns calculated p over E of the matching candidate
 
int getMatch3D (void) const
 a function retuens flag tells 3D information is valid or not
 

Private Member Functions

void calculate (void)
 a function to execute calculation of matching
 

Private Attributes

TRGCDCTrack_track
 a pointer to the TRGCDCTrack of the matching candidate
 
TRGECLCluster_cluster
 a pointer to the TRGECLCluster of the matching candidate
 
int _match3D
 flag tells 3D information is valid or not
 
double _center_x
 center (x) of track helix
 
double _center_y
 center (y) of track helix
 
double _center_z
 center (z) of track helix
 
double _r
 radius of track

 
double _phi
 phi of the track center
 
double _pt
 pt of track

 
double _p
 p of track

 
double _pz
 pz of track

 
double _z0
 z0 of track

 
double _slope
 z slope (polar angle) of track

 
double _cluster_x
 x position of cluster
 
double _cluster_y
 y position of cluster
 
double _cluster_z
 z position of cluster
 
double _cluster_e
 deposit energy of cluster
 
double _R
 transverse distance of cluster to IP
 
double _D
 distance of clusterto IP
 
double _re_scaled_p
 track momentum scaled with 3D information from cluster
 
double _dr
 dr between track and cluster
 
double _dz
 dz between track and cluster
 
double _ex_x
 x position of the cluster calculated by matching
 
double _ex_y
 y position of the cluster calculated by matching
 
double _ex_z
 z position of the cluster calculated by matching
 
double _poe
 calculated p over e

 

Detailed Description

A class to represent a matching candidate in TRGGRL A matching candidate consists of a TRGCDCTrack and TRGECLCluster.

The outputs are dr and dz between track and cluster.

Definition at line 24 of file TRGGRLMatch.h.

Member Function Documentation

◆ getCenter_phi()

double getCenter_phi ( void  ) const
inline

a function returns phi of the track center

Definition at line 52 of file TRGGRLMatch.h.

52{return _phi;};
double _phi
phi of the track center
Definition: TRGGRLMatch.h:110

◆ getCenter_pt()

double getCenter_pt ( void  ) const
inline

a function returns pt of the track

Definition at line 54 of file TRGGRLMatch.h.

54{return _pt;};
double _pt
pt of track
Definition: TRGGRLMatch.h:112

◆ getCenter_pz()

double getCenter_pz ( void  ) const
inline

a function returns pz of track helix

Definition at line 58 of file TRGGRLMatch.h.

58{return _pz;};
double _pz
pz of track
Definition: TRGGRLMatch.h:116

◆ getCenter_r()

double getCenter_r ( void  ) const
inline

a function returns radius of the track to IP

Definition at line 50 of file TRGGRLMatch.h.

50{return _r;};
double _r
radius of track
Definition: TRGGRLMatch.h:108

◆ getCenter_slope()

double getCenter_slope ( void  ) const
inline

a function returns z slope (polar angle) of track helix

Definition at line 60 of file TRGGRLMatch.h.

60{return _slope;};
double _slope
z slope (polar angle) of track
Definition: TRGGRLMatch.h:120

◆ getCenter_x()

double getCenter_x ( void  ) const
inline

a function returns center (x) of track helix

Definition at line 44 of file TRGGRLMatch.h.

44{return _center_x;};
double _center_x
center (x) of track helix
Definition: TRGGRLMatch.h:102

◆ getCenter_y()

double getCenter_y ( void  ) const
inline

a function returns center (y) of track helix

Definition at line 46 of file TRGGRLMatch.h.

46{return _center_y;};
double _center_y
center (y) of track helix
Definition: TRGGRLMatch.h:104

◆ getCenter_z()

double getCenter_z ( void  ) const
inline

a function returns center (z) of track helix

Definition at line 48 of file TRGGRLMatch.h.

48{return _center_z;};
double _center_z
center (z) of track helix
Definition: TRGGRLMatch.h:106

◆ getCenter_z0()

double getCenter_z0 ( void  ) const
inline

a function returns z0 of track helix

Definition at line 56 of file TRGGRLMatch.h.

56{return _z0;};
double _z0
z0 of track
Definition: TRGGRLMatch.h:118

◆ getCluster_D()

double getCluster_D ( void  ) const
inline

a function returns distance of the cluster to IP

Definition at line 73 of file TRGGRLMatch.h.

73{return _D;};
double _D
distance of clusterto IP
Definition: TRGGRLMatch.h:133

◆ getCluster_e()

double getCluster_e ( void  ) const
inline

a function returns deposit energy of the cluster

Definition at line 69 of file TRGGRLMatch.h.

69{return _cluster_e;};
double _cluster_e
deposit energy of cluster
Definition: TRGGRLMatch.h:129

◆ getCluster_R()

double getCluster_R ( void  ) const
inline

a function returns transverse distance of the cluster to IP

Definition at line 71 of file TRGGRLMatch.h.

71{return _R;};
double _R
transverse distance of cluster to IP
Definition: TRGGRLMatch.h:131

◆ getCluster_x()

double getCluster_x ( void  ) const
inline

a function returns x position of the cluster

Definition at line 63 of file TRGGRLMatch.h.

63{return _cluster_x;};
double _cluster_x
x position of cluster
Definition: TRGGRLMatch.h:123

◆ getCluster_y()

double getCluster_y ( void  ) const
inline

a function returns y position of the cluster

Definition at line 65 of file TRGGRLMatch.h.

65{return _cluster_y;};
double _cluster_y
y position of cluster
Definition: TRGGRLMatch.h:125

◆ getCluster_z()

double getCluster_z ( void  ) const
inline

a function returns z position of the cluster

Definition at line 67 of file TRGGRLMatch.h.

67{return _cluster_z;};
double _cluster_z
z position of cluster
Definition: TRGGRLMatch.h:127

◆ getDr()

double getDr ( void  ) const
inline

a function returns calculated dr of the matching candidate

Definition at line 80 of file TRGGRLMatch.h.

80{return _dr;};
double _dr
dr between track and cluster
Definition: TRGGRLMatch.h:138

◆ getDz()

double getDz ( void  ) const
inline

a function returns calculated dz of the matching candidate

Definition at line 82 of file TRGGRLMatch.h.

82{return _dz;};
double _dz
dz between track and cluster
Definition: TRGGRLMatch.h:140

◆ getMatch3D()

int getMatch3D ( void  ) const
inline

a function retuens flag tells 3D information is valid or not

Definition at line 87 of file TRGGRLMatch.h.

87{return _match3D;};
int _match3D
flag tells 3D information is valid or not
Definition: TRGGRLMatch.h:99

◆ getP()

double getP ( void  ) const
inline

a function returns 3-momentum of a track

Definition at line 77 of file TRGGRLMatch.h.

77{return _p;};
double _p
p of track
Definition: TRGGRLMatch.h:114

◆ getP_rescaled()

double getP_rescaled ( void  ) const
inline

a function returns 3-momentum of a track scaled by cluster 3D position

Definition at line 75 of file TRGGRLMatch.h.

75{return _re_scaled_p;};
double _re_scaled_p
track momentum scaled with 3D information from cluster
Definition: TRGGRLMatch.h:135

◆ getPoe()

double getPoe ( void  ) const
inline

a function returns calculated p over E of the matching candidate

Definition at line 84 of file TRGGRLMatch.h.

84{return _poe;};
double _poe
calculated p over e
Definition: TRGGRLMatch.h:148

Member Data Documentation

◆ _center_x

double _center_x
private

center (x) of track helix

Definition at line 102 of file TRGGRLMatch.h.

◆ _center_y

double _center_y
private

center (y) of track helix

Definition at line 104 of file TRGGRLMatch.h.

◆ _center_z

double _center_z
private

center (z) of track helix

Definition at line 106 of file TRGGRLMatch.h.

◆ _cluster

TRGECLCluster* _cluster
private

a pointer to the TRGECLCluster of the matching candidate

Definition at line 96 of file TRGGRLMatch.h.

◆ _cluster_e

double _cluster_e
private

deposit energy of cluster

Definition at line 129 of file TRGGRLMatch.h.

◆ _cluster_x

double _cluster_x
private

x position of cluster

Definition at line 123 of file TRGGRLMatch.h.

◆ _cluster_y

double _cluster_y
private

y position of cluster

Definition at line 125 of file TRGGRLMatch.h.

◆ _cluster_z

double _cluster_z
private

z position of cluster

Definition at line 127 of file TRGGRLMatch.h.

◆ _D

double _D
private

distance of clusterto IP

Definition at line 133 of file TRGGRLMatch.h.

◆ _dr

double _dr
private

dr between track and cluster

Definition at line 138 of file TRGGRLMatch.h.

◆ _dz

double _dz
private

dz between track and cluster

Definition at line 140 of file TRGGRLMatch.h.

◆ _ex_x

double _ex_x
private

x position of the cluster calculated by matching

Definition at line 142 of file TRGGRLMatch.h.

◆ _ex_y

double _ex_y
private

y position of the cluster calculated by matching

Definition at line 144 of file TRGGRLMatch.h.

◆ _ex_z

double _ex_z
private

z position of the cluster calculated by matching

Definition at line 146 of file TRGGRLMatch.h.

◆ _match3D

int _match3D
private

flag tells 3D information is valid or not

Definition at line 99 of file TRGGRLMatch.h.

◆ _p

double _p
private

p of track

Definition at line 114 of file TRGGRLMatch.h.

◆ _phi

double _phi
private

phi of the track center

Definition at line 110 of file TRGGRLMatch.h.

◆ _poe

double _poe
private

calculated p over e

Definition at line 148 of file TRGGRLMatch.h.

◆ _pt

double _pt
private

pt of track

Definition at line 112 of file TRGGRLMatch.h.

◆ _pz

double _pz
private

pz of track

Definition at line 116 of file TRGGRLMatch.h.

◆ _r

double _r
private

radius of track

Definition at line 108 of file TRGGRLMatch.h.

◆ _R

double _R
private

transverse distance of cluster to IP

Definition at line 131 of file TRGGRLMatch.h.

◆ _re_scaled_p

double _re_scaled_p
private

track momentum scaled with 3D information from cluster

Definition at line 135 of file TRGGRLMatch.h.

◆ _slope

double _slope
private

z slope (polar angle) of track

Definition at line 120 of file TRGGRLMatch.h.

◆ _track

TRGCDCTrack* _track
private

a pointer to the TRGCDCTrack of the matching candidate

Definition at line 93 of file TRGGRLMatch.h.

◆ _z0

double _z0
private

z0 of track

Definition at line 118 of file TRGGRLMatch.h.


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