Analysis Software
Documentation for sPHENIX simulation software
|
proxy to SurfaceMaterial hand over BinUtility More...
#include <acts/blob/sPHENIX/Core/include/Acts/Material/ProtoSurfaceMaterial.hpp>
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. | |
ProtoSurfaceMaterial & | operator= (const ProtoSurfaceMaterial &smproxy)=default |
ProtoSurfaceMaterial & | operator= (ProtoSurfaceMaterial &&smproxy)=default |
ProtoSurfaceMaterial & | operator*= (double scale) final |
const BinUtility & | binUtility () const |
Return the BinUtility. | |
const MaterialSlab & | materialSlab (const Vector2 &lp) const final |
const MaterialSlab & | materialSlab (const Vector3 &gp) const final |
const MaterialSlab & | materialSlab (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. | |
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
|
default |
Constructor without BinUtility - homogeneous material.
Acts::ProtoSurfaceMaterial::ProtoSurfaceMaterial | ( | const BinUtility & | binUtility, |
Acts::MappingType | mappingType = MappingType::Default |
||
) |
Constructor with BinUtility - multidimensional material
binUtility | a BinUtility determining the granularity and binning of the material on the surface/layer |
mappingType | is 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
|
default |
Copy constructor
smproxy | The source proxy |
|
default |
Copy move constructor
smproxy | The source proxy |
|
overridedefault |
Destructor.
|
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
|
inlinefinalvirtual |
Return method for full material description of the Surface - from local coordinates
lp | is local positioning vector |
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.
|
inlinefinalvirtual |
Return method for full material description of the Surface - from the global coordinates
gp | is the global positioning vector |
Implements Acts::ISurfaceMaterial.
Definition at line 118 of file ProtoSurfaceMaterial.hpp.
View newest version in sPHENIX GitHub at line 118 of file ProtoSurfaceMaterial.hpp
|
inlinefinalvirtual |
Direct access via bins to the MaterialSlab
ib0 | indicates the first bin |
ib1 | indicates the second bin |
Implements Acts::ISurfaceMaterial.
Definition at line 123 of file ProtoSurfaceMaterial.hpp.
View newest version in sPHENIX GitHub at line 123 of file ProtoSurfaceMaterial.hpp
|
finalvirtual |
Scale operator
scale | The 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
|
default |
Assignment operator
smproxy | The source proxy |
|
default |
Assignment move operator
smproxy | The source proxy |
|
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
|
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
|
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().