 |
Belle II Software
release-05-01-25
|
14 #include "trg/trg/Signal.h"
15 #include "trg/cdc/Track.h"
16 #include "trg/cdc/Helix.h"
17 #include "trg/ecl/dataobjects/TRGECLCluster.h"
18 #include "trg/grl/TRGGRLMatch.h"
65 double theta0 = acos(
_R / (2 *
_r)) +
_phi;
66 double theta1 = 2 *
_phi - theta0;
68 double ex_x0 =
_R * cos(theta0), ex_y0 =
_R * sin(theta0), ex_x1 =
_R * cos(theta1), ex_y1 =
_R * sin(theta1);
72 _dr = (dr0 < dr1) ? dr0 : dr1;
73 _ex_x = (dr0 < dr1) ? ex_x0 : ex_x1;
74 _ex_y = (dr0 < dr1) ? ex_y0 : ex_y1;
95 cout <<
"double center_x = " <<
_center_x <<
";" << endl;
96 cout <<
"double center_y = " <<
_center_y <<
";" << endl;
97 cout <<
"double center_z = " <<
_center_z <<
";" << endl;
98 cout <<
"double radius = " <<
_r <<
";" << endl;
99 cout <<
"double pt = " <<
_pt <<
";" << endl;
100 cout <<
"double p = " <<
_p <<
";" << endl;
101 cout <<
"double cluster_x = " <<
_cluster_x <<
";" << endl;
102 cout <<
"double cluster_y = " <<
_cluster_y <<
";" << endl;
103 cout <<
"double cluster_z = " <<
_cluster_z <<
";" << endl;
104 cout <<
"double ex_x = " <<
_ex_x <<
";" << endl;
105 cout <<
"double ex_y = " <<
_ex_y <<
";" << endl;
106 cout <<
"double ex_z = " <<
_ex_z <<
";" << endl;
double _cluster_x
x position of cluster
const HepGeom::Point3D< double > & center(void) const
returns position of helix center(z = 0.);
double getPositionX() const
The method to get hit average time Get Energy weighted position X.
double _slope
z slope (polar angle) of track
double _R
transverse distance of cluster to IP
double _cluster_z
z position of cluster
double _ex_z
z position of the cluster calculated by matching
double getPositionZ() const
Get Energy weighted position Z.
const TRGCDCHelix & helix(void) const
returns helix parameter.
double getPositionY() const
Get Energy weighted position Y.
TRGCDCHelix parameter class.
double _re_scaled_p
track momentum scaled with 3D information from cluster
double _D
distance of clusterto IP
Abstract base class for different kinds of events.
double _dr
dr between track and cluster
double _dz
dz between track and cluster
int _match3D
flag tells 3D information is valid or not
void dump(void)
Unpacker of the TRGGRLMatch.
virtual ~TRGGRLMatch()
Destructor.
void calculate(void)
a function to execute calculation of matching
double _cluster_y
y position of cluster
double _center_x
center (x) of track helix
TRGCDCTrack * _track
a pointer to the TRGCDCTrack of the matching candidate
double _cluster_e
deposit energy of cluster
double tanl(void) const
returns tanl.
TRGECLCluster * _cluster
a pointer to the TRGECLCluster of the matching candidate
double dz(void) const
returns dz.
A class to represent a reconstructed charged track in TRGCDC.
double _phi
phi of the track center
double _center_z
center (z) of track helix
double _poe
calculated p over e
virtual double pt(void) const override
returns Pt.
double _ex_x
x position of the cluster calculated by matching
double getEnergyDep() const
The method to get deposited energy.
double _ex_y
y position of the cluster calculated by matching
double _center_y
center (y) of track helix