![]() |
ATLAS Offline Software
|
#include <CompressedLayerMaterial.h>
Public Member Functions | |
| CompressedLayerMaterial () | |
| Default Constructor - needed by POOL. More... | |
| CompressedLayerMaterial (BinUtility &binutility) | |
| Default Constructor for emptly material. More... | |
| CompressedLayerMaterial (const Trk::BinUtility &binutility, const MaterialPropertiesVector &fullProperties, const std::vector< unsigned short int > &materialIndices, double splitFactor=0.) | |
| Explizit constructor with only full MaterialProperties, and split factors: More... | |
| CompressedLayerMaterial (std::unique_ptr< Trk::BinUtility > binutility, const MaterialPropertiesVector &&fullProperties, const std::vector< unsigned short int > &materialIndices, double splitFactor=0.) | |
| CompressedLayerMaterial (const CompressedLayerMaterial &mprop) | |
| Copy Constructor. More... | |
| virtual | ~CompressedLayerMaterial () override |
| Destructor. More... | |
| virtual CompressedLayerMaterial * | clone () const override final |
| Pseudo-Constructor clone() More... | |
| CompressedLayerMaterial & | operator= (const CompressedLayerMaterial &lmp) |
| Assignment operator. More... | |
| virtual CompressedLayerMaterial & | operator*= (double scale) override final |
| Scale operator. More... | |
| virtual const BinUtility * | binUtility () const override final |
| Return the BinUtility. More... | |
| virtual void | updateBinning (BinUtility *bu) override final |
| Update the BinUtility if necessary - passing ownership of the utility class. More... | |
| const MaterialPropertiesVector & | fullMaterial () const |
| Return method for full material description of the Layer - for all bins. More... | |
| const std::vector< unsigned short int > & | materialBins () const |
| Return method for index vector, needs BinUtility to interpret this. More... | |
| virtual const MaterialProperties * | fullMaterial (const Amg::Vector3D &gp) const override |
| Return method for full material description of the Layer. More... | |
| virtual const MaterialProperties * | material (size_t bin0, size_t bin1) const override final |
| Access the single bin. More... | |
| virtual MsgStream & | dump (MsgStream &sl) const override final |
| Output Method for MsgStream, to be overloaded by child classes. More... | |
| virtual std::ostream & | dump (std::ostream &sl) const override final |
| Output Method for std::ostream, to be overloaded by child classes. More... | |
| void | updateElementTable (const std::shared_ptr< const ElementTable > &) const |
| Update the ElementTable. More... | |
| const ElementTable * | elementTable () const |
| Get the ElementTable. More... | |
| double | factor (PropDirection pDir, MaterialUpdateStage mStage) const |
| Update pre factor. More... | |
| double | alongPreFactor () const |
| Return method for pre update material description of the Layer along normalvector. More... | |
| double | alongPostFactor () const |
| Return method for post update material description of the Layer along normalvector. More... | |
| double | oppositePreFactor () const |
| Return method for pre update material description of the Layer along normalvector. More... | |
| double | oppositePostFactor () const |
| Return method for post update material description of the Layer along normalvector. More... | |
Protected Attributes | |
| double | m_splitFactor |
| the split factor in favour of oppositePre More... | |
Private Member Functions | |
| void | clearMaterial () |
| helper method - to clear the material More... | |
| void | fillMaterial (const MaterialPropertiesVector &matVector) |
| helper method - to refill the material More... | |
Private Attributes | |
| BinUtility * | m_binUtility |
| the helper for the bin finding More... | |
| MaterialPropertiesVector | m_fullMaterial |
| The five different MaterialProperties. More... | |
| std::vector< unsigned short int > | m_materialBins |
It extends the LayerMaterialProperties base class
Definition at line 31 of file CompressedLayerMaterial.h.
| Trk::CompressedLayerMaterial::CompressedLayerMaterial | ( | ) |
| Trk::CompressedLayerMaterial::CompressedLayerMaterial | ( | Trk::BinUtility & | binutility | ) |
| Trk::CompressedLayerMaterial::CompressedLayerMaterial | ( | const Trk::BinUtility & | binutility, |
| const MaterialPropertiesVector & | fullProperties, | ||
| const std::vector< unsigned short int > & | materialIndices, | ||
| double | splitFactor = 0. |
||
| ) |
Explizit constructor with only full MaterialProperties, and split factors:
===> 1 Dimensional array, 1 dimensional indices ( can represent 2-dim indices)
ATTENTION: Ownership of MaterialProperties objects is given!
Definition at line 20 of file CompressedLayerMaterial.cxx.
| Trk::CompressedLayerMaterial::CompressedLayerMaterial | ( | std::unique_ptr< Trk::BinUtility > | binutility, |
| const MaterialPropertiesVector && | fullProperties, | ||
| const std::vector< unsigned short int > & | materialIndices, | ||
| double | splitFactor = 0. |
||
| ) |
Definition at line 29 of file CompressedLayerMaterial.cxx.
| Trk::CompressedLayerMaterial::CompressedLayerMaterial | ( | const CompressedLayerMaterial & | mprop | ) |
|
overridevirtual |
Destructor.
Definition at line 38 of file CompressedLayerMaterial.cxx.
|
inlineinherited |
Return method for post update material description of the Layer along normalvector.
Definition at line 142 of file LayerMaterialProperties.h.
|
inlineinherited |
Return method for pre update material description of the Layer along normalvector.
inline return methods for the pre/post factors
Definition at line 138 of file LayerMaterialProperties.h.
|
inlinefinaloverridevirtual |
Return the BinUtility.
Implements Trk::LayerMaterialProperties.
Definition at line 116 of file CompressedLayerMaterial.h.
|
private |
|
finaloverridevirtual |
Pseudo-Constructor clone()
Implements Trk::LayerMaterialProperties.
Definition at line 70 of file CompressedLayerMaterial.cxx.
|
finaloverridevirtual |
Output Method for MsgStream, to be overloaded by child classes.
Implements Trk::LayerMaterialProperties.
Definition at line 118 of file CompressedLayerMaterial.cxx.
|
finaloverridevirtual |
Output Method for std::ostream, to be overloaded by child classes.
Implements Trk::LayerMaterialProperties.
Definition at line 135 of file CompressedLayerMaterial.cxx.
|
inlineinherited |
Get the ElementTable.
Definition at line 90 of file LayerMaterialProperties.h.
|
inlineinherited |
Update pre factor.
inline return methods for the pre/post factors
Definition at line 130 of file LayerMaterialProperties.h.
|
private |
|
inline |
Return method for full material description of the Layer - for all bins.
Definition at line 120 of file CompressedLayerMaterial.h.
|
overridevirtual |
Return method for full material description of the Layer.
Implements Trk::LayerMaterialProperties.
Definition at line 107 of file CompressedLayerMaterial.cxx.
|
inlinefinaloverridevirtual |
Access the single bin.
Implements Trk::LayerMaterialProperties.
Definition at line 130 of file CompressedLayerMaterial.h.
|
inline |
Return method for index vector, needs BinUtility to interpret this.
Definition at line 126 of file CompressedLayerMaterial.h.
|
finaloverridevirtual |
Scale operator.
Implements Trk::LayerMaterialProperties.
Definition at line 89 of file CompressedLayerMaterial.cxx.
| Trk::CompressedLayerMaterial & Trk::CompressedLayerMaterial::operator= | ( | const CompressedLayerMaterial & | lmp | ) |
|
inlineinherited |
Return method for post update material description of the Layer along normalvector.
Definition at line 150 of file LayerMaterialProperties.h.
|
inlineinherited |
Return method for pre update material description of the Layer along normalvector.
Definition at line 146 of file LayerMaterialProperties.h.
|
inlinefinaloverridevirtual |
Update the BinUtility if necessary - passing ownership of the utility class.
Implements Trk::LayerMaterialProperties.
Definition at line 141 of file CompressedLayerMaterial.h.
|
inlineinherited |
|
private |
the helper for the bin finding
Definition at line 103 of file CompressedLayerMaterial.h.
|
private |
The five different MaterialProperties.
Definition at line 106 of file CompressedLayerMaterial.h.
|
private |
Definition at line 107 of file CompressedLayerMaterial.h.
|
protectedinherited |
the split factor in favour of oppositePre
Definition at line 126 of file LayerMaterialProperties.h.
1.8.18