ATLAS Offline Software
HLTResultWriter.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 /*
4  Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
5 */
6 
7 // $Id$
16 #ifndef DATAMODELTESTDATAWRITE_HLTRESULTWRITER_H
17 #define DATAMODELTESTDATAWRITE_HLTRESULTWRITER_H
18 
19 
23 #include "GaudiKernel/ToolHandle.h"
25 
26 namespace HLT {
27  class HLTResult;
28 }
29 
30 
31 namespace DMTest {
32 
33 
38  : public AthAlgorithm
39 {
40 public:
46  HLTResultWriter (const std::string &name, ISvcLocator *pSvcLocator);
47 
48 
53 
54 
58  virtual StatusCode execute() override;
59 
60 
64  virtual StatusCode finalize() override;
65 
66 
67 private:
70 
72  ToolHandle<HLT::Navigation> m_nav;
73 };
74 
75 
76 } // namespace DMTest
77 
78 
79 #endif // not DATAMODELTESTDATAWRITE_HLTRESULTWRITER_H
DMTest::HLTResultWriter::execute
virtual StatusCode execute() override
Algorithm event processing.
Definition: HLTResultWriter.cxx:95
initialize
void initialize()
Definition: run_EoverP.cxx:894
AthAlgorithm.h
SG::WriteHandleKey< HLT::HLTResult >
HLT
It used to be useful piece of code for replacing actual SG with other store of similar functionality ...
Definition: HLTResultReader.h:26
DMTest::HLTResultWriter
Test for serializing an xAOD object into bytestream.
Definition: HLTResultWriter.h:39
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
Navigation.h
DMTest::HLTResultWriter::ATLAS_NOT_THREAD_SAFE
virtual StatusCode initialize ATLAS_NOT_THREAD_SAFE() override
Algorithm initialization; called at the beginning of the job.
AthAlgorithm
Definition: AthAlgorithm.h:47
WriteHandleKey.h
Property holding a SG store/key/clid from which a WriteHandle is made.
DMTest::HLTResultWriter::m_nav
ToolHandle< HLT::Navigation > m_nav
Navigation object use to fill the result.
Definition: HLTResultWriter.h:72
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:221
DMTest::HLTResultWriter::finalize
virtual StatusCode finalize() override
Algorithm finalization; called at the end of the job.
Definition: HLTResultWriter.cxx:114
DMTest::HLTResultWriter::m_resultKey
SG::WriteHandleKey< HLT::HLTResult > m_resultKey
Handle to write the HLTResult object.
Definition: HLTResultWriter.h:69
checker_macros.h
Define macros for attributes used to control the static checker.
DMTest::HLTResultWriter::HLTResultWriter
HLTResultWriter(const std::string &name, ISvcLocator *pSvcLocator)
Constructor.
Definition: HLTResultWriter.cxx:63
DMTest
Definition: B.h:23