|
ATLAS Offline Software
|
Go to the documentation of this file.
5 #ifndef MUONCOMBINEDDECORALGS_MUONRPCTIMINGDECORALG_H
6 #define MUONCOMBINEDDECORALGS_MUONRPCTIMINGDECORALG_H
9 #include "GaudiKernel/ToolHandle.h"
31 "Handle to the service providing the IMuonEDMHelperSvc interface"};
44 const unsigned int _id):
52 template <
typename T>
void insert(
const std::vector<RpcInfo>&
info,
55 std::function<
T(
const RpcInfo&)>func)
const;
Property holding a SG store/key/clid from which a ReadHandle is made.
Property holding a SG store/key/clid/attr name from which a WriteDecorHandle is made.
virtual StatusCode execute(const EventContext &ctx) const override
SG::WriteDecorHandleKey< xAOD::MuonContainer > m_posZKey
ServiceHandle< Muon::IMuonEDMHelperSvc > m_edmHelperSvc
Property holding a SG store/key/clid from which a ReadHandle is made.
~MuonRpcTimingDecorAlg()=default
An algorithm that can be simultaneously executed in multiple threads.
MuonRpcTimingDecorAlg(const std::string &name, ISvcLocator *pSvcLocator)
Property holding a SG store/key/clid/attr name from which a WriteDecorHandle is made.
RpcInfo(const Amg::Vector3D &_pos, const float _time, const unsigned int _id)
::StatusCode StatusCode
StatusCode definition for legacy code.
Handle class for adding a decoration to an object.
void getRpcTiming(const xAOD::TrackParticle *tp, std::vector< RpcInfo > &info) const
Handle class for adding a decoration to an object.
virtual StatusCode initialize() override
void insert(const std::vector< RpcInfo > &info, const xAOD::Muon *muon, SG::WriteDecorHandle< xAOD::MuonContainer, std::vector< T >> &decor, std::function< T(const RpcInfo &)>func) const
SG::ReadHandleKey< xAOD::MuonContainer > m_MuonContainer
Eigen::Matrix< double, 3, 1 > Vector3D
SG::WriteDecorHandleKey< xAOD::MuonContainer > m_timeKey
Class describing a TrackParticle.
SG::WriteDecorHandleKey< xAOD::MuonContainer > m_idKey
SG::WriteDecorHandleKey< xAOD::MuonContainer > m_posYKey
ServiceHandle< Muon::IMuonIdHelperSvc > m_idHelperSvc
SG::WriteDecorHandleKey< xAOD::MuonContainer > m_posXKey