ATLAS Offline Software
Loading...
Searching...
No Matches
HLTResultByteStreamTool.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
3*/
4
5/**********************************************************************************
6 * @Project: HLT Steering
7 * @Package: HLTResultByteStream
8 * @class : HLTResultByteStreamTool
9 *
10 * @brief Gaudi bytestream Converter tool for the HLTResult class
11 **********************************************************************************/
12
13#ifndef TrigHLTResultByteStreamTool_h
14#define TrigHLTResultByteStreamTool_h
15
16/* general stuff */
17#include <stdint.h>
18#include <map>
19#include <string>
21
22/* To be able to use OFFLINE_FRAGMENTS_NAMESPACE */
26
27/* the RDO structure */
29#include "HLTSrcIdMap.h"
30
31#include "eformat/SourceIdentifier.h"
32
34
35namespace HLT {
36
44
45 public:
46 HLTResultByteStreamTool( const std::string& type, const std::string& name,
47 const IInterface* parent ) ;
48
49 static const InterfaceID& interfaceID( ) ;
50
54 StatusCode convert(IROBDataProviderSvc& dataProvider, HLTResult*& result,
55 std::string objName);
56
61 std::string objName);
62
63 private:
64
65 Gaudi::Property<std::map<std::string, uint32_t>> m_robIDMap{
66 this, "HLTResultRobIdMap", {
67 {"HLTResult_L2", eformat::helper::SourceIdentifier(eformat::TDAQ_LVL2, 0).code()},
68 {"HLTResult_EF", eformat::helper::SourceIdentifier(eformat::TDAQ_EVENT_FILTER, 0).code()},
69 {"HLTResult_HLT", eformat::helper::SourceIdentifier(eformat::TDAQ_HLT, 0).code()}
70 }, "Map of HLTResult names to ROB IDs"};
71
73 };
74}
75
77{
78 static const InterfaceID IID("HLTResultByteStreamTool", 1, 0);
79 return IID;
80}
81
82#endif
const boost::regex re(r_e)
Defines the ROB data entity. The ROB data is an abstract entity that is used to decouple the raw even...
OFFLINE_FRAGMENTS_NAMESPACE_WRITE::FullEventFragment RawEventWrite
data type for writing raw event
Definition RawEvent.h:39
AthAlgTool(const std::string &type, const std::string &name, const IInterface *parent)
Constructor with parameters:
Template class for assembling a full atlas raw event from subfragments.
HLTResultByteStreamTool(const std::string &type, const std::string &name, const IInterface *parent)
std Gaudi tool constructor
Gaudi::Property< std::map< std::string, uint32_t > > m_robIDMap
StatusCode convert(IROBDataProviderSvc &dataProvider, HLTResult *&result, std::string objName)
convert ROBData to HLTResult this function should be called from createObj
FullEventAssembler< HLTSrcIdMap > m_fea
static const InterfaceID & interfaceID()
std Gaudi interface
HLT::HLTResult is sumarising result of trigger decision evaluation (online/offline) It contains basic...
Definition HLTResult.h:51
Interface class for managing ROB for both online and offline.
It used to be useful piece of code for replacing actual SG with other store of similar functionality ...