2 Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
5 ///////////////////////////////////////////////////////////////////
6 // BoundarySubtractedPlaneSurface.icc, (c) ATLAS Detector software
7 ///////////////////////////////////////////////////////////////////
11 BoundarySubtractedPlaneSurface<Tvol>::surfaceRepresentation() const
18 BoundarySubtractedPlaneSurface<Tvol>::surfaceRepresentation()
25 BoundarySubtractedPlaneSurface<Tvol>::attachedVolume(
26 const TrackParameters& parms,
27 PropDirection dir) const
29 const Tvol* attVolume = nullptr;
30 if ((this->surfaceRepresentation().normal()).dot(dir * parms.momentum()) >
32 attVolume = BoundarySurface<Tvol>::m_outsideVolume;
33 if (BoundarySurface<Tvol>::m_outsideVolumeArray.get()) {
34 attVolume = BoundarySurface<Tvol>::m_outsideVolumeArray.get()->object(
35 parms.localPosition());
38 attVolume = BoundarySurface<Tvol>::m_insideVolume;
39 if (BoundarySurface<Tvol>::m_insideVolumeArray.get()) {
40 attVolume = BoundarySurface<Tvol>::m_insideVolumeArray.get()->object(
41 parms.localPosition());
49 BoundarySubtractedPlaneSurface<Tvol>::attachedVolume(const Amg::Vector3D& pos,
50 const Amg::Vector3D& mom,
51 PropDirection dir) const
53 const Tvol* attVolume = nullptr;
54 if ((this->surfaceRepresentation().normal()).dot(dir * mom) > 0.) {
55 attVolume = BoundarySurface<Tvol>::m_outsideVolume;
56 if (BoundarySurface<Tvol>::m_outsideVolumeArray.get()) {
58 BoundarySurface<Tvol>::m_outsideVolumeArray.get()->object(pos);
61 attVolume = BoundarySurface<Tvol>::m_insideVolume;
62 if (BoundarySurface<Tvol>::m_insideVolumeArray.get()) {
63 attVolume = BoundarySurface<Tvol>::m_insideVolumeArray.get()->object(pos);