ATLAS Offline Software
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 
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
60 };
61 
62 #endif // TRIGHLTRESULTBYTESTREAM_HLTResultMTByteStreamDecoderTool_H
HLTResultMTByteStreamDecoderTool::decodeHeader
StatusCode decodeHeader(const RawEvent *rawEvent, HLT::HLTResultMT &resultToFill) const
Fills the HLTResultMT object from the ByteStream event header.
Definition: HLTResultMTByteStreamDecoderTool.cxx:78
RawEvent
OFFLINE_FRAGMENTS_NAMESPACE::FullEventFragment RawEvent
data type for reading raw event
Definition: RawEvent.h:37
HLT::HLTResultMT
A container class for data required to build online output from HLT.
Definition: HLTResultMT.h:38
HLTResultMTByteStreamDecoderTool::HLTResultMTByteStreamDecoderTool
HLTResultMTByteStreamDecoderTool(const std::string &type, const std::string &name, const IInterface *parent)
Standard constructor.
Definition: HLTResultMTByteStreamDecoderTool.cxx:23
HLTResultMTByteStreamDecoderTool::finalize
virtual StatusCode finalize() override
Definition: HLTResultMTByteStreamDecoderTool.cxx:39
RawEvent.h
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
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
AthAlgTool.h
test_pyathena.parent
parent
Definition: test_pyathena.py:15
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
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:192
get_generator_info.version
version
Definition: get_generator_info.py:33
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
HLTResultMT.h
HLTResultMTByteStreamDecoderTool::initialize
virtual StatusCode initialize() override
Definition: HLTResultMTByteStreamDecoderTool.cxx:31
python.CaloScaleNoiseConfig.type
type
Definition: CaloScaleNoiseConfig.py:78
AthAlgTool
Definition: AthAlgTool.h:26
HLTResultMTByteStreamDecoderTool
Tool filling an HLTResultMT from ByteStream event data.
Definition: HLTResultMTByteStreamDecoderTool.h:18