ATLAS Offline Software
SubtractedPlaneSurface.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2020 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 
18 class MsgStream;
19 class Identifier;
20 
21 namespace Trk {
22 
32 {
33 public:
36 
39 
42  const Amg::Transform3D& transf);
43 
46  AreaExcluder* vol,
47  bool shared);
48 
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 
75 protected:
77  bool m_shared;
78 };
79 
80 } // end of namespace
82 #endif // TRKGEOMETRYSURFACES_SUBTRACTEDPLANESURFACE_H
Trk::SubtractedPlaneSurface::insideBounds
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.
AreaExcluder.h
Amg::Vector2D
Eigen::Matrix< double, 2, 1 > Vector2D
Definition: GeoPrimitives.h:48
const
bool const RAWDATA *ch2 const
Definition: LArRodBlockPhysicsV0.cxx:562
GeoPrimitives.h
Trk::SubtractedPlaneSurface
Definition: SubtractedPlaneSurface.h:32
Identifier
Definition: DetectorDescription/Identifier/Identifier/Identifier.h:32
Amg::Transform3D
Eigen::Affine3d Transform3D
Definition: GeoPrimitives.h:46
Trk::SubtractedPlaneSurface::SubtractedPlaneSurface
SubtractedPlaneSurface()
Default Constructor - needed for persistency.
Definition: SubtractedPlaneSurface.cxx:18
Trk::AreaExcluder
Definition: AreaExcluder.h:26
Trk::SubtractedPlaneSurface::operator==
virtual bool operator==(const Surface &sf) const override final
Equality operator.
Definition: SubtractedPlaneSurface.cxx:59
Trk::SubtractedPlaneSurface::name
virtual std::string name() const override final
Return properly formatted class name for screen output.
Definition: SubtractedPlaneSurface.h:70
Trk::SubtractedPlaneSurface::shared
bool shared() const
This method indicates the subtraction mode.
Trk
Ensure that the ATLAS eigen extensions are properly loaded.
Definition: FakeTrackBuilder.h:9
Trk::SubtractedPlaneSurface::operator=
SubtractedPlaneSurface & operator=(const SubtractedPlaneSurface &psf)
Assignment operator.
Definition: SubtractedPlaneSurface.cxx:47
Trk::SubtractedPlaneSurface::~SubtractedPlaneSurface
virtual ~SubtractedPlaneSurface()
Destructor.
Trk::SubtractedPlaneSurface::m_subtrVol
SharedObject< AreaExcluder > m_subtrVol
Definition: SubtractedPlaneSurface.h:76
Trk::SubtractedPlaneSurface::SubtractedPlaneSurface
SubtractedPlaneSurface(const SubtractedPlaneSurface &psf)
Copy Constructor.
Trk::SharedObject
std::shared_ptr< T > SharedObject
Definition: SharedObject.h:24
mapkey::sf
@ sf
Definition: TElectronEfficiencyCorrectionTool.cxx:38
Trk::PlaneSurface
Definition: PlaneSurface.h:64
PlaneSurface.h
Trk::SubtractedPlaneSurface::m_shared
bool m_shared
Definition: SubtractedPlaneSurface.h:77
Trk::SubtractedPlaneSurface::subtractedVolume
SharedObject< AreaExcluder > subtractedVolume() const
This method allows access to the subtracted part.
SubtractedPlaneSurface.icc
Trk::Surface
Definition: Tracking/TrkDetDescr/TrkSurfaces/TrkSurfaces/Surface.h:75