ATLAS Offline Software
Loading...
Searching...
No Matches
SubtractedPlaneSurface.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration
3*/
4
6// SubtractedPlaneSurface.h, (c) ATLAS Detector software
8
9#ifndef TRKGEOMETRYSURFACES_SUBTRACTEDPLANESURFACE_H
10#define TRKGEOMETRYSURFACES_SUBTRACTEDPLANESURFACE_H
11
12// Trk
15// Geometry & Maths
17
18class MsgStream;
19class Identifier;
20
21namespace Trk {
22
30
32{
33public:
38 virtual ~SubtractedPlaneSurface() = default;
39
42
45 const Amg::Transform3D& transf);
46
49 std::shared_ptr<const AreaExcluder> vol,
50 bool shared);
51
54
56 virtual bool operator==(const Surface& sf) const override final;
57
59 bool shared() const;
60
62 virtual bool insideBounds(const Amg::Vector2D& locpos,
63 double tol1 = 0.,
64 double tol2 = 0.) const override final;
65
68
70 virtual std::string name() const override final
71 {
72 return "Trk::SubtractedPlaneSurface";
73 }
74
75protected:
76 std::shared_ptr<const AreaExcluder> m_subtrVol;
77 bool m_shared{true};
78};
79
80} // end of namespace
82#endif // TRKGEOMETRYSURFACES_SUBTRACTEDPLANESURFACE_H
Pure abstract base class.
PlaneSurface()
Default Constructor - needed for persistency.
bool shared() const
This method indicates the subtraction mode.
SubtractedPlaneSurface(const SubtractedPlaneSurface &psf)
Copy Constructor.
virtual std::string name() const override final
Return properly formatted class name for screen output.
SubtractedPlaneSurface & operator=(const SubtractedPlaneSurface &psf)
Assignment operator.
SubtractedPlaneSurface(SubtractedPlaneSurface &&)=default
virtual bool insideBounds(const Amg::Vector2D &locpos, double tol1=0., double tol2=0.) const override final
This method calls the inside() method of the Bounds.
SubtractedPlaneSurface()=default
Defaults.
virtual ~SubtractedPlaneSurface()=default
const AreaExcluder * subtractedVolume() const
This method allows access to the subtracted part.
std::shared_ptr< const AreaExcluder > m_subtrVol
virtual bool operator==(const Surface &sf) const override final
Equality operator.
SubtractedPlaneSurface & operator=(SubtractedPlaneSurface &&)=default
Abstract Base Class for tracking surfaces.
Eigen::Affine3d Transform3D
Eigen::Matrix< double, 2, 1 > Vector2D
Ensure that the ATLAS eigen extensions are properly loaded.
STL namespace.