Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Material.h
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file Material.h
1 #ifndef genfit_Material_h
2 #define genfit_Material_h
3 
4 #include <TObject.h>
5 
6 namespace genfit {
7 
8  struct Material {
9  double density;
10  double Z;
11  double A;
12  double radiationLength;
13  double mEE;
14 
15  Material() : density(0), Z(0), A(0), radiationLength(0), mEE(0) {}
16 
17  Material(double density_, double Z_, double A_, double radiationLength_, double mEE_) :
18  density(density_), Z(Z_), A(A_), radiationLength(radiationLength_), mEE(mEE_) {}
19 
20  Material(const Material &material) = default;
21 
22  virtual ~Material() {};
23 
24  void Print(const Option_t* = "") const;
25 
26  ClassDef(Material, 1)
27  };
28 
29  bool operator==(const Material &lhs, const Material &rhs);
30 
31  bool operator!=(const Material &lhs, const Material &rhs);
32 
33 }
34 
35 #endif