ATLAS Offline Software
Loading...
Searching...
No Matches
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):
14#include "GaudiKernel/ToolHandle.h"
15
16// Local include(s):
20#include "EventInfo/EventInfo.h"
21
22namespace xAODMaker {
23
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:
49
52
54 ToolHandle< IEventInfoCnvTool > m_cnvTool;
55
56 }; // class EventInfoCnvAlg
57
58} // namespace xAODMaker
59
60#endif // XAODEVENTINFOCNV_EVENTINFOCNVALG_H
Handle class for recording to StoreGate.
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.
virtual StatusCode execute(const EventContext &ctx) const override
Function executing the algorithm.
SG::WriteHandleKey< xAOD::EventInfo > m_xaodKey
Key for the output object.
virtual StatusCode initialize() override
Function initialising the algorithm.
EventInfoCnvAlg(const std::string &name, ISvcLocator *svcLoc)
Regular Algorithm constructor.
SG::WriteHandleKey< xAOD::EventInfoContainer > m_pileupKey
For pileup.
ToolHandle< IEventInfoCnvTool > m_cnvTool
Handle to the converter tool.
SG::ReadHandleKey< EventInfo > m_aodKey
Key for the input object If blank, we do a keyless retrieve from SG instead!