File indexing completed on 2025-08-05 08:18:22
0001 #include "Material.h"
0002
0003 #include "IO.h"
0004
0005 namespace genfit {
0006
0007 bool operator== (const Material& lhs, const Material& rhs){
0008 if (&lhs == &rhs)
0009 return true;
0010
0011 return !(lhs.density != rhs.density or
0012 lhs.Z != rhs.Z or
0013 lhs.A != rhs.A or
0014 lhs.radiationLength != rhs.radiationLength or
0015 lhs.mEE != rhs.mEE);
0016
0017 }
0018
0019 bool operator!= (const Material& lhs, const Material& rhs) {
0020 return !(lhs==rhs);
0021 }
0022
0023 void Material::Print(const Option_t*) const {
0024 printOut << "Density = " << density << ", \t"
0025 << "Z = " << Z << ", \t"
0026 << "A = " << A << ", \t"
0027 << "radiationLength = " << radiationLength << ", \t"
0028 << "mEE = " << mEE << "\n";
0029 }
0030
0031 }