ATLAS Offline Software
Loading...
Searching...
No Matches
ForwardEventInfoCnvAlg.h
Go to the documentation of this file.
1// Dear emacs, this is -*- c++ -*-
2
3/*
4 Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
5*/
6
7//
8#ifndef XAODFORWARDCNV_FORWARDEVENTINFOCNVALG_H
9#define XAODFORWARDCNV_FORWARDEVENTINFOCNVALG_H
10
11// System include(s):
12#include <string>
13
14// Athena/Gaudi include(s):
16#include "GaudiKernel/ToolHandle.h"
20
21namespace xAODMaker
22{
23
28 {
29
30 public:
32 ForwardEventInfoCnvAlg(const std::string &name, ISvcLocator *svcLoc);
33
35 virtual StatusCode initialize() override;
37 virtual StatusCode execute(const EventContext &ctx) const override;
38
39 private:
40 SG::ReadHandleKey<MBTSCollisionTime> m_inputKey{this, "MBTSCollisionsTimeKey", "MBTSCollisionTime"};
41
42 SG::WriteHandleKey<xAOD::ForwardEventInfoContainer> m_outputKey{this, "ForwardEventInfoKey", "MBTSForwardEventInfo"};
43
44 ToolHandle<IForwardEventInfoCnvTool> m_cnvTool{this, "CnvTool", "xAODMaker::ForwardEventInfoCnvTool/ForwardEventInfoCnvTool"};
45
46 }; // class ForwardEventInfoCnvAlg
47
48} // namespace xAODMaker
49
50#endif // XAODFORWARDCNV_FORWARDEVENTINFOCNVALG_H
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.
SG::ReadHandleKey< MBTSCollisionTime > m_inputKey
virtual StatusCode initialize() override
Function initialising the algorithm.
ToolHandle< IForwardEventInfoCnvTool > m_cnvTool
ForwardEventInfoCnvAlg(const std::string &name, ISvcLocator *svcLoc)
Regular algorithm constructor.
virtual StatusCode execute(const EventContext &ctx) const override
Function executing the algorithm.
SG::WriteHandleKey< xAOD::ForwardEventInfoContainer > m_outputKey