ATLAS Offline Software
SubtractedCylinderSurface.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 // SubtractedCylinderSurface.h, (c) ATLAS Detector software
8 
9 #ifndef TRKGEOMETRYSURFACES_SUBTRACTEDCYLINDERSURFACE_H
10 #define TRKGEOMETRYSURFACES_SUBTRACTEDCYLINDERSURFACE_H
11 
12 // Trk
16 // Geometry & Math
18 
19 class MsgStream;
20 class Identifier;
21 
22 namespace Trk {
23 
33 {
34 public:
37 
40 
43  const Amg::Transform3D& transf);
44 
47  AreaExcluder* vol,
48  bool shared);
49 
52 
55 
57  virtual bool operator==(const Surface& sf) const override final;
58 
60  bool shared() const;
61 
63  virtual bool insideBounds(const Amg::Vector2D& locpos,
64  double tol1 = 0.,
65  double tol2 = 0.) const override final;
66 
69 
71  virtual std::string name() const override final
72  {
73  return "Trk::SubtractedCylinderSurface";
74  }
75 
76 protected:
78  bool m_shared;
79 };
80 } // end of namespace
81 
83 #endif // TRKGEOMETRYSURFACES_SUBTRACTEDCYLINDERSURFACE_H
Trk::SubtractedCylinderSurface::m_shared
bool m_shared
Definition: SubtractedCylinderSurface.h:78
Trk::SubtractedCylinderSurface::shared
bool shared() const
This method indicates the subtraction mode.
Trk::SubtractedCylinderSurface::SubtractedCylinderSurface
SubtractedCylinderSurface(const SubtractedCylinderSurface &psf)
Copy Constructor.
AreaExcluder.h
Trk::SubtractedCylinderSurface::~SubtractedCylinderSurface
virtual ~SubtractedCylinderSurface()
Destructor.
Trk::SubtractedCylinderSurface
Definition: SubtractedCylinderSurface.h:33
Amg::Vector2D
Eigen::Matrix< double, 2, 1 > Vector2D
Definition: GeoPrimitives.h:48
Trk::SubtractedCylinderSurface::operator=
SubtractedCylinderSurface & operator=(const SubtractedCylinderSurface &psf)
Assignment operator.
Definition: SubtractedCylinderSurface.cxx:48
const
bool const RAWDATA *ch2 const
Definition: LArRodBlockPhysicsV0.cxx:562
ParamDefs.h
GeoPrimitives.h
Trk::SubtractedCylinderSurface::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.
SubtractedCylinderSurface.icc
Identifier
Definition: DetectorDescription/Identifier/Identifier/Identifier.h:32
Trk::CylinderSurface
Definition: CylinderSurface.h:55
Amg::Transform3D
Eigen::Affine3d Transform3D
Definition: GeoPrimitives.h:46
CylinderSurface.h
Trk::AreaExcluder
Definition: AreaExcluder.h:26
Trk::SubtractedCylinderSurface::SubtractedCylinderSurface
SubtractedCylinderSurface()
Default Constructor - needed for persistency.
Definition: SubtractedCylinderSurface.cxx:16
Trk::SubtractedCylinderSurface::operator==
virtual bool operator==(const Surface &sf) const override final
Equality operator.
Definition: SubtractedCylinderSurface.cxx:60
Trk::SubtractedCylinderSurface::m_subtrVol
SharedObject< AreaExcluder > m_subtrVol
Definition: SubtractedCylinderSurface.h:77
Trk::SubtractedCylinderSurface::name
virtual std::string name() const override final
Return properly formatted class name for screen output.
Definition: SubtractedCylinderSurface.h:71
Trk
Ensure that the ATLAS eigen extensions are properly loaded.
Definition: FakeTrackBuilder.h:9
Trk::SharedObject
std::shared_ptr< T > SharedObject
Definition: SharedObject.h:24
mapkey::sf
@ sf
Definition: TElectronEfficiencyCorrectionTool.cxx:38
Trk::Surface
Definition: Tracking/TrkDetDescr/TrkSurfaces/TrkSurfaces/Surface.h:75
Trk::SubtractedCylinderSurface::subtractedVolume
SharedObject< AreaExcluder > subtractedVolume() const
This method allows access to the subtracted part.