Analysis Software
Documentation for sPHENIX simulation software
|
#include <acts/blob/sPHENIX/Core/include/Acts/Material/BinnedSurfaceMaterial.hpp>
Public Member Functions | |
BinnedSurfaceMaterial ()=delete | |
Default Constructor - deleted. | |
BinnedSurfaceMaterial (const BinUtility &binUtility, MaterialSlabVector fullProperties, double splitFactor=0., MappingType mappingType=MappingType::Default) | |
BinnedSurfaceMaterial (const BinUtility &binUtility, MaterialSlabMatrix fullProperties, double splitFactor=0., MappingType mappingType=MappingType::Default) | |
BinnedSurfaceMaterial (BinnedSurfaceMaterial &&bsm)=default | |
BinnedSurfaceMaterial (const BinnedSurfaceMaterial &bsm)=default | |
BinnedSurfaceMaterial & | operator= (BinnedSurfaceMaterial &&bsm)=default |
Assignment Move operator. | |
BinnedSurfaceMaterial & | operator= (const BinnedSurfaceMaterial &bsm)=default |
Assignment operator. | |
~BinnedSurfaceMaterial () override=default | |
Destructor. | |
BinnedSurfaceMaterial & | operator*= (double scale) final |
const BinUtility & | binUtility () const |
Return the BinUtility. | |
const MaterialSlabMatrix & | fullMaterial () const |
Retrieve the entire material slab matrix. | |
const MaterialSlab & | materialSlab (const Vector2 &lp) const final |
| |
const MaterialSlab & | materialSlab (const Vector3 &gp) const final |
| |
const MaterialSlab & | materialSlab (size_t bin0, size_t bin1) 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 |
The helper for the bin finding. | |
MaterialSlabMatrix | m_fullMaterial |
The five different MaterialSlab. | |
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. | |
It extends the ISurfaceMaterial
base class and is an array pf MaterialSlab. This is not memory optimised as every bin holds one material property object.
Definition at line 28 of file BinnedSurfaceMaterial.hpp.
View newest version in sPHENIX GitHub at line 28 of file BinnedSurfaceMaterial.hpp
|
delete |
Default Constructor - deleted.
Acts::BinnedSurfaceMaterial::BinnedSurfaceMaterial | ( | const BinUtility & | binUtility, |
MaterialSlabVector | fullProperties, | ||
double | splitFactor = 0. , |
||
Acts::MappingType | mappingType = MappingType::Default |
||
) |
Explicit constructor with only full MaterialSlab, for one-dimensional binning.
The split factors:
binUtility | defines the binning structure on the surface (copied) |
fullProperties | is the vector of properties as recorded (moved) |
splitFactor | is the pre/post splitting directive |
mappingType | is the type of surface mapping associated to the surface |
Definition at line 17 of file BinnedSurfaceMaterial.cpp.
View newest version in sPHENIX GitHub at line 17 of file BinnedSurfaceMaterial.cpp
References m_fullMaterial, and testing::internal::move().
Acts::BinnedSurfaceMaterial::BinnedSurfaceMaterial | ( | const BinUtility & | binUtility, |
MaterialSlabMatrix | fullProperties, | ||
double | splitFactor = 0. , |
||
Acts::MappingType | mappingType = MappingType::Default |
||
) |
Explicit constructor with only full MaterialSlab, for two-dimensional binning.
The split factors:
binUtility | defines the binning structure on the surface (copied) |
fullProperties | is the vector of properties as recorded (moved) |
splitFactor | is the pre/post splitting directive |
mappingType | is the type of surface mapping associated to the surface |
Definition at line 25 of file BinnedSurfaceMaterial.cpp.
View newest version in sPHENIX GitHub at line 25 of file BinnedSurfaceMaterial.cpp
|
default |
Copy Move Constructor
bsm | is the source object to be copied |
|
default |
Copy Constructor
bsm | is the source object to be copied |
|
overridedefault |
Destructor.
|
inline |
Return the BinUtility.
Definition at line 117 of file BinnedSurfaceMaterial.hpp.
View newest version in sPHENIX GitHub at line 117 of file BinnedSurfaceMaterial.hpp
References m_binUtility.
Referenced by ActsExamples::RootMaterialWriter::writeMaterial().
|
inline |
Retrieve the entire material slab matrix.
Definition at line 121 of file BinnedSurfaceMaterial.hpp.
View newest version in sPHENIX GitHub at line 121 of file BinnedSurfaceMaterial.hpp
References m_fullMaterial.
|
finalvirtual |
Return method for full material description of the Surface
lp | is the local position used for the (eventual) lookup |
Implements Acts::ISurfaceMaterial.
Definition at line 42 of file BinnedSurfaceMaterial.cpp.
View newest version in sPHENIX GitHub at line 42 of file BinnedSurfaceMaterial.cpp
References physmon_ckf_tracking::u.
|
finalvirtual |
Return method for full material description of the Surface
gp | is the global position used for the (eventual) lookup |
Implements Acts::ISurfaceMaterial.
Definition at line 50 of file BinnedSurfaceMaterial.cpp.
View newest version in sPHENIX GitHub at line 50 of file BinnedSurfaceMaterial.cpp
References physmon_ckf_tracking::u.
|
inlinefinalvirtual |
Direct access via bins to the MaterialSlab
bin0 | is the material bin in dimension 0 |
bin1 | is the material bin in dimension 1 |
Implements Acts::ISurfaceMaterial.
Definition at line 125 of file BinnedSurfaceMaterial.hpp.
View newest version in sPHENIX GitHub at line 125 of file BinnedSurfaceMaterial.hpp
References m_fullMaterial.
|
finalvirtual |
Scale operator
scale | is the scale factor for the full material |
Implements Acts::ISurfaceMaterial.
Definition at line 32 of file BinnedSurfaceMaterial.cpp.
View newest version in sPHENIX GitHub at line 32 of file BinnedSurfaceMaterial.cpp
|
default |
Assignment Move operator.
|
default |
Assignment operator.
|
finalvirtual |
Output Method for std::ostream, to be overloaded by child classes.
Implements Acts::ISurfaceMaterial.
Definition at line 58 of file BinnedSurfaceMaterial.cpp.
View newest version in sPHENIX GitHub at line 58 of file BinnedSurfaceMaterial.cpp
|
private |
The helper for the bin finding.
Definition at line 111 of file BinnedSurfaceMaterial.hpp.
View newest version in sPHENIX GitHub at line 111 of file BinnedSurfaceMaterial.hpp
Referenced by binUtility().
|
private |
The five different MaterialSlab.
Definition at line 114 of file BinnedSurfaceMaterial.hpp.
View newest version in sPHENIX GitHub at line 114 of file BinnedSurfaceMaterial.hpp
Referenced by BinnedSurfaceMaterial(), fullMaterial(), and materialSlab().