ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Trigger
TrigSteer
TrigHLTResultByteStream
src
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
9
#include "
HLTResultMTByteStreamDecoderTool.h
"
10
#include "
TrigSteeringEvent/HLTResultMT.h
"
11
12
// Athena includes
13
#include "
AthenaBaseComps/AthReentrantAlgorithm.h
"
14
#include "
ByteStreamCnvSvcBase/IROBDataProviderSvc.h
"
15
#include "
StoreGate/WriteHandle.h
"
16
20
class
HLTResultMTByteStreamDecoderAlg
:
public
AthReentrantAlgorithm
{
21
public
:
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
30
private
:
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
46
ServiceHandle<IROBDataProviderSvc>
m_robDataProviderSvc
;
47
48
// ------------------------- Other private members ---------------------------
50
std::vector<uint32_t>
m_robIdsToDecode
;
51
};
52
53
#endif
// TRIGHLTRESULTBYTESTREAM_HLTResultMTByteStreamDecoderAlg_H
AthReentrantAlgorithm.h
HLTResultMTByteStreamDecoderTool.h
HLTResultMT.h
IROBDataProviderSvc.h
WriteHandle.h
Handle class for recording to StoreGate.
AthReentrantAlgorithm
An algorithm that can be simultaneously executed in multiple threads.
Definition
AthReentrantAlgorithm.h:74
HLTResultMTByteStreamDecoderAlg::m_decoderTool
ToolHandle< HLTResultMTByteStreamDecoderTool > m_decoderTool
Tool performing the decoding work.
Definition
HLTResultMTByteStreamDecoderAlg.h:43
HLTResultMTByteStreamDecoderAlg::finalize
virtual StatusCode finalize() override
Definition
HLTResultMTByteStreamDecoderAlg.cxx:34
HLTResultMTByteStreamDecoderAlg::m_moduleIdsToDecode
Gaudi::Property< std::vector< uint16_t > > m_moduleIdsToDecode
Module IDs to decode.
Definition
HLTResultMTByteStreamDecoderAlg.h:33
HLTResultMTByteStreamDecoderAlg::HLTResultMTByteStreamDecoderAlg
HLTResultMTByteStreamDecoderAlg(const std::string &name, ISvcLocator *svcLoc)
Standard constructor.
Definition
HLTResultMTByteStreamDecoderAlg.cxx:10
HLTResultMTByteStreamDecoderAlg::m_robDataProviderSvc
ServiceHandle< IROBDataProviderSvc > m_robDataProviderSvc
ROBDataProvider service handle.
Definition
HLTResultMTByteStreamDecoderAlg.h:46
HLTResultMTByteStreamDecoderAlg::execute
virtual StatusCode execute(const EventContext &eventContext) const override
Definition
HLTResultMTByteStreamDecoderAlg.cxx:43
HLTResultMTByteStreamDecoderAlg::m_robIdsToDecode
std::vector< uint32_t > m_robIdsToDecode
Full ROB IDs constructed from the ModuleIdsToDecode property.
Definition
HLTResultMTByteStreamDecoderAlg.h:50
HLTResultMTByteStreamDecoderAlg::initialize
virtual StatusCode initialize() override
Definition
HLTResultMTByteStreamDecoderAlg.cxx:17
HLTResultMTByteStreamDecoderAlg::m_hltResultWHKey
SG::WriteHandleKey< HLT::HLTResultMT > m_hltResultWHKey
StoreGate key for the output HLTResultMT.
Definition
HLTResultMTByteStreamDecoderAlg.h:38
SG::WriteHandleKey
Property holding a SG store/key/clid from which a WriteHandle is made.
Definition
StoreGate/StoreGate/WriteHandleKey.h:40
ServiceHandle
Definition
ClusterMakerTool.h:36
Generated on
for ATLAS Offline Software by
1.17.0