ECCE @ EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Acts::ProtoSurfaceMaterial Class Reference

proxy to SurfaceMaterial hand over BinUtility More...

#include <acts/blob/master/Core/include/Acts/Material/ProtoSurfaceMaterial.hpp>

+ Inheritance diagram for Acts::ProtoSurfaceMaterial:
+ Collaboration diagram for Acts::ProtoSurfaceMaterial:

Public Member Functions

 ProtoSurfaceMaterial ()=default
 Constructor without BinUtility - homogenous material.
 
 ProtoSurfaceMaterial (const BinUtility &binUtility)
 
 ProtoSurfaceMaterial (const ProtoSurfaceMaterial &smproxy)=default
 
 ProtoSurfaceMaterial (ProtoSurfaceMaterial &&smproxy)=default
 
 ~ProtoSurfaceMaterial () override=default
 
ProtoSurfaceMaterialoperator= (const ProtoSurfaceMaterial &smproxy)=default
 
ProtoSurfaceMaterialoperator= (ProtoSurfaceMaterial &&smproxy)=default
 
ProtoSurfaceMaterialoperator*= (double scale) final
 
const BinUtilitybinUtility () const
 Return the BinUtility.
 
const MaterialPropertiesmaterialProperties (const Vector2D &lp) const final
 
const MaterialPropertiesmaterialProperties (const Vector3D &gp) const final
 
const MaterialPropertiesmaterialProperties (size_t ib0, size_t ib1) const final
 
std::ostream & toStream (std::ostream &sl) const final
 Output Method for std::ostream, to be overloaded by child classes.
 
- Public Member Functions inherited from Acts::ISurfaceMaterial
 ISurfaceMaterial ()=default
 Constructor.
 
 ISurfaceMaterial (double splitFactor)
 
virtual ~ISurfaceMaterial ()=default
 Destructor.
 
double factor (NavigationDirection pDir, MaterialUpdateStage mStage) const
 
MaterialProperties materialProperties (const Vector2D &lp, NavigationDirection pDir, MaterialUpdateStage mStage) const
 
MaterialProperties materialProperties (const Vector3D &gp, NavigationDirection pDir, MaterialUpdateStage mStage) const
 

Private Attributes

BinUtility m_binUtility
 
MaterialProperties m_materialProperties
 Dummy material properties.
 

Additional Inherited Members

- Protected Attributes inherited from Acts::ISurfaceMaterial
double m_splitFactor {1.}
 the split factor in favour of oppositePre
 

Detailed Description

proxy to SurfaceMaterial hand over BinUtility

The ProtoSurfaceMaterial class acts as a proxy to the SurfaceMaterial to mark the layers and surfaces 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.

Definition at line 24 of file ProtoSurfaceMaterial.hpp.

View newest version in sPHENIX GitHub at line 24 of file ProtoSurfaceMaterial.hpp

Constructor & Destructor Documentation

Acts::ProtoSurfaceMaterial::ProtoSurfaceMaterial ( )
default

Constructor without BinUtility - homogenous material.

Acts::ProtoSurfaceMaterial::ProtoSurfaceMaterial ( const BinUtility binUtility)

Constructor with BinUtility - multidimensional material

Parameters
binUtilitya BinUtility determining the granularity and binning of the material on the surface/layer

Definition at line 11 of file ProtoSurfaceMaterial.cpp.

View newest version in sPHENIX GitHub at line 11 of file ProtoSurfaceMaterial.cpp

Acts::ProtoSurfaceMaterial::ProtoSurfaceMaterial ( const ProtoSurfaceMaterial smproxy)
default

Copy constuctor

Parameters
smproxyThe source proxy
Acts::ProtoSurfaceMaterial::ProtoSurfaceMaterial ( ProtoSurfaceMaterial &&  smproxy)
default

Copy move constuctor

Parameters
smproxyThe source proxy
Acts::ProtoSurfaceMaterial::~ProtoSurfaceMaterial ( )
overridedefault

