ATLAS Offline Software
Loading...
Searching...
No Matches
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
10
11// Athena includes
14
19public:
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
57private:
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
OFFLINE_FRAGMENTS_NAMESPACE::FullEventFragment RawEvent
data type for reading raw event
Definition RawEvent.h:37
AthAlgTool(const std::string &type, const std::string &name, const IInterface *parent)
Constructor with parameters:
StatusCode decodeHeader(const RawEvent *rawEvent, HLT::HLTResultMT &resultToFill) const
Fills the HLTResultMT object from the ByteStream event header.
StatusCode decodePayload(const std::vector< const OFFLINE_FRAGMENTS_NAMESPACE::ROBFragment * > &vrobf, HLT::HLTResultMT &resultToFill) const
Fills the HLTResultMT object from vector of ROBFragments.
StatusCode checkRodMinorVersion(const HLT::HLTResultMT::RODMinorVersion version) const
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...
HLTResultMTByteStreamDecoderTool(const std::string &type, const std::string &name, const IInterface *parent)
Standard constructor.
A container class for data required to build online output from HLT.
Definition HLTResultMT.h:38
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