Belle II Software  release-08-01-10
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
bool operator==(const DecayNode &node1, const DecayNode &node2)
Compare two Decay Nodes: They are equal if All daughter decay nodes are equal or one of the daughter ...
Definition: DecayNode.cc:48
bool operator!=(const DecayNode &node1, const DecayNode &node2)
Not equal: See operator==.
Definition: DecayNode.cc:65
Defines for I/O streams used for error and debug printing.
double Z
Density in g / cm^3.
Definition: Material.h:10
double A
Atomic number.
Definition: Material.h:11
Material()
Mean excitaiton energy in eV.
Definition: Material.h:15
double mEE
Radiation Length in cm.
Definition: Material.h:13
double radiationLength
Mass number in g / mol.
Definition: Material.h:12