ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
MuonSpectrometer
MuonPhaseII
MuonValidation
MuonTrackFindingTest
src
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
7
#include "
AthenaBaseComps/AthReentrantAlgorithm.h
"
8
#include "
StoreGate/ReadHandleKey.h
"
9
10
#include "
xAODMuon/MuonSegmentContainer.h
"
11
#include "
ActsGeometryInterfaces/IExtrapolationTool.h
"
12
#include "
MuonIdHelpers/IMuonIdHelperSvc.h
"
13
#include "
MuonReadoutGeometryR4/MuonDetectorManager.h
"
14
15
namespace
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 */
20
class
SegmentExtpTest
:
public
AthReentrantAlgorithm
{
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
ActsTrk::GeoContextReadKey_t
m_geoCtxKey
{
this
,
"AlignmentKey"
,
"ActsAlignment"
,
"cond handle key"
};
36
const
MuonGMR4::MuonDetectorManager
*
m_detMgr
{
nullptr
};
38
Gaudi::Property<bool>
m_drawEvent
{this ,
"drawEvent"
,
false
};
39
};
40
}
41
42
43
#endif
AthReentrantAlgorithm.h
IExtrapolationTool.h
IMuonIdHelperSvc.h
MuonDetectorManager.h
MuonSegmentContainer.h
ReadHandleKey.h
Property holding a SG store/key/clid from which a ReadHandle is made.
AthReentrantAlgorithm
An algorithm that can be simultaneously executed in multiple threads.
Definition
AthReentrantAlgorithm.h:74
MuonGMR4::MuonDetectorManager
Definition
MuonPhaseII/MuonDetDescr/MuonReadoutGeometryR4/MuonReadoutGeometryR4/MuonDetectorManager.h:62
MuonValR4::SegmentExtpTest
Definition
SegmentExtpTest.h:20
MuonValR4::SegmentExtpTest::m_drawEvent
Gaudi::Property< bool > m_drawEvent
Option to draw every extrapolation asan obj file.
Definition
SegmentExtpTest.h:38
MuonValR4::SegmentExtpTest::execute
virtual StatusCode execute(const EventContext &ctx) const override final
Definition
SegmentExtpTest.cxx:51
MuonValR4::SegmentExtpTest::m_detMgr
const MuonGMR4::MuonDetectorManager * m_detMgr
Detector manager to fetch the sector surfaces.
Definition
SegmentExtpTest.h:36
MuonValR4::SegmentExtpTest::~SegmentExtpTest
virtual ~SegmentExtpTest()=default
MuonValR4::SegmentExtpTest::m_extrapolationTool
ToolHandle< ActsTrk::IExtrapolationTool > m_extrapolationTool
Track extrapolation tool.
Definition
SegmentExtpTest.h:32
MuonValR4::SegmentExtpTest::m_readKey
SG::ReadHandleKey< xAOD::MuonSegmentContainer > m_readKey
Declare the data dependency on the standard Mdt+Rpc+Tgc segment container.
Definition
SegmentExtpTest.h:28
MuonValR4::SegmentExtpTest::m_idHelperSvc
ServiceHandle< Muon::IMuonIdHelperSvc > m_idHelperSvc
IdHelperSvc to decode the Identifiers.
Definition
SegmentExtpTest.h:30
MuonValR4::SegmentExtpTest::m_geoCtxKey
ActsTrk::GeoContextReadKey_t m_geoCtxKey
Dependency on the geometry alignment.
Definition
SegmentExtpTest.h:34
MuonValR4::SegmentExtpTest::initialize
virtual StatusCode initialize() override final
Definition
SegmentExtpTest.cxx:43
ServiceHandle
Definition
ClusterMakerTool.h:36
const
ActsTrk::GeoContextReadKey_t
SG::ReadHandleKey< GeometryContext > GeoContextReadKey_t
Abrivate the ReadHandleKey to declare the data dependency on the Geometry context.
Definition
GeometryContext.h:64
MuonValR4
Lightweight algorithm to read xAOD MDT sim hits and (fast-digitised) drift circles from SG and fill a...
Definition
SpacePointWriter.cxx:32
SG
Forward declaration.
Definition
CaloCellPacker_400_500.h:32
xAOD
ICaloAffectedTool is abstract interface for tools checking if 4 mom is in calo affected region.
Definition
ICaloAffectedTool.h:24
private
#define private
Definition
testRead.cxx:27
Generated on
for ATLAS Offline Software by
1.17.0