Analysis Software
Documentation for sPHENIX simulation software
|
#include <acts/blob/sPHENIX/Core/include/Acts/Material/HomogeneousVolumeMaterial.hpp>
Public Member Functions | |
HomogeneousVolumeMaterial (const Material &material) | |
HomogeneousVolumeMaterial (const HomogeneousVolumeMaterial &hvm)=default | |
HomogeneousVolumeMaterial (HomogeneousVolumeMaterial &&hvm)=default | |
~HomogeneousVolumeMaterial () override=default | |
Destructor. | |
HomogeneousVolumeMaterial & | operator= (const HomogeneousVolumeMaterial &hvm)=default |
bool | operator== (const HomogeneousVolumeMaterial &hvm) const |
const Material | material (const Vector3 &position) const final |
std::ostream & | toStream (std::ostream &sl) const final |
Public Member Functions inherited from Acts::IVolumeMaterial | |
virtual | ~IVolumeMaterial ()=default |
Virtual Destructor. | |
Private Attributes | |
Material | m_material = Material() |
It extends the IVolumeMaterial base class to describe a simple homogeneous material in a volume
Definition at line 23 of file HomogeneousVolumeMaterial.hpp.
View newest version in sPHENIX GitHub at line 23 of file HomogeneousVolumeMaterial.hpp
Acts::HomogeneousVolumeMaterial::HomogeneousVolumeMaterial | ( | const Material & | material | ) |
Explicit constructor
material | is the material held by this |
Definition at line 15 of file HomogeneousVolumeMaterial.cpp.
View newest version in sPHENIX GitHub at line 15 of file HomogeneousVolumeMaterial.cpp
|
default |
Copy Constructor
hvm | is the source material |
|
default |
Copy Move Constructor
hvm | is the source material |
|
overridedefault |
Destructor.
|
inlinefinalvirtual |
Access to actual material
position | is the request position for the material call |
position
is ignored Implements Acts::IVolumeMaterial.
Definition at line 70 of file HomogeneousVolumeMaterial.hpp.
View newest version in sPHENIX GitHub at line 70 of file HomogeneousVolumeMaterial.hpp
References m_material.
Referenced by Acts::Test::BOOST_AUTO_TEST_CASE().
|
default |
Assignment operator
hvm | is the source material |
|
inline |
Equality operator
hvm | is the source material |
Definition at line 75 of file HomogeneousVolumeMaterial.hpp.
View newest version in sPHENIX GitHub at line 75 of file HomogeneousVolumeMaterial.hpp
References m_material.
|
finalvirtual |
Output Method for std::ostream
sl | The outoput stream |
Implements Acts::IVolumeMaterial.
Definition at line 19 of file HomogeneousVolumeMaterial.cpp.
View newest version in sPHENIX GitHub at line 19 of file HomogeneousVolumeMaterial.cpp
Definition at line 67 of file HomogeneousVolumeMaterial.hpp.
View newest version in sPHENIX GitHub at line 67 of file HomogeneousVolumeMaterial.hpp
Referenced by material(), and operator==().