Analysis Software
Documentation for sPHENIX simulation 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/sPHENIX/Core/include/Acts/Material/ProtoSurfaceMaterial.hpp>

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

Public Member Functions

 ProtoSurfaceMaterial ()=default
 Constructor without BinUtility - homogeneous material.
 
 ProtoSurfaceMaterial (const BinUtility &binUtility, MappingType mappingType=MappingType::Default)
 
 ProtoSurfaceMaterial (const ProtoSurfaceMaterial &smproxy)=default
 
 ProtoSurfaceMaterial (ProtoSurfaceMaterial &&smproxy)=default
 
 ~ProtoSurfaceMaterial () override=default
 Destructor.
 
ProtoSurfaceMaterialoperator= (const ProtoSurfaceMaterial &smproxy)=default
 
ProtoSurfaceMaterialoperator= (ProtoSurfaceMaterial &&smproxy)=default
 
ProtoSurfaceMaterialoperator*= (double scale) final
 
const BinUtilitybinUtility () const
 Return the BinUtility.
 
const MaterialSlabmaterialSlab (const Vector2 &lp) const final
 
const MaterialSlabmaterialSlab (const Vector3 &gp) const final
 
const MaterialSlabmaterialSlab (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)
 
 ISurfaceMaterial (double splitFactor, Acts::MappingType mappingType)
 
virtual ~ISurfaceMaterial ()=default
 Destructor.
 
double factor (Direction pDir, MaterialUpdateStage mStage) const
 
MappingType mappingType () const
 
MaterialSlab materialSlab (const Vector2 &lp, Direction pDir, MaterialUpdateStage mStage) const
 
MaterialSlab materialSlab (const Vector3 &gp, Direction pDir, MaterialUpdateStage mStage) const
 

Private Attributes

BinUtility m_binUtility
 
MaterialSlab m_materialSlab
 Dummy material properties.
 

Additional Inherited Members

- Protected Attributes inherited from Acts::ISurfaceMaterial
double m_splitFactor {1.}
 the split factor in favour of oppositePre
 
MappingType m_mappingType
 Use the default mapping type by default.
 

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 30 of file ProtoSurfaceMaterial.hpp.

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

Constructor & Destructor Documentation

Acts::ProtoSurfaceMaterial::ProtoSurfaceMaterial ( )
default

Constructor without BinUtility - homogeneous material.

Acts::ProtoSurfaceMaterial::ProtoSurfaceMaterial ( const BinUtility binUtility,
Acts::MappingType  mappingType = MappingType::Default 
)

Constructor with BinUtility - multidimensional material

Parameters
binUtilitya BinUtility determining the granularity and binning of the material on the surface/layer
mappingTypeis the type of surface mapping associated to the surface

Definition at line 13 of file ProtoSurfaceMaterial.cpp.

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

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

Copy constructor

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

Copy move constructor

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

Destructor.

Member Function Documentation

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

Return the BinUtility.

Definition at line 128 of file ProtoSurfaceMaterial.hpp.

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

const Acts::MaterialSlab & Acts::ProtoSurfaceMaterial::materialSlab ( const Vector2 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 113 of file ProtoSurfaceMaterial.hpp.

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

References m_materialSlab.

const Acts::MaterialSlab & Acts::ProtoSurfaceMaterial::materialSlab ( const Vector3 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 118 of file ProtoSurfaceMaterial.hpp.

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

const Acts::MaterialSlab & Acts::ProtoSurfaceMaterial::materialSlab ( size_t  ib0,
size_t  ib1 
) const
inlinefinalvirtual

Direct access via bins to the MaterialSlab

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

Implements Acts::ISurfaceMaterial.

Definition at line 123 of file ProtoSurfaceMaterial.hpp.

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

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

Scale operator

Parameters
scaleThe value to scale this material by

Implements Acts::ISurfaceMaterial.

Definition at line 17 of file ProtoSurfaceMaterial.cpp.

View newest version in sPHENIX GitHub at line 17 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

Assignment 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 22 of file ProtoSurfaceMaterial.cpp.

View newest version in sPHENIX GitHub at line 22 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 106 of file ProtoSurfaceMaterial.hpp.

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

MaterialSlab Acts::ProtoSurfaceMaterial::m_materialSlab
private

Dummy material properties.

Definition at line 109 of file ProtoSurfaceMaterial.hpp.

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

Referenced by materialSlab().


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