EIC 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 "EigenMatrixTypedefs.h"
5 
6 #include <TObject.h>
7 
8 namespace genfit {
9 
10  struct Material {
16 
17  Material() : density(0), Z(0), A(0), radiationLength(0), mEE(0) {}
18 
19  Material(Scalar density_, Scalar Z_, Scalar A_, Scalar radiationLength_, Scalar mEE_) :
20  density(density_), Z(Z_), A(A_), radiationLength(radiationLength_), mEE(mEE_) {}
21 
22  Material(const Material &material) = default;
23 
24  virtual ~Material() {};
25 
26  void Print(const Option_t* = "") const;
27 
28  ClassDef(Material, 1)
29  };
30 
31  bool operator==(const Material &lhs, const Material &rhs);
32 
33  bool operator!=(const Material &lhs, const Material &rhs);
34 
35 }
36 
37 #endif