ATLAS Offline Software
IKeyWriterTool.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef TRIGCONFXAOD_IKEYWRITERTOOL_h
6 #define TRIGCONFXAOD_IKEYWRITERTOOL_h
7 
8 #include "GaudiKernel/IAlgTool.h"
9 
10 class EventContext;
11 
12 namespace TrigConf {
13 
18  class IKeyWriterTool : virtual public IAlgTool {
19  public:
21  virtual ~IKeyWriterTool() override = default;
22 
30  virtual StatusCode writeKeys(const EventContext& ctx, uint32_t&smk, uint32_t& l1psk, uint32_t& hltpsk) const = 0;
31 
36  virtual StatusCode writeKeys(const EventContext& ctx) const = 0;
37 
43  virtual StatusCode writeBunchgroupKey(const EventContext& ctx, uint32_t&bgk) const = 0;
44 
49  virtual StatusCode writeBunchgroupKey(const EventContext& ctx) const = 0;
50 
51  };
52 
53 }
54 
55 #endif
TrigConf::IKeyWriterTool::writeKeys
virtual StatusCode writeKeys(const EventContext &ctx) const =0
Version of writeKeys without return values.
xAOD::uint32_t
setEventNumber uint32_t
Definition: EventInfo_v1.cxx:127
RunEBWeightsComputation.smk
smk
Definition: RunEBWeightsComputation.py:87
TrigConf::IKeyWriterTool::writeKeys
virtual StatusCode writeKeys(const EventContext &ctx, uint32_t &smk, uint32_t &l1psk, uint32_t &hltpsk) const =0
Write the event's keys to StoreGate.
TrigConf
Forward iterator to traverse the main components of the trigger configuration.
Definition: Config.h:22
TrigConf::IKeyWriterTool::writeBunchgroupKey
virtual StatusCode writeBunchgroupKey(const EventContext &ctx) const =0
Version of writeBunchgroupKey without return values.
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
TrigConf::IKeyWriterTool::writeBunchgroupKey
virtual StatusCode writeBunchgroupKey(const EventContext &ctx, uint32_t &bgk) const =0
Write the event's bunchgroup to StoreGate.
TrigConf::IKeyWriterTool::~IKeyWriterTool
virtual ~IKeyWriterTool() override=default
TrigConf::IKeyWriterTool::DeclareInterfaceID
DeclareInterfaceID(IKeyWriterTool, 1, 0)
TrigConf::IKeyWriterTool
Definition: IKeyWriterTool.h:18
xAOD::l1psk
l1psk
Definition: TriggerMenu_v1.cxx:29