ATLAS Offline Software
Loading...
Searching...
No Matches
HLTResultMTByteStreamDecoderAlg.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2018 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef TRIGHLTRESULTBYTESTREAM_HLTResultMTByteStreamDecoderAlg_H
6#define TRIGHLTRESULTBYTESTREAM_HLTResultMTByteStreamDecoderAlg_H
7
8// Trigger includes
11
12// Athena includes
16
21public:
23 HLTResultMTByteStreamDecoderAlg(const std::string& name, ISvcLocator* svcLoc);
24
25 // ------------------------- AthReentrantAlgorithm methods -------------------
26 virtual StatusCode initialize() override;
27 virtual StatusCode finalize() override;
28 virtual StatusCode execute(const EventContext& eventContext) const override;
29
30private:
31 // ------------------------- Properties --------------------------------------
33 Gaudi::Property<std::vector<uint16_t>> m_moduleIdsToDecode {
34 this, "ModuleIdsToDecode", {0,1,2,3,4,5,6},
35 "List of module IDs from which payload will be decoded"
36 };
37
38 SG::WriteHandleKey<HLT::HLTResultMT> m_hltResultWHKey {this, "HLTResultWHKey", "HLTResultMT",
39 "Key of the output HLTResultMT object"};
40
41 // ------------------------- Tool/Service handles ----------------------------
43 ToolHandle<HLTResultMTByteStreamDecoderTool> m_decoderTool {this, "DecoderTool", "HLTResultMTByteStreamDecoderTool",
44 "Tool performing the decoding work"};
45
47
48 // ------------------------- Other private members ---------------------------
50 std::vector<uint32_t> m_robIdsToDecode;
51};
52
53#endif // TRIGHLTRESULTBYTESTREAM_HLTResultMTByteStreamDecoderAlg_H
Handle class for recording to StoreGate.
An algorithm that can be simultaneously executed in multiple threads.
ToolHandle< HLTResultMTByteStreamDecoderTool > m_decoderTool
Tool performing the decoding work.
Gaudi::Property< std::vector< uint16_t > > m_moduleIdsToDecode
Module IDs to decode.
HLTResultMTByteStreamDecoderAlg(const std::string &name, ISvcLocator *svcLoc)
Standard constructor.
ServiceHandle< IROBDataProviderSvc > m_robDataProviderSvc
ROBDataProvider service handle.
virtual StatusCode execute(const EventContext &eventContext) const override
std::vector< uint32_t > m_robIdsToDecode
Full ROB IDs constructed from the ModuleIdsToDecode property.
SG::WriteHandleKey< HLT::HLTResultMT > m_hltResultWHKey
StoreGate key for the output HLTResultMT.
Property holding a SG store/key/clid from which a WriteHandle is made.