ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Tracking
Acts
ActsObjectDecoration
src
ActsTrackStateOnSurfaceDecoratorAlg.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#include "
AthenaBaseComps/AthReentrantAlgorithm.h
"
6
#include "
xAODTracking/TrackParticleContainer.h
"
7
#include "
xAODTracking/TrackStateValidationContainer.h
"
8
#include "
xAODTracking/TrackStateValidationAuxContainer.h
"
9
#include "
StoreGate/WriteDecorHandleKey.h
"
10
#include "
StoreGate/ReadDecorHandleKey.h
"
11
#include "
ActsEvent/TrackContainer.h
"
12
#include "
xAODMeasurementBase/MeasurementDefs.h
"
13
14
namespace
ActsTrk
{
15
16
class
ActsTrackStateOnSurfaceDecoratorAlg
17
:
public
AthReentrantAlgorithm
{
18
public
:
19
ActsTrackStateOnSurfaceDecoratorAlg
(
const
std::string& name,
20
ISvcLocator *pSvcLocator);
21
virtual
~ActsTrackStateOnSurfaceDecoratorAlg
() =
default
;
22
23
virtual
StatusCode
initialize
()
override
;
24
virtual
StatusCode
execute
(
const
EventContext& ctx)
const override
;
25
26
private
:
27
xAOD::UncalibMeasType
getDetectorType
(std::uint64_t volumeId)
const
;
28
29
StatusCode
storeTrackState
(
const
typename
ActsTrk::TrackContainer::ConstTrackStateProxy& state,
30
std::vector<
ElementLink< xAOD::TrackStateValidationContainer >
>& msosLinks,
31
xAOD::TrackStateValidationContainer
& msosContainer)
const
;
32
33
private
:
34
SG::ReadHandleKey< xAOD::TrackParticleContainer >
m_trackParticlesKey
{
this
,
"TrackParticles"
,
""
,
"Input xAOD::TrackParticles"
};
35
SG::ReadDecorHandleKey<xAOD::TrackParticleContainer>
m_decorator_actsTracks
{
this
,
"ActsTrackLink"
,
m_trackParticlesKey
,
"actsTrack"
};
36
37
SG::WriteHandleKey< xAOD::TrackStateValidationContainer >
m_pixelMsosKey
{
this
,
"PixelMSOSs"
,
""
};
38
SG::WriteHandleKey< xAOD::TrackStateValidationContainer >
m_stripMsosKey
{
this
,
"StripMSOSs"
,
""
};
39
SG::WriteDecorHandleKey< xAOD::TrackParticleContainer >
m_trackMsosLink
{
this
,
"msosLink"
,
m_trackParticlesKey
,
"Reco_msosLink"
};
40
41
Gaudi::Property<bool>
m_isITk
{
this
,
"isITk"
,
true
,
"Flag to indicate whether running on ITk"
};
42
};
43
44
}
AthReentrantAlgorithm.h
TrackParticleContainer.h
MeasurementDefs.h
ReadDecorHandleKey.h
Property holding a SG store/key/clid/attr name from which a ReadDecorHandle is made.
WriteDecorHandleKey.h
Property holding a SG store/key/clid/attr name from which a WriteDecorHandle is made.
TrackContainer.h
TrackStateValidationAuxContainer.h
TrackStateValidationContainer.h
ActsTrk::ActsTrackStateOnSurfaceDecoratorAlg::m_trackParticlesKey
SG::ReadHandleKey< xAOD::TrackParticleContainer > m_trackParticlesKey
Definition
ActsTrackStateOnSurfaceDecoratorAlg.h:34
ActsTrk::ActsTrackStateOnSurfaceDecoratorAlg::m_isITk
Gaudi::Property< bool > m_isITk
Definition
ActsTrackStateOnSurfaceDecoratorAlg.h:41
ActsTrk::ActsTrackStateOnSurfaceDecoratorAlg::ActsTrackStateOnSurfaceDecoratorAlg
ActsTrackStateOnSurfaceDecoratorAlg(const std::string &name, ISvcLocator *pSvcLocator)
Definition
ActsTrackStateOnSurfaceDecoratorAlg.cxx:15
ActsTrk::ActsTrackStateOnSurfaceDecoratorAlg::m_decorator_actsTracks
SG::ReadDecorHandleKey< xAOD::TrackParticleContainer > m_decorator_actsTracks
Definition
ActsTrackStateOnSurfaceDecoratorAlg.h:35
ActsTrk::ActsTrackStateOnSurfaceDecoratorAlg::getDetectorType
xAOD::UncalibMeasType getDetectorType(std::uint64_t volumeId) const
Definition
ActsTrackStateOnSurfaceDecoratorAlg.cxx:161
ActsTrk::ActsTrackStateOnSurfaceDecoratorAlg::m_pixelMsosKey
SG::WriteHandleKey< xAOD::TrackStateValidationContainer > m_pixelMsosKey
Definition
ActsTrackStateOnSurfaceDecoratorAlg.h:37
ActsTrk::ActsTrackStateOnSurfaceDecoratorAlg::m_trackMsosLink
SG::WriteDecorHandleKey< xAOD::TrackParticleContainer > m_trackMsosLink
Definition
ActsTrackStateOnSurfaceDecoratorAlg.h:39
ActsTrk::ActsTrackStateOnSurfaceDecoratorAlg::execute
virtual StatusCode execute(const EventContext &ctx) const override
Definition
ActsTrackStateOnSurfaceDecoratorAlg.cxx:34
ActsTrk::ActsTrackStateOnSurfaceDecoratorAlg::initialize
virtual StatusCode initialize() override
Definition
ActsTrackStateOnSurfaceDecoratorAlg.cxx:20
ActsTrk::ActsTrackStateOnSurfaceDecoratorAlg::m_stripMsosKey
SG::WriteHandleKey< xAOD::TrackStateValidationContainer > m_stripMsosKey
Definition
ActsTrackStateOnSurfaceDecoratorAlg.h:38
ActsTrk::ActsTrackStateOnSurfaceDecoratorAlg::~ActsTrackStateOnSurfaceDecoratorAlg
virtual ~ActsTrackStateOnSurfaceDecoratorAlg()=default
ActsTrk::ActsTrackStateOnSurfaceDecoratorAlg::storeTrackState
StatusCode storeTrackState(const typename ActsTrk::TrackContainer::ConstTrackStateProxy &state, std::vector< ElementLink< xAOD::TrackStateValidationContainer > > &msosLinks, xAOD::TrackStateValidationContainer &msosContainer) const
Definition
ActsTrackStateOnSurfaceDecoratorAlg.cxx:119
AthReentrantAlgorithm
An algorithm that can be simultaneously executed in multiple threads.
Definition
AthReentrantAlgorithm.h:74
ElementLink
ElementLink implementation for ROOT usage.
Definition
A/AthLinks/ElementLink.h:40
SG::ReadDecorHandleKey
Property holding a SG store/key/clid/attr name from which a ReadDecorHandle is made.
Definition
StoreGate/StoreGate/ReadDecorHandleKey.h:86
SG::ReadHandleKey< xAOD::TrackParticleContainer >
SG::WriteDecorHandleKey< xAOD::TrackParticleContainer >
SG::WriteHandleKey
Property holding a SG store/key/clid from which a WriteHandle is made.
Definition
StoreGate/StoreGate/WriteHandleKey.h:40
ActsTrk
The AlignStoreProviderAlg loads the rigid alignment corrections and pipes them through the readout ge...
Definition
MdtCalibInput.h:31
xAOD::TrackStateValidationContainer
TrackStateValidationContainer_v1 TrackStateValidationContainer
Definition of the current "TrackStateValidation container version".
Definition
TrackStateValidationContainer.h:15
xAOD::UncalibMeasType
UncalibMeasType
Define the type of the uncalibrated measurement.
Definition
MeasurementDefs.h:24
Generated on
for ATLAS Offline Software by
1.17.0