ATLAS Offline Software
DummyDecisionWriter.h
Go to the documentation of this file.
1 // This file's extension implies that it's C, but it's really -*- C++ -*-.
2 /*
3  * Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration.
4  */
14 #ifndef DATAMODELTESTDATACOMMON_DUMMYDECISIONWRITER_H
15 #define DATAMODELTESTDATACOMMON_DUMMYDECISIONWRITER_H
16 
17 
21 
22 
23 namespace DMTest {
24 
25 
31  : public AthReentrantAlgorithm
32 {
33 public:
35 
36 
40  virtual StatusCode initialize() override;
41 
42 
46  virtual StatusCode execute (const EventContext& ctx) const override;
47 
48 
49 private:
51  { this, "DecisionKey", "decisions", "" };
52 };
53 
54 
55 } // namespace DMTest
56 
57 
58 #endif // not DATAMODELTESTDATACOMMON_DUMMYDECISIONWRITER_H
DMTest::DummyDecisionWriter::execute
virtual StatusCode execute(const EventContext &ctx) const override
Algorithm event processing.
Definition: DummyDecisionWriter.cxx:34
TrigDecision.h
DMTest::DummyDecisionWriter::initialize
virtual StatusCode initialize() override
Algorithm initialization; called at the beginning of the job.
Definition: DummyDecisionWriter.cxx:24
AthReentrantAlgorithm
An algorithm that can be simultaneously executed in multiple threads.
Definition: AthReentrantAlgorithm.h:83
DMTest::DummyDecisionWriter
Make a dummy xAOD::TrigDecision to avoid warnings when writing bytestream.
Definition: DummyDecisionWriter.h:32
AthReentrantAlgorithm::AthReentrantAlgorithm
AthReentrantAlgorithm()
Default constructor:
SG::WriteHandleKey
Property holding a SG store/key/clid from which a WriteHandle is made.
Definition: StoreGate/StoreGate/WriteHandleKey.h:40
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
AthReentrantAlgorithm.h
WriteHandleKey.h
Property holding a SG store/key/clid from which a WriteHandle is made.
DMTest::DummyDecisionWriter::m_decisionKey
SG::WriteHandleKey< xAOD::TrigDecision > m_decisionKey
Definition: DummyDecisionWriter.h:51
DMTest
Definition: B.h:23