BOSS 7.0.2
BESIII Offline Software System
Loading...
Searching...
No Matches
InstallArea/include/KalFitAlg/KalFitAlg/KalFitMaterial.h
Go to the documentation of this file.
1//-----------------------------------------------------------------------
2// File from KalFit module
3//
4// Filename : KalFitMaterial.h
5//------------------------------------------------------------------------
6// Description :
7// Material is a class which describes the properties of a given
8// material, for instance atomic number, atomic weight and so on.
9//
10//------------------------------------------------------------------------
11// Modif :
12//------------------------------------------------------------------------
13#ifndef _DEFINE_MATERIAL_H_
14#define _DEFINE_MATERIAL_H_
15
16/** Material is a class which describes the properties of a given
17 * material, for instance atomic number, atomic weight and so on.
18 */
20 double rza_; // density * (atomic number) / weight
21 double isq_; // mean excitation potential ** 2
22 double x0_; // radiation length
23 double z_;
24
25public:
26 /// Constructor
28 KalFitMaterial(double z, double a, double i,
29 double rho, double x0);
30 KalFitMaterial( const KalFitMaterial& mat);
31 /// Calculate energy loss
32 double dE(double mass, double path, double p) const;
33
34 /// Calculate Multiple Scattering angle
35 double mcs_angle(double mass, double path, double p) const;
36
37 /// Calculate the straggling of energy loss
38 double del_E(double mass, double path, double p) const;
39
40 /// Extractor
41 double X0(void) const { return x0_; }
42
43};
44
45#endif
46
47
48
49
50
51
52
double mass
double del_E(double mass, double path, double p) const
Calculate the straggling of energy loss.
double mcs_angle(double mass, double path, double p) const
Calculate Multiple Scattering angle.
double dE(double mass, double path, double p) const
Calculate energy loss.