Destructor

Parameters
smproxyThe source proxy

Member Function Documentation

const Acts::BinUtility & Acts::ProtoSurfaceMaterial::binUtility ( ) const
inline

Return the BinUtility.

Definition at line 124 of file ProtoSurfaceMaterial.hpp.

View newest version in sPHENIX GitHub at line 124 of file ProtoSurfaceMaterial.hpp

const Acts::MaterialProperties & Acts::ProtoSurfaceMaterial::materialProperties ( const Vector2D lp) const
inlinefinalvirtual

Return method for full material description of the Surface - from local coordinates

Parameters
lpis local positioning vector
Returns
will return dummy material

Implements Acts::ISurfaceMaterial.

Definition at line 109 of file ProtoSurfaceMaterial.hpp.

View newest version in sPHENIX GitHub at line 109 of file ProtoSurfaceMaterial.hpp

References m_materialProperties.

const Acts::MaterialProperties & Acts::ProtoSurfaceMaterial::materialProperties ( const Vector3D gp) const
inlinefinalvirtual

Return method for full material description of the Surface - from the global coordinates

Parameters
gpis the global positioning vector
Returns
will return dummy material

Implements Acts::ISurfaceMaterial.

Definition at line 114 of file ProtoSurfaceMaterial.hpp.

View newest version in sPHENIX GitHub at line 114 of file ProtoSurfaceMaterial.hpp

const Acts::MaterialProperties & Acts::ProtoSurfaceMaterial::materialProperties ( size_t  ib0,
size_t  ib1 
) const
inlinefinalvirtual

Direct access via bins to the MaterialProperties

Parameters
ib0indicates the first bin
ib1indicates the seconf bin
Returns
will return dummy material

Implements Acts::ISurfaceMaterial.

Definition at line 119 of file ProtoSurfaceMaterial.hpp.

View newest version in sPHENIX GitHub at line 119 of file ProtoSurfaceMaterial.hpp

Acts::ProtoSurfaceMaterial & Acts::ProtoSurfaceMaterial::operator*= ( double  scale)
finalvirtual

Scale operator

Parameters

Implements Acts::ISurfaceMaterial.

Definition at line 14 of file ProtoSurfaceMaterial.cpp.

View newest version in sPHENIX GitHub at line 14 of file ProtoSurfaceMaterial.cpp

ProtoSurfaceMaterial& Acts::ProtoSurfaceMaterial::operator= ( const ProtoSurfaceMaterial smproxy)
default

Assignment operator

Parameters
smproxyThe source proxy
ProtoSurfaceMaterial& Acts::ProtoSurfaceMaterial::operator= ( ProtoSurfaceMaterial &&  smproxy)
default

Assigment move operator

Parameters
smproxyThe source proxy
std::ostream & Acts::ProtoSurfaceMaterial::toStream ( std::ostream &  sl) const
finalvirtual

Output Method for std::ostream, to be overloaded by child classes.

Implements Acts::ISurfaceMaterial.

Definition at line 19 of file ProtoSurfaceMaterial.cpp.

View newest version in sPHENIX GitHub at line 19 of file ProtoSurfaceMaterial.cpp

Member Data Documentation

BinUtility Acts::ProtoSurfaceMaterial::m_binUtility
private

two dimensional BinUtility determining the granularity and binning of the material on the surface/layer

Definition at line 101 of file ProtoSurfaceMaterial.hpp.

View newest version in sPHENIX GitHub at line 101 of file ProtoSurfaceMaterial.hpp

MaterialProperties Acts::ProtoSurfaceMaterial::m_materialProperties
private

Dummy material properties.

Definition at line 104 of file ProtoSurfaceMaterial.hpp.

View newest version in sPHENIX GitHub at line 104 of file ProtoSurfaceMaterial.hpp

Referenced by materialProperties().


The documentation for this class was generated from the following files: