ATLAS Offline Software
|
#include <BinnedLayerMaterial.h>
Public Member Functions | |
BinnedLayerMaterial () | |
Default Constructor - needed by POOL. More... | |
BinnedLayerMaterial (BinUtility &binutility) | |
Default Constructor for emptly material. More... | |
BinnedLayerMaterial (const Trk::BinUtility &binutility, const MaterialPropertiesVector &fullProperties, double splitFactor=0.) | |
Explizit constructor with only full MaterialProperties, and split factors: More... | |
BinnedLayerMaterial (const Trk::BinUtility &binutility, const MaterialPropertiesMatrix &fullProperties, double splitFactor=0.) | |
Explizit constructor with only full MaterialProperties, and split factors: More... | |
BinnedLayerMaterial (const BinnedLayerMaterial &mprop) | |
Copy Constructor. More... | |
virtual | ~BinnedLayerMaterial () override |
Destructor. More... | |
virtual BinnedLayerMaterial * | clone () const override |
Pseudo-Constructor clone() More... | |
BinnedLayerMaterial & | operator= (const BinnedLayerMaterial &lmp) |
Assignment operator. More... | |
virtual BinnedLayerMaterial & | operator*= (double scale) override |
Scale operator. More... | |
virtual const BinUtility * | binUtility () const override |
Return the BinUtility. More... | |
virtual void | updateBinning (BinUtility *bu) override |
Update the BinUtility if necessary - passing ownership of the utility class. More... | |
const MaterialPropertiesMatrix & | fullMaterial () const |
Return method for full material description of the Layer - for all bins. 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 |
Access the single bin. More... | |
virtual MsgStream & | dump (MsgStream &sl) const override |
Output Method for MsgStream, to be overloaded by child classes. More... | |
virtual std::ostream & | dump (std::ostream &sl) const override |
Output Method for std::ostream, to be overloaded by child classes. More... | |
void | updateElementTable (const SharedObject< 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 MaterialPropertiesMatrix &matMatrix) |
helper method - to refill the material More... | |
Private Attributes | |
BinUtility * | m_binUtility |
the helper for the bin finding More... | |
MaterialPropertiesMatrix | m_fullMaterial |
The five different MaterialProperties. More... | |
Friends | |
class | ::BinnedLayerMaterialCnv_p1 |
It extends the LayerMaterialProperties base class
Definition at line 33 of file BinnedLayerMaterial.h.
Trk::BinnedLayerMaterial::BinnedLayerMaterial | ( | ) |
Trk::BinnedLayerMaterial::BinnedLayerMaterial | ( | Trk::BinUtility & | binutility | ) |
Trk::BinnedLayerMaterial::BinnedLayerMaterial | ( | const Trk::BinUtility & | binutility, |
const MaterialPropertiesVector & | fullProperties, | ||
double | splitFactor = 0. |
||
) |
Explizit constructor with only full MaterialProperties, and split factors:
===> 1 Dimensional array
ATTENTION: Ownership of MaterialProperties objects is given!
Definition at line 32 of file BinnedLayerMaterial.cxx.
Trk::BinnedLayerMaterial::BinnedLayerMaterial | ( | const Trk::BinUtility & | binutility, |
const MaterialPropertiesMatrix & | fullProperties, | ||
double | splitFactor = 0. |
||
) |
Explizit constructor with only full MaterialProperties, and split factors:
===> 2 Dimensional array
ATTENTION: Ownership of MaterialProperties objects is given!
Definition at line 43 of file BinnedLayerMaterial.cxx.
Trk::BinnedLayerMaterial::BinnedLayerMaterial | ( | const BinnedLayerMaterial & | mprop | ) |
|
overridevirtual |
Destructor.
Definition at line 50 of file BinnedLayerMaterial.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.
|
inlineoverridevirtual |
Return the BinUtility.
Implements Trk::LayerMaterialProperties.
Definition at line 121 of file BinnedLayerMaterial.h.
|
private |
|
overridevirtual |
Pseudo-Constructor clone()
Implements Trk::LayerMaterialProperties.
Definition at line 80 of file BinnedLayerMaterial.cxx.
|
overridevirtual |
Output Method for MsgStream, to be overloaded by child classes.
Implements Trk::LayerMaterialProperties.
Definition at line 136 of file BinnedLayerMaterial.cxx.
|
overridevirtual |
Output Method for std::ostream, to be overloaded by child classes.
Implements Trk::LayerMaterialProperties.
Definition at line 159 of file BinnedLayerMaterial.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 124 of file BinnedLayerMaterial.h.
|
overridevirtual |
Return method for full material description of the Layer.
Implements Trk::LayerMaterialProperties.
Definition at line 127 of file BinnedLayerMaterial.cxx.
|
inlineoverridevirtual |
Access the single bin.
Implements Trk::LayerMaterialProperties.
Definition at line 127 of file BinnedLayerMaterial.h.
|
overridevirtual |
Scale operator.
Implements Trk::LayerMaterialProperties.
Definition at line 107 of file BinnedLayerMaterial.cxx.
Trk::BinnedLayerMaterial & Trk::BinnedLayerMaterial::operator= | ( | const BinnedLayerMaterial & | 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.
|
inlineoverridevirtual |
Update the BinUtility if necessary - passing ownership of the utility class.
Implements Trk::LayerMaterialProperties.
Definition at line 132 of file BinnedLayerMaterial.h.
|
inlineinherited |
|
friend |
Definition at line 105 of file BinnedLayerMaterial.h.
|
private |
the helper for the bin finding
Definition at line 107 of file BinnedLayerMaterial.h.
|
private |
The five different MaterialProperties.
Definition at line 110 of file BinnedLayerMaterial.h.
|
protectedinherited |
the split factor in favour of oppositePre
Definition at line 126 of file LayerMaterialProperties.h.