Back to home page

sPhenix code displayed by LXR

 
 

    


File indexing completed on 2025-08-05 08:18:21

0001 #ifndef genfit_Material_h
0002 #define genfit_Material_h
0003 
0004 #include <TObject.h>
0005 
0006 namespace genfit {
0007 
0008     struct Material {
0009         double density;  /// Density in g / cm^3
0010         double Z;  /// Atomic number
0011         double A;  /// Mass number in g / mol
0012         double radiationLength;  /// Radiation Length in cm
0013         double mEE;  /// Mean excitaiton energy in eV
0014 
0015         Material() : density(0), Z(0), A(0), radiationLength(0), mEE(0) {}
0016 
0017         Material(double density_, double Z_, double A_, double radiationLength_, double mEE_) :
0018                 density(density_), Z(Z_), A(A_), radiationLength(radiationLength_), mEE(mEE_) {}
0019 
0020         Material(const Material &material) = default;
0021 
0022         virtual ~Material() {};
0023 
0024         void Print(const Option_t* = "") const;
0025 
0026         ClassDef(Material, 1)
0027     };
0028 
0029     bool operator==(const Material &lhs, const Material &rhs);
0030 
0031     bool operator!=(const Material &lhs, const Material &rhs);
0032 
0033 }
0034 
0035 #endif