ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Trigger
TrigSteer
TrigHLTResultByteStream
src
HLTResultMTByteStreamDecoderTool.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_HLTResultMTByteStreamDecoderTool_H
6
#define TRIGHLTRESULTBYTESTREAM_HLTResultMTByteStreamDecoderTool_H
7
8
// Trigger includes
9
#include "
TrigSteeringEvent/HLTResultMT.h
"
10
11
// Athena includes
12
#include "
AthenaBaseComps/AthAlgTool.h
"
13
#include "
ByteStreamData/RawEvent.h
"
14
18
class
HLTResultMTByteStreamDecoderTool
:
virtual
public
AthAlgTool
{
19
public
:
21
HLTResultMTByteStreamDecoderTool
(
const
std::string&
type
,
const
std::string& name,
const
IInterface* parent);
22
23
// ------------------------- AthAlgTool methods ------------------------------
24
virtual
StatusCode
initialize
()
override
;
25
virtual
StatusCode
finalize
()
override
;
26
27
// ------------------------- Specific methods of this class ------------------
34
HLT::HLTResultMT::RODMinorVersion
getHltRodMinorVersion
(
const
std::vector<const OFFLINE_FRAGMENTS_NAMESPACE::ROBFragment*>& vrobf)
const
;
44
StatusCode
decodeHeader
(
const
RawEvent
* rawEvent,
HLT::HLTResultMT
& resultToFill)
const
;
54
StatusCode
decodePayload
(
const
std::vector<const OFFLINE_FRAGMENTS_NAMESPACE::ROBFragment*>& vrobf,
55
HLT::HLTResultMT
& resultToFill)
const
;
56
57
private
:
58
// Check if RODMinorVersion is valid and 1.0 or higher
59
StatusCode
checkRodMinorVersion
(
const
HLT::HLTResultMT::RODMinorVersion
version)
const
;
60
};
61
62
#endif
// TRIGHLTRESULTBYTESTREAM_HLTResultMTByteStreamDecoderTool_H
AthAlgTool.h
HLTResultMT.h
RawEvent.h
RawEvent
OFFLINE_FRAGMENTS_NAMESPACE::FullEventFragment RawEvent
data type for reading raw event
Definition
RawEvent.h:37
AthAlgTool::AthAlgTool
AthAlgTool(const std::string &type, const std::string &name, const IInterface *parent)
Constructor with parameters:
Definition
AthAlgTool.cxx:16
HLTResultMTByteStreamDecoderTool::decodeHeader
StatusCode decodeHeader(const RawEvent *rawEvent, HLT::HLTResultMT &resultToFill) const
Fills the HLTResultMT object from the ByteStream event header.
Definition
HLTResultMTByteStreamDecoderTool.cxx:78
HLTResultMTByteStreamDecoderTool::finalize
virtual StatusCode finalize() override
Definition
HLTResultMTByteStreamDecoderTool.cxx:39
HLTResultMTByteStreamDecoderTool::decodePayload
StatusCode decodePayload(const std::vector< const OFFLINE_FRAGMENTS_NAMESPACE::ROBFragment * > &vrobf, HLT::HLTResultMT &resultToFill) const
Fills the HLTResultMT object from vector of ROBFragments.
Definition
HLTResultMTByteStreamDecoderTool.cxx:169
HLTResultMTByteStreamDecoderTool::checkRodMinorVersion
StatusCode checkRodMinorVersion(const HLT::HLTResultMT::RODMinorVersion version) const
Definition
HLTResultMTByteStreamDecoderTool.cxx:219
HLTResultMTByteStreamDecoderTool::getHltRodMinorVersion
HLT::HLTResultMT::RODMinorVersion getHltRodMinorVersion(const std::vector< const OFFLINE_FRAGMENTS_NAMESPACE::ROBFragment * > &vrobf) const
Retrieves the HLT ROD minor version from vector of ROBFragments, checking it is the same in all of th...
Definition
HLTResultMTByteStreamDecoderTool.cxx:45
HLTResultMTByteStreamDecoderTool::initialize
virtual StatusCode initialize() override
Definition
HLTResultMTByteStreamDecoderTool.cxx:31
HLTResultMTByteStreamDecoderTool::HLTResultMTByteStreamDecoderTool
HLTResultMTByteStreamDecoderTool(const std::string &type, const std::string &name, const IInterface *parent)
Standard constructor.
Definition
HLTResultMTByteStreamDecoderTool.cxx:23
HLT::HLTResultMT
A container class for data required to build online output from HLT.
Definition
HLTResultMT.h:38
HLT::HLTResultMT::RODMinorVersion
std::pair< uint8_t, uint8_t > RODMinorVersion
Type to store decoded ROD minor version (16-bit version split into two 8-bit numbers).
Definition
HLTResultMT.h:50
type
Generated on
for ATLAS Offline Software by
1.17.0