|
ATLAS Offline Software
|
Go to the documentation of this file.
57 return StatusCode::SUCCESS;
72 beamPosXHandle( *beamPosXHandle ) = beamSpotData->
beamPos()[
Amg::x ];
75 beamPosYHandle( *beamPosYHandle ) = beamSpotData->
beamPos()[
Amg::y ];
78 beamPosZHandle( *beamPosZHandle ) = beamSpotData->
beamPos()[
Amg::z ];
82 beamPosSigmaXHandle( *beamPosSigmaXHandle ) =
86 beamPosSigmaYHandle( *beamPosSigmaYHandle ) =
90 beamPosSigmaZHandle( *beamPosSigmaZHandle ) =
94 beamPosSigmaXYHandle( *beamPosSigmaXYHandle ) =
99 beamTiltXZHandle( *beamTiltXZHandle ) = beamSpotData->
beamTilt( 0 );
102 beamTiltYZHandle( *beamTiltYZHandle ) = beamSpotData->
beamTilt( 1 );
106 beamStatusHandle( *beamStatusHandle ) = beamSpotData->
beamStatus();
109 return StatusCode::SUCCESS;
SG::WriteDecorHandleKey< xAOD::EventInfo > m_beamPosSigmaZKey
Decorator handle for beamPosSigmaZ.
SG::WriteDecorHandleKey< xAOD::EventInfo > m_beamPosZKey
Decorator handle for beamPosZ.
SG::WriteDecorHandleKey< xAOD::EventInfo > m_beamPosXKey
Decorator handle for beamPosX.
virtual StatusCode execute(const EventContext &ctx) const override
Function executing the algorithm.
SG::WriteDecorHandleKey< xAOD::EventInfo > m_beamPosSigmaYKey
Decorator handle for beamPosSigmaY.
SG::ReadCondHandleKey< InDet::BeamSpotData > m_beamSpotKey
Conditions object with the beamspot information.
Algorithm for filling the beam position variables on xAOD::EventInfo.
SG::WriteDecorHandleKey< xAOD::EventInfo > m_beamTiltYZKey
Decorator handle for beamTiltYZ.
const_pointer_type retrieve()
float beamSigmaXY() const noexcept
::StatusCode StatusCode
StatusCode definition for legacy code.
Handle class for adding a decoration to an object.
Handle class for adding a decoration to an object.
SG::WriteDecorHandleKey< xAOD::EventInfo > m_beamPosSigmaXKey
Decorator handle for beamPosSigmaX.
virtual StatusCode initialize() override
Function initialising the algorithm.
const Amg::Vector3D & beamPos() const noexcept
SG::WriteDecorHandleKey< xAOD::EventInfo > m_beamPosYKey
Decorator handle for beamPosY.
StatusCode initialize(bool used=true)
const ReadHandleKey< T > & contHandleKey() const
Return the handle key for the container.
SG::WriteDecorHandleKey< xAOD::EventInfo > m_beamPosSigmaXYKey
Decorator handle for beamPosSigmaXY.
StatusCode initialize(bool used=true)
If this object is used as a property, then this should be called during the initialize phase.
SG::WriteDecorHandleKey< xAOD::EventInfo > m_beamStatusKey
Decorator handle for beamStatus.
int beamStatus() const noexcept
float beamTilt(int i) const noexcept
Returns the beam sigma for the i+3-th error matrix element (the 'tilt')
DECLARE_COMPONENT(MuonGMR4::ReadoutGeomCnvAlg)
float beamSigma(int i) const noexcept
Returns the beam sigma for the i-th error matrix element.
SG::WriteDecorHandleKey< xAOD::EventInfo > m_beamTiltXZKey
Decorator handle for beamTiltXZ.