EIC Software
Reference for
EIC
simulation and reconstruction software on GitHub
|
#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.) | |
BinnedSurfaceMaterial (const BinUtility &binUtility, MaterialSlabMatrix fullProperties, double splitFactor=0.) | |
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 |
| |
const MaterialSlab & | materialSlab (const Vector2D &lp) const final |
| |
const MaterialSlab & | materialSlab (const Vector3D &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) | |
virtual | ~ISurfaceMaterial ()=default |
Destructor. | |
double | factor (NavigationDirection pDir, MaterialUpdateStage mStage) const |
MaterialSlab | materialSlab (const Vector2D &lp, NavigationDirection pDir, MaterialUpdateStage mStage) const |
MaterialSlab | materialSlab (const Vector3D &gp, NavigationDirection 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 | |
It extends the SurfaceMaterial base class and is an array pf MaterialSlab. This is not memory optimised as every bin holds one material property object.
Definition at line 23 of file BinnedSurfaceMaterial.hpp.
View newest version in sPHENIX GitHub at line 23 of file BinnedSurfaceMaterial.hpp
|
delete |
Default Constructor - deleted.
Acts::BinnedSurfaceMaterial::BinnedSurfaceMaterial | ( | const BinUtility & | binUtility, |
MaterialSlabVector | fullProperties, | ||
double | splitFactor = 0. |
||
) |
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 |
Definition at line 13 of file BinnedSurfaceMaterial.cpp.
View newest version in sPHENIX GitHub at line 13 of file BinnedSurfaceMaterial.cpp
References m_fullMaterial.
Acts::BinnedSurfaceMaterial::BinnedSurfaceMaterial | ( | const BinUtility & | binUtility, |
MaterialSlabMatrix | fullProperties, | ||
double | splitFactor = 0. |
||
) |
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 |
Definition at line 21 of file BinnedSurfaceMaterial.cpp.
View newest version in sPHENIX GitHub at line 21 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 108 of file BinnedSurfaceMaterial.hpp.
View newest version in sPHENIX GitHub at line 108 of file BinnedSurfaceMaterial.hpp
References m_binUtility.
Referenced by ActsExamples::RootMaterialWriter::write().
|
inline |
Definition at line 112 of file BinnedSurfaceMaterial.hpp.
View newest version in sPHENIX GitHub at line 112 of file BinnedSurfaceMaterial.hpp
References m_fullMaterial.
|
finalvirtual |
Implements Acts::ISurfaceMaterial.
Definition at line 38 of file BinnedSurfaceMaterial.cpp.
View newest version in sPHENIX GitHub at line 38 of file BinnedSurfaceMaterial.cpp
References Acts::UnitConstants::u.
|
finalvirtual |
Implements Acts::ISurfaceMaterial.
Definition at line 46 of file BinnedSurfaceMaterial.cpp.
View newest version in sPHENIX GitHub at line 46 of file BinnedSurfaceMaterial.cpp
References Acts::UnitConstants::u.
|
inlinefinalvirtual |
Implements Acts::ISurfaceMaterial.
Definition at line 116 of file BinnedSurfaceMaterial.hpp.
View newest version in sPHENIX GitHub at line 116 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 28 of file BinnedSurfaceMaterial.cpp.
View newest version in sPHENIX GitHub at line 28 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 54 of file BinnedSurfaceMaterial.cpp.
View newest version in sPHENIX GitHub at line 54 of file BinnedSurfaceMaterial.cpp
|
private |
The helper for the bin finding.
Definition at line 102 of file BinnedSurfaceMaterial.hpp.
View newest version in sPHENIX GitHub at line 102 of file BinnedSurfaceMaterial.hpp
Referenced by binUtility().
|
private |
The five different MaterialSlab.
Definition at line 105 of file BinnedSurfaceMaterial.hpp.
View newest version in sPHENIX GitHub at line 105 of file BinnedSurfaceMaterial.hpp
Referenced by BinnedSurfaceMaterial(), fullMaterial(), and materialSlab().