ATLAS Offline Software
HLTSrcIdMap.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2017 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  * $Id: HLTSrcIdMap.h,v 1.3 2007-07-05 13:40:31 eifert Exp $
16  **********************************************************************************/
17 
18 #ifndef HLTSrcIdMap_h
19 #define HLTSrcIdMap_h
20 
21 #include <stdint.h>
22 #include "eformat/SourceIdentifier.h"
23 
24 namespace HLT {
25 
34  class HLTSrcIdMap {
35 
36  public:
37 
40  HLTSrcIdMap() : m_detId(eformat::OTHER) {}
41 
44  uint32_t getRobID ( uint32_t rod_id=0);
45 
48  uint32_t getRosID ( uint32_t rob_id=0);
49 
52  uint32_t getDetID ( uint32_t ros_id=0);
53 
54  void setDetId(eformat::SubDetector detId) { m_detId = detId; }
55 
56  private:
57 
58  eformat::SubDetector m_detId;
59 
60  };
61 }
62 
63 #endif
eformat
Definition: L1CaloBsDecoderUtil.h:11
xAOD::uint32_t
setEventNumber uint32_t
Definition: EventInfo_v1.cxx:127
HLT::HLTSrcIdMap::getDetID
uint32_t getDetID(uint32_t ros_id=0)
Make a SubDetector ID from ROS source ID.
Definition: HLTSrcIdMap.cxx:24
HLT::HLTSrcIdMap::getRobID
uint32_t getRobID(uint32_t rod_id=0)
Make a ROB Source ID from a ROD source ID.
Definition: HLTSrcIdMap.cxx:13
HLT::HLTSrcIdMap::m_detId
eformat::SubDetector m_detId
sub detector ID
Definition: HLTSrcIdMap.h:69
HLT::HLTSrcIdMap::getRosID
uint32_t getRosID(uint32_t rob_id=0)
Make a ROS Source ID from a ROB source ID.
Definition: HLTSrcIdMap.cxx:19
HLT
It used to be useful piece of code for replacing actual SG with other store of similar functionality ...
Definition: HLTResultReader.h:26
HLT::HLTSrcIdMap::setDetId
void setDetId(eformat::SubDetector detId)
setter for the detector ID
Definition: HLTSrcIdMap.h:65
HLT::HLTSrcIdMap::HLTSrcIdMap
HLTSrcIdMap()
constrcutor
Definition: HLTSrcIdMap.h:51