ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Event
xAOD
xAODEventInfoCnv
src
EventInfoCnvAlg.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#ifndef XAODEVENTINFOCNV_EVENTINFOCNVALG_H
6
#define XAODEVENTINFOCNV_EVENTINFOCNVALG_H
7
8
// System include(s):
9
#include <string>
10
11
// Gaudi/Athena include(s):
12
#include "
AthenaBaseComps/AthReentrantAlgorithm.h
"
13
#include "
StoreGate/WriteHandle.h
"
14
#include "GaudiKernel/ToolHandle.h"
15
16
// Local include(s):
17
#include "
xAODCnvInterfaces/IEventInfoCnvTool.h
"
18
#include "
xAODEventInfo/EventInfo.h
"
19
#include "
xAODEventInfo/EventInfoContainer.h
"
20
#include "EventInfo/EventInfo.h"
21
22
namespace
xAODMaker
{
23
32
class
EventInfoCnvAlg
:
public
AthReentrantAlgorithm
{
33
34
public
:
36
EventInfoCnvAlg
(
const
std::string& name, ISvcLocator* svcLoc );
37
39
virtual
StatusCode
initialize
()
override
;
41
virtual
StatusCode
execute
(
const
EventContext& ctx)
const override
;
42
43
private
:
46
SG::ReadHandleKey<EventInfo>
m_aodKey
;
48
SG::WriteHandleKey<xAOD::EventInfo>
m_xaodKey
;
49
51
SG::WriteHandleKey<xAOD::EventInfoContainer>
m_pileupKey
;
52
54
ToolHandle< IEventInfoCnvTool >
m_cnvTool
;
55
56
};
// class EventInfoCnvAlg
57
58
}
// namespace xAODMaker
59
60
#endif
// XAODEVENTINFOCNV_EVENTINFOCNVALG_H
AthReentrantAlgorithm.h
EventInfoContainer.h
IEventInfoCnvTool.h
WriteHandle.h
Handle class for recording to StoreGate.
AthReentrantAlgorithm
An algorithm that can be simultaneously executed in multiple threads.
Definition
AthReentrantAlgorithm.h:74
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::EventInfoCnvAlg::execute
virtual StatusCode execute(const EventContext &ctx) const override
Function executing the algorithm.
Definition
EventInfoCnvAlg.cxx:55
xAODMaker::EventInfoCnvAlg::m_xaodKey
SG::WriteHandleKey< xAOD::EventInfo > m_xaodKey
Key for the output object.
Definition
EventInfoCnvAlg.h:48
xAODMaker::EventInfoCnvAlg::initialize
virtual StatusCode initialize() override
Function initialising the algorithm.
Definition
EventInfoCnvAlg.cxx:37
xAODMaker::EventInfoCnvAlg::EventInfoCnvAlg
EventInfoCnvAlg(const std::string &name, ISvcLocator *svcLoc)
Regular Algorithm constructor.
Definition
EventInfoCnvAlg.cxx:26
xAODMaker::EventInfoCnvAlg::m_pileupKey
SG::WriteHandleKey< xAOD::EventInfoContainer > m_pileupKey
For pileup.
Definition
EventInfoCnvAlg.h:51
xAODMaker::EventInfoCnvAlg::m_cnvTool
ToolHandle< IEventInfoCnvTool > m_cnvTool
Handle to the converter tool.
Definition
EventInfoCnvAlg.h:54
xAODMaker::EventInfoCnvAlg::m_aodKey
SG::ReadHandleKey< EventInfo > m_aodKey
Key for the input object If blank, we do a keyless retrieve from SG instead!
Definition
EventInfoCnvAlg.h:46
xAODMaker
Definition
StoreGateSvc.h:70
EventInfo.h
Generated on
for ATLAS Offline Software by
1.17.0