BOSS 7.0.3
BESIII Offline Software System
Loading...
Searching...
No Matches
InstallArea/include/TrkReco/TrkReco/RkFitMaterial.h
Go to the documentation of this file.
1//-----------------------------------------------------------------------
2//------------------------------------------------------------------------
3#ifndef _DEFINE_MATERIAL_H_
4#define _DEFINE_MATERIAL_H_
5
7 double rza_; // density * (atomic number) / weight
8 double isq_; // mean excitation potential ** 2
9 double x0_; // radiation length
10 double z_;
11
12public:
13 /// Constructor
15 RkFitMaterial(double z, double a, double i,
16 double rho, double x0);
17 RkFitMaterial( const RkFitMaterial& mat);
18 /// Calculate energy loss
19 double dE(double mass, double path, double p) const;
20
21 /// Calculate Multiple Scattering angle
22 double mcs_angle(double mass, double path, double p) const;
23
24 /// Calculate the straggling of energy loss
25 double del_E(double mass, double path, double p) const;
26
27 /// Extractor
28 double X0(void) const { return x0_; }
29
30};
31
32#endif
33
34
35
36
37
38
39
double mass
double dE(double mass, double path, double p) const
Calculate energy loss.
double mcs_angle(double mass, double path, double p) const
Calculate Multiple Scattering angle.
double del_E(double mass, double path, double p) const
Calculate the straggling of energy loss.