ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Tracking
TrkDetDescr
TrkGeometrySurfaces
TrkGeometrySurfaces
SubtractedCylinderSurface.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
// SubtractedCylinderSurface.h, (c) ATLAS Detector software
8
9
#ifndef TRKGEOMETRYSURFACES_SUBTRACTEDCYLINDERSURFACE_H
10
#define TRKGEOMETRYSURFACES_SUBTRACTEDCYLINDERSURFACE_H
11
12
// Trk
13
#include "
TrkDetDescrUtils/AreaExcluder.h
"
14
#include "
TrkEventPrimitives/ParamDefs.h
"
15
#include "
TrkSurfaces/CylinderSurface.h
"
16
// Geometry & Math
17
#include "
GeoPrimitives/GeoPrimitives.h
"
18
19
class
MsgStream;
20
class
Identifier
;
21
22
namespace
Trk
{
23
31
32
class
SubtractedCylinderSurface
:
public
CylinderSurface
33
{
34
public
:
36
SubtractedCylinderSurface
() =
default
;
37
SubtractedCylinderSurface
(
SubtractedCylinderSurface
&&) =
default
;
38
SubtractedCylinderSurface
&
operator=
(
SubtractedCylinderSurface
&&) =
default
;
39
virtual
~SubtractedCylinderSurface
() =
default
;
40
42
SubtractedCylinderSurface
(
const
CylinderSurface
& cs,
43
std::shared_ptr<const AreaExcluder> vol,
44
bool
shared
);
45
47
SubtractedCylinderSurface
(
const
SubtractedCylinderSurface
& psf);
49
SubtractedCylinderSurface
(
const
SubtractedCylinderSurface
& psf,
50
const
Amg::Transform3D
& transf);
52
SubtractedCylinderSurface
&
operator=
(
const
SubtractedCylinderSurface
& psf);
53
55
virtual
bool
operator==
(
const
Surface
& sf)
const
override
final
;
56
58
bool
shared
()
const
;
59
61
virtual
bool
insideBounds
(
const
Amg::Vector2D
& locpos,
62
double
tol1 = 0.,
63
double
tol2 = 0.)
const
override final;
64
66
const
AreaExcluder
*
subtractedVolume
()
const
;
67
69
virtual
std
::
string
name
()
const
override final
70
{
71
return
"Trk::SubtractedCylinderSurface"
;
72
}
73
74
protected
:
75
std::shared_ptr<const AreaExcluder>
m_subtrVol
{
nullptr
};
76
bool
m_shared
{
true
};
77
};
78
}
// end of namespace
79
80
#include "
TrkGeometrySurfaces/SubtractedCylinderSurface.icc
"
81
#endif
// TRKGEOMETRYSURFACES_SUBTRACTEDCYLINDERSURFACE_H
AreaExcluder.h
CylinderSurface.h
GeoPrimitives.h
ParamDefs.h
SubtractedCylinderSurface.icc
Trk::AreaExcluder
Pure abstract base class.
Definition
AreaExcluder.h:26
Trk::CylinderSurface::CylinderSurface
CylinderSurface()
Default Constructor.
Definition
CylinderSurface.cxx:21
Trk::SubtractedCylinderSurface::SubtractedCylinderSurface
SubtractedCylinderSurface(const SubtractedCylinderSurface &psf)
Copy Constructor.
Trk::SubtractedCylinderSurface::SubtractedCylinderSurface
SubtractedCylinderSurface(SubtractedCylinderSurface &&)=default
Trk::SubtractedCylinderSurface::subtractedVolume
const AreaExcluder * subtractedVolume() const
This method allows access to the subtracted part.
Trk::SubtractedCylinderSurface::SubtractedCylinderSurface
SubtractedCylinderSurface()=default
Defaults.
Trk::SubtractedCylinderSurface::~SubtractedCylinderSurface
virtual ~SubtractedCylinderSurface()=default
Trk::SubtractedCylinderSurface::name
virtual std::string name() const override final
Return properly formatted class name for screen output.
Definition
SubtractedCylinderSurface.h:69
Trk::SubtractedCylinderSurface::shared
bool shared() const
This method indicates the subtraction mode.
Trk::SubtractedCylinderSurface::operator==
virtual bool operator==(const Surface &sf) const override final
Equality operator.
Definition
SubtractedCylinderSurface.cxx:40
Trk::SubtractedCylinderSurface::m_shared
bool m_shared
Definition
SubtractedCylinderSurface.h:76
Trk::SubtractedCylinderSurface::operator=
SubtractedCylinderSurface & operator=(const SubtractedCylinderSurface &psf)
Assignment operator.
Trk::SubtractedCylinderSurface::m_subtrVol
std::shared_ptr< const AreaExcluder > m_subtrVol
Definition
SubtractedCylinderSurface.h:75
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.
Trk::SubtractedCylinderSurface::operator=
SubtractedCylinderSurface & operator=(SubtractedCylinderSurface &&)=default
Trk::Surface
Abstract Base Class for tracking surfaces.
Definition
Surface.h:79
const
Amg::Transform3D
Eigen::Affine3d Transform3D
Definition
GeoPrimitives.h:46
Amg::Vector2D
Eigen::Matrix< double, 2, 1 > Vector2D
Definition
GeoPrimitives.h:48
Identifier
Definition
IdentifierFieldParser.cxx:14
Trk
Ensure that the ATLAS eigen extensions are properly loaded.
Definition
FakeTrackBuilder.h:9
std
STL namespace.
Generated on
for ATLAS Offline Software by
1.17.0