Class HomogeneousVolumeMaterial

Inheritance Relationships

Base Type

Class Documentation

class Acts::HomogeneousVolumeMaterial : public Acts::IVolumeMaterial

It extends the IVolumeMaterial base class to describe a simple homogeneous material in a volume.

Public Functions

HomogeneousVolumeMaterial() = default

Default Constructor - defaulted.

HomogeneousVolumeMaterial(const Material &material)

Explicit constructor.

Parameters
  • material: is the material held by this

HomogeneousVolumeMaterial(const HomogeneousVolumeMaterial &hvm) = default

Copy Constructor.

Parameters
  • hvm: is the source material

HomogeneousVolumeMaterial(HomogeneousVolumeMaterial &&hvm) = default

Copy Move Constructor.

Parameters
  • hvm: is the source material

~HomogeneousVolumeMaterial() override = default

Destructor.

const Material material(const Vector3D&) const final

Access to actual material.

Parameters
  • position: is the request position for the material call

HomogeneousVolumeMaterial &operator=(const HomogeneousVolumeMaterial &hvm) = default

Assignment operator.

Parameters
  • hvm: is the source material

bool operator==(const HomogeneousVolumeMaterial &hvm) const

Equality operator.

Parameters
  • hvm: is the source material

std::ostream &toStream(std::ostream &sl) const

Output Method for std::ostream.

Parameters
  • sl: The outoput stream