|
ATLAS Offline Software
|
Go to the documentation of this file.
5 #ifndef ACTSGEOMETRY_ACTSLAYERBUILDER_H
6 #define ACTSGEOMETRY_ACTSLAYERBUILDER_H
16 #include "Acts/Geometry/ILayerBuilder.hpp"
17 #include "Acts/Utilities/Logger.hpp"
18 #include "Acts/Utilities/BinningType.hpp"
19 #include "Acts/Geometry/GeometryContext.hpp"
20 #include "Acts/Definitions/Units.hpp"
25 class ActsTrackingGeomtrySvc;
28 class SiDetectorManager;
81 const Acts::Surface *,
const Acts::Surface *)>
93 std::unique_ptr<const Acts::Logger>
logger
99 const Acts::LayerVector
102 const Acts::LayerVector
103 centralLayers(
const Acts::GeometryContext& gctx)
const override;
105 const Acts::LayerVector
150 std::vector<std::shared_ptr<const ActsDetectorElement>>
164 buildBarrel(
const Acts::GeometryContext& gctx, Acts::LayerVector& layersOutput)
const;
167 buildEndcap(
const Acts::GeometryContext& gctx, Acts::LayerVector& layersOutput,
int type = 0)
const;
void buildEndcap(const Acts::GeometryContext &gctx, Acts::LayerVector &layersOutput, int type=0) const
std::function< bool(const Acts::GeometryContext &, Acts::BinningValue, const Acts::Surface *, const Acts::Surface *)> surfaceMatcher
virtual const std::string & identification() const override
const Acts::Logger & logger() const
Private access to the logger.
const Acts::LayerVector centralLayers(const Acts::GeometryContext &gctx) const override
~ActsLayerBuilder()
Destructor.
Acts::BinningType bTypeR
the binning type of the contained surfaces in r (equidistant/arbitrary)
const Acts::LayerVector negativeLayers(const Acts::GeometryContext &gctx) const override
void buildBarrel(const Acts::GeometryContext &gctx, Acts::LayerVector &layersOutput) const
std::array< double, 2 > endcapEnvelopeR
std::vector< std::shared_ptr< const ActsDetectorElement > > getDetectorElements() const
const Acts::LayerVector positiveLayers(const Acts::GeometryContext &gctx) const override
std::array< double, 2 > barrelEnvelopeR
Config m_cfg
configuration object
std::unique_ptr< const Acts::Logger > m_logger
logging instance
BinningValue
how to take the global / local position
std::string configurationName
string based identification
std::array< double, 2 > barrelEnvelopeZ
bool doEndcapLayerMerging
std::pair< size_t, size_t > barrelMaterialBins
Acts::BinningType bTypeZ
the binning type of the contained surfaces in z (equidistant/arbitrary)
ActsLayerBuilder::Config getConfiguration() const
get the configuration object
void setConfiguration(const Config &cfg)
Name identification.
Acts::BinningType bTypePhi
the binning type of the contained surfaces in phi (equidistant/arbitrary)
std::ostream & operator<<(std::ostream &os, const ActsLayerBuilder::Mode &mode)
std::array< double, 2 > endcapEnvelopeZ
std::pair< size_t, size_t > endcapMaterialBins
Helper to hold elements for deletion.
std::shared_ptr< const Acts::LayerCreator > layerCreator
void setLogger(std::unique_ptr< const Acts::Logger > logger)
set logging instance
const InDetDD::SiDetectorManager * mng
ActsLayerBuilder(const Config &cfg, std::unique_ptr< const Acts::Logger > logger=Acts::getDefaultLogger("GMLayBldr", Acts::Logging::INFO))
Constructor.
Define macros for attributes used to control the static checker.
Helper to hold elements for deletion.
setBGCode setTAP setLVL2ErrorBits bool
std::shared_ptr< ElementVector > elementStore