|
ATLAS Offline Software
|
Go to the documentation of this file.
21 auto binUtility = std::make_unique<Trk::BinUtility>();
33 transObj->
m_fullMaterial = std::vector< std::vector<const Trk::MaterialProperties*> >(matrixOuterDim, std::vector< const Trk::MaterialProperties* >(matrixInnerDim,
nullptr) );
34 for (
size_t iod = 0; iod < matrixOuterDim; ++iod )
35 for (
size_t iid = 0; iid < matrixInnerDim; ++iid) {
68 for (
size_t iod = 0; iod < matrixOuterDim; ++iod )
69 for (
size_t iid = 0; iid < matrixInnerDim; ++iid)
virtual void persToTrans(const Trk::BinUtility_p1 *persObj, Trk::BinUtility *transObj, MsgStream &log)
size_t max(size_t ba=0) const
First bin maximal value.
virtual void updateBinning(BinUtility *bu) override
Update the BinUtility if necessary - passing ownership of the utility class.
float thicknessInX0() const
Return the radiationlength fraction.
std::vector< TPObjRef > materialMatrix
double m_splitFactor
the split factor in favour of oppositePre
BinUtility * m_binUtility
the helper for the bin finding
BinUtilityCnv_p1 m_gBinUtilityCnv
MaterialPropertiesMatrix m_fullMaterial
The five different MaterialProperties.
TPObjRef toPersistent(CNV **cnv, const typename CNV::TransBase_t *transObj, MsgStream &log) const
Persistify an object and store the persistent represenation in the storage vector of the top-level pe...
virtual const BinUtility * binUtility() const override
Return the BinUtility.
void persToTrans(const Trk::BinnedLayerMaterial_p1 *, Trk::BinnedLayerMaterial *, MsgStream &)
void transToPers(const Trk::BinnedLayerMaterial *, Trk::BinnedLayerMaterial_p1 *, MsgStream &)
float averageZ() const
Returns the average Z of the material.
virtual void transToPers(const Trk::BinUtility *transObj, Trk::BinUtility_p1 *persObj, MsgStream &log)
CNV::Trans_t * createTransFromPStore(CNV **cnv, const TPObjRef &ref, MsgStream &log) const
Create transient representation of a persistent object, stored in the the top-level persistent object...