ATLAS Offline Software
Loading...
Searching...
No Matches
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
8
12
17
18
19namespace MuonCombinedR4 {
24 public:
26 using AthReentrantAlgorithm::AthReentrantAlgorithm;
28 virtual StatusCode initialize() override final;
30 virtual StatusCode execute(const EventContext& ctx) const override final;
31 private:
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
Property holding a SG store/key/clid from which a ReadHandle is made.
Property holding a SG store/key/clid from which a WriteHandle is made.
Utility class to handle the creation of the Auxiliary measurement used in an Acts track fit This clas...
Utility class to handle the three contexts neeeded in an ACTS reconstruction job 1) GeometryContext -...
An algorithm that can be simultaneously executed in multiple threads.
Data preparation algorithm to convert the beamspot position into an auxiliary measurement which can b...
ActsTrk::ContextUtility m_ctxProvider
Context provider for geometry, magnetic field and calibration contexts.
virtual StatusCode initialize() override final
Gaudi::Property< double > m_sigmaScaleZ
Extra scale factor on the longitudinal beam spot covariance position.
virtual StatusCode execute(const EventContext &ctx) const override final
ActsTrk::AuxiliaryMeasurementHandler m_beamSpotHandle
Handle the beam spot auxiliary measurement.
Gaudi::Property< std::string > m_writeKey
Key under which the auxiliary container will be registered in store gate.
SG::ReadCondHandleKey< InDet::BeamSpotData > m_beamSpotKey
Optional dependency on the beamspot container.
Gaudi::Property< double > m_sigmaScaleR
Extra scal factor on the radial beam spot covariance position.
Gaudi::Property< bool > m_useBeamSpot
Switch to toggle whether the beam spot or the primary vertex will be used as beamspot measuremenmt.
SG::ReadHandleKey< xAOD::VertexContainer > m_vertexKey
Data dependency on the vertex container.
Property holding a SG store/key/clid from which a ReadHandle is made.