ATLAS Offline Software
Loading...
Searching...
No Matches
SegmentExtpTest.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration
3*/
4#ifndef MUONTRACKFINDINGTEST_SEGMENTEXTPTEST_H
5#define MUONTRACKFINDINGTEST_SEGMENTEXTPTEST_H
6
9
14
15namespace MuonValR4{
16 /*** @brief Algorithm to test the extrapolation on a fitted segment. For each segment,
17 * the fitted parameters are used to construct Acts Track paramters and to extrapolate
18 * the line onto each measurement's surface. The result is then compared with the obtained
19 * fit */
21 public:
22 using AthReentrantAlgorithm::AthReentrantAlgorithm;
23 virtual ~SegmentExtpTest() = default;
24 virtual StatusCode initialize() override final;
25 virtual StatusCode execute(const EventContext& ctx) const override final;
26 private:
28 SG::ReadHandleKey<xAOD::MuonSegmentContainer> m_readKey{this, "SegmentKey", "MuonSegmentsFromR4"};
30 ServiceHandle<Muon::IMuonIdHelperSvc> m_idHelperSvc{this, "IdHelperSvc", "Muon::MuonIdHelperSvc/MuonIdHelperSvc"};
32 ToolHandle<ActsTrk::IExtrapolationTool> m_extrapolationTool{this, "ExtrapolationTool" ,"" };
34 SG::ReadHandleKey<ActsTrk::GeometryContext> m_geoCtxKey{this, "AlignmentKey", "ActsAlignment", "cond handle key"};
38 Gaudi::Property<bool> m_drawEvent{this , "drawEvent", false };
39 };
40}
41
42
43#endif
Property holding a SG store/key/clid from which a ReadHandle is made.
An algorithm that can be simultaneously executed in multiple threads.
SG::ReadHandleKey< ActsTrk::GeometryContext > m_geoCtxKey
Dependency on the geometry alignment.
Gaudi::Property< bool > m_drawEvent
Option to draw every extrapolation asan obj file.
virtual StatusCode execute(const EventContext &ctx) const override final
const MuonGMR4::MuonDetectorManager * m_detMgr
Detector manager to fetch the sector surfaces.
virtual ~SegmentExtpTest()=default
ToolHandle< ActsTrk::IExtrapolationTool > m_extrapolationTool
Track extrapolation tool.
SG::ReadHandleKey< xAOD::MuonSegmentContainer > m_readKey
Declare the data dependency on the standard Mdt+Rpc+Tgc segment container.
ServiceHandle< Muon::IMuonIdHelperSvc > m_idHelperSvc
IdHelperSvc to decode the Identifiers.
virtual StatusCode initialize() override final
Property holding a SG store/key/clid from which a ReadHandle is made.
Lightweight algorithm to read xAOD MDT sim hits and (fast-digitised) drift circles from SG and fill a...
Forward declaration.
ICaloAffectedTool is abstract interface for tools checking if 4 mom is in calo affected region.
#define private