ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
MuonSpectrometer
MuonPhaseII
MuonDetDescr
MuonReadoutGeometryR4
MuonReadoutGeometryR4
CylinderBoundsExpander.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2026 CERN for the benefit of the ATLAS collaboration
3
*/
4
#ifndef ACTSMUONDETECTOR_CYLINDERBOUNDSEXPANDER_H
5
#define ACTSMUONDETECTOR_CYLINDERBOUNDSEXPANDER_H
6
#ifndef SIMULATIONBASE
8
#include "
MuonReadoutGeometryR4/BoundsExpander.h
"
9
10
namespace
MuonGMR4
{
13
class
CylinderBoundsExpander
final :
public
BoundsExpander
{
14
public
:
16
explicit
CylinderBoundsExpander
(std::unique_ptr<const Acts::Logger> loggerObj =
nullptr
);
18
using
BoundsExpander::expand
;
20
using
BoundsExpander::makeBounds
;
22
virtual
void
expand
(
const
Acts::GeometryContext& tgContext,
23
const
Acts::Volume& volume)
override
;
25
virtual
std::shared_ptr<Acts::VolumeBounds>
26
makeBounds
(Acts::VolumeBoundFactory& factory)
override
final
;
30
void
setMargin
(
const
double
extraR,
const
double
extraZ);
32
double
rMin
()
const
;
34
double
&
rMin
();
36
double
rMax
()
const
;
38
double
&
rMax
();
40
double
zMin
()
const
;
42
double
&
zMin
();
44
double
zMax
()
const
;
46
double
&
zMax
();
47
private
:
49
double
m_rMin
{2.*Acts::UnitConstants::km};
51
double
m_rMax
{-2.*Acts::UnitConstants::km};
53
double
m_zMin
{
m_rMin
};
55
double
m_zMax
{
m_rMax
};
57
double
m_extraR
{0.1};
59
double
m_extraZ
{0.1};
60
};
61
62
}
63
#endif
64
#endif
BoundsExpander.h
MuonGMR4::BoundsExpander::BoundsExpander
BoundsExpander()=default
Default constructor.
MuonGMR4::BoundsExpander::expand
void expand(const Acts::GeometryContext &tgContext, const MuonGMR4::Chamber &chamber)
Expand the bounds from a chamber.
Definition
BoundsExpander.cxx:32
MuonGMR4::BoundsExpander::makeBounds
static std::shared_ptr< Acts::VolumeBounds > makeBounds(const MuonGMR4::MuonReadoutElement &readoutElement, Acts::VolumeBoundFactory &boundFactory)
Crate volume bounds that enclose the readout element from the central localToGlobalTransform.
Definition
BoundsExpander.cxx:46
MuonGMR4::CylinderBoundsExpander::setMargin
void setMargin(const double extraR, const double extraZ)
Assign an extra margin to the constructed bounds.
Definition
CylinderBoundsExpander.cxx:13
MuonGMR4::CylinderBoundsExpander::zMin
double zMin() const
Minimum seen longitudinal displacement.
Definition
CylinderBoundsExpander.cxx:44
MuonGMR4::CylinderBoundsExpander::m_extraZ
double m_extraZ
Extra margin to be applied in z.
Definition
CylinderBoundsExpander.h:59
MuonGMR4::CylinderBoundsExpander::makeBounds
virtual std::shared_ptr< Acts::VolumeBounds > makeBounds(Acts::VolumeBoundFactory &factory) override final
Crate volume bounds that enclose the readout element from the central localToGlobalTransform.
Definition
CylinderBoundsExpander.cxx:31
MuonGMR4::CylinderBoundsExpander::m_extraR
double m_extraR
Extra margin to be applied in R.
Definition
CylinderBoundsExpander.h:57
MuonGMR4::CylinderBoundsExpander::CylinderBoundsExpander
CylinderBoundsExpander(std::unique_ptr< const Acts::Logger > loggerObj=nullptr)
Constructor with an optional logger instance.
Definition
CylinderBoundsExpander.cxx:11
MuonGMR4::CylinderBoundsExpander::expand
virtual void expand(const Acts::GeometryContext &tgContext, const Acts::Volume &volume) override
Expand the bounds from a chamber.
Definition
CylinderBoundsExpander.cxx:17
MuonGMR4::CylinderBoundsExpander::zMax
double zMax() const
Maximum seen longitudinal displacement.
Definition
CylinderBoundsExpander.cxx:46
MuonGMR4::CylinderBoundsExpander::m_rMin
double m_rMin
Minimum r of any shown vertex.
Definition
CylinderBoundsExpander.h:49
MuonGMR4::CylinderBoundsExpander::m_zMin
double m_zMin
Minimum z of any shown vertex.
Definition
CylinderBoundsExpander.h:53
MuonGMR4::CylinderBoundsExpander::rMax
double rMax() const
Maximum seen radius.
Definition
CylinderBoundsExpander.cxx:42
MuonGMR4::CylinderBoundsExpander::rMin
double rMin() const
Minimum seen radius.
Definition
CylinderBoundsExpander.cxx:40
MuonGMR4::CylinderBoundsExpander::m_rMax
double m_rMax
Maximum r of any shown vertex.
Definition
CylinderBoundsExpander.h:51
MuonGMR4::CylinderBoundsExpander::m_zMax
double m_zMax
Maximum z of any shown vertex.
Definition
CylinderBoundsExpander.h:55
MuonGMR4
The ReadoutGeomCnvAlg converts the Run4 Readout geometry build from the GeoModelXML into the legacy M...
Definition
MdtCalibInput.h:19
Generated on
for ATLAS Offline Software by
1.17.0