ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Event
xAOD
xAODEventInfoCnv
src
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
18
#include "
AthenaBaseComps/AthReentrantAlgorithm.h
"
19
20
#include "
StoreGate/ReadHandleKey.h
"
21
#include "
StoreGate/WriteHandleKey.h
"
22
#include "
xAODEventInfo/EventInfo.h
"
23
24
#if !defined(XAOD_ANALYSIS) && !defined(GENERATIONBASE)
25
#include "
StoreGate/ReadCondHandleKey.h
"
26
#include "
BeamSpotConditionsData/BeamSpotData.h
"
27
#endif
28
29
namespace
xAODMaker
30
{
31
32
class
EventInfoUpdateFromContextAlg
:
public
AthReentrantAlgorithm
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
AthReentrantAlgorithm.h
BeamSpotData.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.
AthReentrantAlgorithm
An algorithm that can be simultaneously executed in multiple threads.
Definition
AthReentrantAlgorithm.h:74
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
SG::WriteHandleKey
Property holding a SG store/key/clid from which a WriteHandle is made.
Definition
StoreGate/StoreGate/WriteHandleKey.h:40
xAODMaker::EventInfoUpdateFromContextAlg::initialize
virtual StatusCode initialize() override
Definition
EventInfoUpdateFromContextAlg.cxx:18
xAODMaker::EventInfoUpdateFromContextAlg::EventInfoUpdateFromContextAlg
EventInfoUpdateFromContextAlg(const std::string &name, ISvcLocator *pSvcLocator)
Definition
EventInfoUpdateFromContextAlg.cxx:15
xAODMaker::EventInfoUpdateFromContextAlg::m_mcChannelNumber
Gaudi::Property< uint32_t > m_mcChannelNumber
Definition
EventInfoUpdateFromContextAlg.h:48
xAODMaker::EventInfoUpdateFromContextAlg::execute
virtual StatusCode execute(const EventContext &ctx) const override
Definition
EventInfoUpdateFromContextAlg.cxx:36
xAODMaker::EventInfoUpdateFromContextAlg::m_beamSpotKey
SG::ReadCondHandleKey< InDet::BeamSpotData > m_beamSpotKey
Definition
EventInfoUpdateFromContextAlg.h:42
xAODMaker::EventInfoUpdateFromContextAlg::m_signalInputKey
SG::ReadHandleKey< xAOD::EventInfo > m_signalInputKey
Definition
EventInfoUpdateFromContextAlg.h:45
xAODMaker::EventInfoUpdateFromContextAlg::m_outputKey
SG::WriteHandleKey< xAOD::EventInfo > m_outputKey
Definition
EventInfoUpdateFromContextAlg.h:46
xAODMaker
Definition
StoreGateSvc.h:70
EventInfo.h
Generated on
for ATLAS Offline Software by
1.17.0