ATLAS Offline Software
Loading...
Searching...
No Matches
HLTSrcIdMap.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3*/
4
5/**********************************************************************************
6 * @Project: HLT Steering
7 * @Package: HLTResultByteStream
8 * @class : HLTSrcIdMap
9 *
10 * @brief this class provides conversion between Lower level Source ID to
11 * higher level source ID for HLT ByteStream fragments.
12 *
13 *
14 * File and Version Information:
15 **********************************************************************************/
16
17#ifndef HLTSrcIdMap_h
18#define HLTSrcIdMap_h
19
20#include <stdint.h>
21#include "eformat/SourceIdentifier.h"
22
23namespace HLT {
24
34
35 public:
36
40
43 uint32_t getRobID ( uint32_t rod_id=0) const;
44
47 uint32_t getRosID ( uint32_t rob_id=0) const;
48
51 uint32_t getDetID ( uint32_t ros_id=0) const;
52
53 void setDetId(eformat::SubDetector detId) { m_detId = detId; }
54
55 private:
56
57 eformat::SubDetector m_detId;
58
59 };
60}
61
62#endif
uint32_t getRosID(uint32_t rob_id=0) const
Make a ROS Source ID from a ROB source ID.
HLTSrcIdMap()
constrcutor
Definition HLTSrcIdMap.h:39
void setDetId(eformat::SubDetector detId)
setter for the detector ID
Definition HLTSrcIdMap.h:53
uint32_t getDetID(uint32_t ros_id=0) const
Make a SubDetector ID from ROS source ID.
uint32_t getRobID(uint32_t rod_id=0) const
Make a ROB Source ID from a ROD source ID.
eformat::SubDetector m_detId
sub detector ID
Definition HLTSrcIdMap.h:57
It used to be useful piece of code for replacing actual SG with other store of similar functionality ...