ATLAS Offline Software
HLTResultReader.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 
15 #ifndef DATAMODELTESTDATAREAD_HLTRESULTREADER_H
16 #define DATAMODELTESTDATAREAD_HLTRESULTREADER_H
17 
18 
22 #include "GaudiKernel/ToolHandle.h"
24 
25 
26 namespace HLT {
27  class HLTResult;
28 }
29 
30 
31 namespace DMTest {
32 
33 
38  : public AthAlgorithm
39 {
40 public:
46  HLTResultReader (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 DATAMODELTESTDATAREAD_HLTRESULTREADER_H
ReadHandleKey.h
Property holding a SG store/key/clid from which a ReadHandle is made.
DMTest::HLTResultReader::execute
virtual StatusCode execute() override
Algorithm event processing.
Definition: HLTResultReader.cxx:95
DMTest::HLTResultReader::finalize
virtual StatusCode finalize() override
Algorithm finalization; called at the end of the job.
Definition: HLTResultReader.cxx:110
DMTest::HLTResultReader::m_nav
ToolHandle< HLT::Navigation > m_nav
Navigation object use to fill the result.
Definition: HLTResultReader.h:72
initialize
void initialize()
Definition: run_EoverP.cxx:894
DMTest::HLTResultReader::m_resultKey
SG::ReadHandleKey< HLT::HLTResult > m_resultKey
Handle to read the HLTResult object.
Definition: HLTResultReader.h:69
DMTest::HLTResultReader::ATLAS_NOT_THREAD_SAFE
virtual StatusCode initialize ATLAS_NOT_THREAD_SAFE() override
Algorithm initialization; called at the beginning of the job.
SG::ReadHandleKey< HLT::HLTResult >
DMTest::HLTResultReader
Test for serializing an xAOD object from bytestream.
Definition: HLTResultReader.h:39
AthAlgorithm.h
DMTest::HLTResultReader::HLTResultReader
HLTResultReader(const std::string &name, ISvcLocator *pSvcLocator)
Constructor.
Definition: HLTResultReader.cxx:63
HLT
It used to be useful piece of code for replacing actual SG with other store of similar functionality ...
Definition: HLTResultReader.h:26
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
Navigation.h
HLT::HLTResult
HLT::HLTResult is sumarising result of trigger decision evaluation (online/offline) It contains basic...
Definition: HLTResult.h:57
AthAlgorithm
Definition: AthAlgorithm.h:47
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:228
checker_macros.h
Define macros for attributes used to control the static checker.
DMTest
Definition: B.h:23