CGEM BOSS 6.6.5.i
BESIII Offline Software System
Loading...
Searching...
No Matches
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 double rho_; //density
25
26public:
27 /// Constructor
29 KalFitMaterial(double z, double a, double i,
30 double rho, double x0);
31 KalFitMaterial( const KalFitMaterial& mat);
32 /// Calculate energy loss
33 double dE(double mass, double path, double p) const;
34
35 /// Calculate Multiple Scattering angle
36 double mcs_angle(double mass, double path, double p) const;
37
38 /// Calculate the straggling of energy loss
39 double del_E(double mass, double path, double p) const;
40
41 /// Extractor
42 double X0(void) const { return x0_; }
43 double Z(void) const { return z_; }
44 double get_density(void) const {return rho_;}
45};
46
47#endif
48
49
50
51
52
53
54
double mass
double get_density(void) const
double X0(void) const
Extractor.
double Z(void) const
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.
KalFitMaterial()
Constructor.