ATLAS Offline Software
Loading...
Searching...
No Matches
ReadoutGeoDumpAlg.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 ActsMonitoring_ReadoutGeoDumpAlg_H
5#define ActsMonitoring_ReadoutGeoDumpAlg_H
6
9
10#include "Identifier/Identifier.h"
13
14#include "Acts/Utilities/Helpers.hpp"
15#include "Acts/Surfaces/Surface.hpp"
16
17namespace ActsTrk {
23 public:
25
26
27 StatusCode initialize() override;
28 StatusCode execute() override;
29 StatusCode finalize() override;
30 private:
32 MuonVal::MuonTesterTree m_tree{"ReadoutGeometryTest", "ActsReadoutGeoDump"};
35 m_identifier{m_tree.newScalar<Identifier::value_type>("identifier")};
37 MuonVal::ScalarBranch<std::uint8_t>& m_detType{m_tree.newScalar<std::uint8_t>("detectorType")};
39 MuonVal::ScalarBranch<std::uint8_t>& m_boundsType{m_tree.newScalar<std::uint8_t>("boundType")};
41 MuonVal::VectorBranch<double>& m_boundValues{m_tree.newVector<double>("boundValues")};
43 MuonVal::ScalarBranch<double>& m_thickness{m_tree.newScalar<double>("thickness")};
46
48 PublicToolHandle<ITrackingGeometryTool> m_trackingGeoTool{this, "TrackingGeometryTool", ""};
50 Gaudi::Property<std::set<unsigned short>> m_detTypes{this, "Detectors", {
51 Acts::toUnderlying(DetectorType::Pixel),
52 Acts::toUnderlying(DetectorType::Sct),
53 Acts::toUnderlying(DetectorType::Hgtd)}};
54 std::unordered_set<DetectorType> m_selTypes{};
55
57 bool m_executed{false};
58
59 };
60};
61
62#endif
Algorithm that scans the tracking geometry and dumps the transforms and surface bounds of the individ...
MuonVal::ScalarBranch< std::uint8_t > & m_boundsType
What is the type of the associated Acts Bounds.
StatusCode execute() override
MuonVal::ScalarBranch< Identifier::value_type > & m_identifier
the Ahtena identifier of the readout element
MuonVal::ScalarBranch< double > & m_thickness
Thickness of the readout surface.
bool m_executed
Flag whether the algorithm is executed.
MuonVal::MuonTesterTree m_tree
Write a TTree for validation purposes.
MuonVal::CoordTransformBranch m_readoutTransform
Final transform of the readout element.
StatusCode finalize() override
MuonVal::ScalarBranch< std::uint8_t > & m_detType
The DetectorType of the readout element.
StatusCode initialize() override
std::unordered_set< DetectorType > m_selTypes
MuonVal::VectorBranch< double > & m_boundValues
The defining parameter of the surface bounds.
PublicToolHandle< ITrackingGeometryTool > m_trackingGeoTool
Tool handle to the tracking geometry.
Gaudi::Property< std::set< unsigned short > > m_detTypes
Configure which detector types shall be dumped.
AthHistogramAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Constructor with parameters:
AthHistogramAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Constructor with parameters:
Helper class to dump the Amg::Transformations into a single three vector branch The first entry is th...
The AlignStoreProviderAlg loads the rigid alignment corrections and pipes them through the readout ge...
@ Pixel
Inner detector legacy.