ACTS
Experiment-independent tracking
Loading...
Searching...
No Matches
Acts::ProtoVolumeMaterial Class Reference

proxy to VolumeMaterial hand over BinUtility More...

#include <Acts/Material/ProtoVolumeMaterial.hpp>

Inheritance diagram for Acts::ProtoVolumeMaterial:
[legend]
Collaboration diagram for Acts::ProtoVolumeMaterial:
[legend]

Public Member Functions

 ProtoVolumeMaterial ()=default
 Constructor without BinUtility - homogeneous material.
 ProtoVolumeMaterial (const BinUtility &binUtility)
 Constructor with BinUtility - multidimensional material.
 ProtoVolumeMaterial (const ProtoVolumeMaterial &vmproxy)=default
 Copy constructor.
 ProtoVolumeMaterial (ProtoVolumeMaterial &&vmproxy)=default
 Copy move constructor.
 ~ProtoVolumeMaterial () override=default
 Destructor.
const BinUtilitybinUtility () const
 Return the BinUtility.
const Material material (const Vector3 &) const final
 Return the material.
ProtoVolumeMaterialoperator= (const ProtoVolumeMaterial &vmproxy)=default
 Assignment operator.
std::ostream & toStream (std::ostream &sl) const final
 Output Method for std::ostream.
Public Member Functions inherited from Acts::IVolumeMaterial
virtual ~IVolumeMaterial ()=default
 Virtual Destructor.

Detailed Description

proxy to VolumeMaterial hand over BinUtility

The ProtoVolumeMaterial class acts as a proxy to the VolumeMaterial to mark the volume on which the material should be mapped on at construction time of the geometry and to hand over the granularity of of the material map with the bin Utility.

Constructor & Destructor Documentation

◆ ProtoVolumeMaterial() [1/4]

Acts::ProtoVolumeMaterial::ProtoVolumeMaterial ( )
default

Constructor without BinUtility - homogeneous material.

◆ ProtoVolumeMaterial() [2/4]

Acts::ProtoVolumeMaterial::ProtoVolumeMaterial ( const BinUtility & binUtility)
explicit

Constructor with BinUtility - multidimensional material.

Parameters
binUtilitya BinUtility determining the granularity and binning of the material on the volume

◆ ProtoVolumeMaterial() [3/4]

Acts::ProtoVolumeMaterial::ProtoVolumeMaterial ( const ProtoVolumeMaterial & vmproxy)
default

Copy constructor.

Parameters
vmproxyThe source proxy

◆ ProtoVolumeMaterial() [4/4]

Acts::ProtoVolumeMaterial::ProtoVolumeMaterial ( ProtoVolumeMaterial && vmproxy)
default

Copy move constructor.

Parameters
vmproxyThe source proxy

◆ ~ProtoVolumeMaterial()

Acts::ProtoVolumeMaterial::~ProtoVolumeMaterial ( )
overridedefault

Destructor.

Member Function Documentation

◆ binUtility()

const Acts::BinUtility & Acts::ProtoVolumeMaterial::binUtility ( ) const

Return the BinUtility.

Returns
Const reference to the bin utility for this material

◆ material()

const Acts::Material Acts::ProtoVolumeMaterial::material ( const Vector3 & ) const
finalvirtual

Return the material.

Returns
The vacuum material (always the same as this is a proxy)

Implements Acts::IVolumeMaterial.

◆ operator=()

ProtoVolumeMaterial & Acts::ProtoVolumeMaterial::operator= ( const ProtoVolumeMaterial & vmproxy)
default

Assignment operator.

Parameters
vmproxyThe source proxy
Returns
Reference to this material proxy for assignment chaining

◆ toStream()

std::ostream & Acts::ProtoVolumeMaterial::toStream ( std::ostream & sl) const
finalvirtual

Output Method for std::ostream.

Parameters
slThe outoput stream
Returns
Reference to the output stream for method chaining

Implements Acts::IVolumeMaterial.