2 Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
7 inline MaterialEffectsBase::MaterialEffectsBase()
8 : SurfacePtrHolderDetEl(nullptr)
14 inline MaterialEffectsBase::MaterialEffectsBase(
17 const std::bitset<Trk::MaterialEffectsBase::NumberOfMaterialEffectsTypes>&
19 : SurfacePtrHolderDetEl(sf)
21 , m_typeFlags(typePattern.to_ulong())
25 inline const Trk::Surface&
26 Trk::MaterialEffectsBase::associatedSurface() const
28 return *m_associatedSurface;
32 Trk::MaterialEffectsBase::setValues(const Trk::Surface* assocSurface)
34 m_associatedSurface = assocSurface;
38 Trk::MaterialEffectsBase::thicknessInX0() const
44 Trk::MaterialEffectsBase::type(
45 const Trk::MaterialEffectsBase::MaterialEffectsType& type) const
47 if (type == NumberOfMaterialEffectsTypes) {
50 return ((1 << static_cast<int>(type)) & m_typeFlags) != 0;