2 Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
5 ///////////////////////////////////////////////////////////////////
6 // BoundaryDiscSurface.icc, (c) ATLAS Detector software
7 ///////////////////////////////////////////////////////////////////
11 BoundaryDiscSurface<Tvol>::surfaceRepresentation() const
17 BoundaryDiscSurface<Tvol>::surfaceRepresentation()
24 BoundaryDiscSurface<Tvol>::attachedVolume(const TrackParameters& parms,
25 PropDirection dir) const
27 const Tvol* attVolume = nullptr;
28 if ((this->surfaceRepresentation().normal()).dot(dir * parms.momentum()) >
30 attVolume = BoundarySurface<Tvol>::m_outsideVolume;
31 if (BoundarySurface<Tvol>::m_outsideVolumeArray.get()) {
32 attVolume = BoundarySurface<Tvol>::m_outsideVolumeArray.get()->object(
36 attVolume = BoundarySurface<Tvol>::m_insideVolume;
37 if (BoundarySurface<Tvol>::m_insideVolumeArray.get()) {
38 attVolume = BoundarySurface<Tvol>::m_insideVolumeArray.get()->object(
47 BoundaryDiscSurface<Tvol>::attachedVolume(const Amg::Vector3D& pos,
48 const Amg::Vector3D& mom,
49 PropDirection dir) const
51 const Tvol* attVolume = nullptr;
52 if ((this->surfaceRepresentation().normal()).dot(dir * mom) > 0.) {
53 attVolume = BoundarySurface<Tvol>::m_outsideVolume;
54 if (BoundarySurface<Tvol>::m_outsideVolumeArray.get()) {
56 BoundarySurface<Tvol>::m_outsideVolumeArray.get()->object(pos);
59 attVolume = BoundarySurface<Tvol>::m_insideVolume;
60 if (BoundarySurface<Tvol>::m_insideVolumeArray.get()) {
61 attVolume = BoundarySurface<Tvol>::m_insideVolumeArray.get()->object(pos);