ATLAS Offline Software
Loading...
Searching...
No Matches
MuonSpectrometer
MuonPhaseII
MuonIdentification
MuonCombinedAlgsR4
src
BeamSpotPreparatorAlg.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 MUONCOMBINEDALGSR4_BEAMSPOTPREPARATORALG_H
5
#define MUONCOMBINEDALGSR4_BEAMSPOTPREPARATORALG_H
6
7
#include "
AthenaBaseComps/AthReentrantAlgorithm.h
"
8
9
#include "
StoreGate/ReadCondHandleKey.h
"
10
#include "
StoreGate/ReadHandleKey.h
"
11
#include "
StoreGate/WriteHandleKey.h
"
12
13
#include "
BeamSpotConditionsData/BeamSpotData.h
"
14
#include "
xAODTracking/VertexContainer.h
"
15
#include "
ActsEvent/AuxiliaryMeasurementHandler.h
"
16
#include "
ActsEvent/ContextUtility.h
"
17
18
19
namespace
MuonCombinedR4
{
23
class
BeamSpotPreparatorAlg
:
public
AthReentrantAlgorithm
{
24
public
:
26
using
AthReentrantAlgorithm::AthReentrantAlgorithm;
28
virtual
StatusCode
initialize
()
override
final
;
30
virtual
StatusCode
execute
(
const
EventContext& ctx)
const
override
final
;
31
private
:
33
ActsTrk::AuxiliaryMeasurementHandler
m_beamSpotHandle
{
this
};
35
ActsTrk::ContextUtility
m_ctxProvider
{
this
};
37
SG::ReadHandleKey<xAOD::VertexContainer>
m_vertexKey
{
this
,
"VertexContainer"
,
"PrimaryVertices"
};
39
SG::ReadCondHandleKey<InDet::BeamSpotData>
m_beamSpotKey
{
this
,
"BeamSpotDataKey"
,
"BeamSpotData"
};
42
Gaudi::Property<bool>
m_useBeamSpot
{
this
,
"useBeamSpot"
,
true
};
44
Gaudi::Property<std::string>
m_writeKey
{
this
,
"WriteKey"
,
"BeamSpotMeasurements"
};
46
Gaudi::Property<double>
m_sigmaScaleR
{
this
,
"sigmaScaleR"
, 1.};
48
Gaudi::Property<double>
m_sigmaScaleZ
{
this
,
"sigmaScaleZ"
, 1.};
49
50
};
51
}
52
53
54
#endif
AthReentrantAlgorithm.h
AuxiliaryMeasurementHandler.h
BeamSpotData.h
ContextUtility.h
ReadCondHandleKey.h
ReadHandleKey.h
Property holding a SG store/key/clid from which a ReadHandle is made.
WriteHandleKey.h
Property holding a SG store/key/clid from which a WriteHandle is made.
VertexContainer.h
ActsTrk::AuxiliaryMeasurementHandler
Utility class to handle the creation of the Auxiliary measurement used in an Acts track fit This clas...
Definition
AuxiliaryMeasurementHandler.h:22
ActsTrk::ContextUtility
Utility class to handle the three contexts neeeded in an ACTS reconstruction job 1) GeometryContext -...
Definition
ContextUtility.h:27
AthReentrantAlgorithm
An algorithm that can be simultaneously executed in multiple threads.
Definition
AthReentrantAlgorithm.h:74
MuonCombinedR4::BeamSpotPreparatorAlg
Data preparation algorithm to convert the beamspot position into an auxiliary measurement which can b...
Definition
BeamSpotPreparatorAlg.h:23
MuonCombinedR4::BeamSpotPreparatorAlg::m_ctxProvider
ActsTrk::ContextUtility m_ctxProvider
Context provider for geometry, magnetic field and calibration contexts.
Definition
BeamSpotPreparatorAlg.h:35
MuonCombinedR4::BeamSpotPreparatorAlg::initialize
virtual StatusCode initialize() override final
Definition
BeamSpotPreparatorAlg.cxx:18
MuonCombinedR4::BeamSpotPreparatorAlg::m_sigmaScaleZ
Gaudi::Property< double > m_sigmaScaleZ
Extra scale factor on the longitudinal beam spot covariance position.
Definition
BeamSpotPreparatorAlg.h:48
MuonCombinedR4::BeamSpotPreparatorAlg::execute
virtual StatusCode execute(const EventContext &ctx) const override final
Definition
BeamSpotPreparatorAlg.cxx:25
MuonCombinedR4::BeamSpotPreparatorAlg::m_beamSpotHandle
ActsTrk::AuxiliaryMeasurementHandler m_beamSpotHandle
Handle the beam spot auxiliary measurement.
Definition
BeamSpotPreparatorAlg.h:33
MuonCombinedR4::BeamSpotPreparatorAlg::m_writeKey
Gaudi::Property< std::string > m_writeKey
Key under which the auxiliary container will be registered in store gate.
Definition
BeamSpotPreparatorAlg.h:44
MuonCombinedR4::BeamSpotPreparatorAlg::m_beamSpotKey
SG::ReadCondHandleKey< InDet::BeamSpotData > m_beamSpotKey
Optional dependency on the beamspot container.
Definition
BeamSpotPreparatorAlg.h:39
MuonCombinedR4::BeamSpotPreparatorAlg::m_sigmaScaleR
Gaudi::Property< double > m_sigmaScaleR
Extra scal factor on the radial beam spot covariance position.
Definition
BeamSpotPreparatorAlg.h:46
MuonCombinedR4::BeamSpotPreparatorAlg::m_useBeamSpot
Gaudi::Property< bool > m_useBeamSpot
Switch to toggle whether the beam spot or the primary vertex will be used as beamspot measuremenmt.
Definition
BeamSpotPreparatorAlg.h:42
MuonCombinedR4::BeamSpotPreparatorAlg::m_vertexKey
SG::ReadHandleKey< xAOD::VertexContainer > m_vertexKey
Data dependency on the vertex container.
Definition
BeamSpotPreparatorAlg.h:37
SG::ReadCondHandleKey
Definition
ReadCondHandleKey.h:21
SG::ReadHandleKey
Property holding a SG store/key/clid from which a ReadHandle is made.
Definition
StoreGate/StoreGate/ReadHandleKey.h:40
MuonCombinedR4
Definition
BeamSpotPreparatorAlg.cxx:17
Generated on
for ATLAS Offline Software by
1.16.1