ATLAS Offline Software
Loading...
Searching...
No Matches
EventInfoUpdateFromContextAlg.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
3*/
4
14
15#ifndef XAODEVENTINFOCNV_EVENTINFOUPDATEFROMCONTEXTALG_H
16#define XAODEVENTINFOCNV_EVENTINFOUPDATEFROMCONTEXTALG_H
17
19
23
24#if !defined(XAOD_ANALYSIS) && !defined(GENERATIONBASE)
27#endif
28
29namespace xAODMaker
30{
31
33 {
34 public:
35
36 EventInfoUpdateFromContextAlg(const std::string &name, ISvcLocator *pSvcLocator);
37 virtual StatusCode initialize() override;
38 virtual StatusCode execute(const EventContext& ctx) const override;
39
40 private:
41#if !defined(XAOD_ANALYSIS) && !defined(GENERATIONBASE)
42 SG::ReadCondHandleKey<InDet::BeamSpotData> m_beamSpotKey { this, "BeamSpotKey", "BeamSpotData", "SG key for beam spot" };
43#endif
44
45 SG::ReadHandleKey<xAOD::EventInfo> m_signalInputKey{ this, "SignalInputKey", "Input_EventInfo", "ReadHandleKey for input xAOD::EventInfo" };
46 SG::WriteHandleKey<xAOD::EventInfo> m_outputKey{ this, "OutputKey", "EventInfo", "WriteHandleKey for Output xAOD::EventInfo" };
47
48 Gaudi::Property<uint32_t> m_mcChannelNumber{ this, "MCChannelNumber", 0, "sample MC channel number" };
49 };
50
51} // namespace xAODMaker
52
53#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.
An algorithm that can be simultaneously executed in multiple threads.
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.
EventInfoUpdateFromContextAlg(const std::string &name, ISvcLocator *pSvcLocator)
virtual StatusCode execute(const EventContext &ctx) const override
SG::ReadCondHandleKey< InDet::BeamSpotData > m_beamSpotKey
SG::ReadHandleKey< xAOD::EventInfo > m_signalInputKey
SG::WriteHandleKey< xAOD::EventInfo > m_outputKey