ATLAS Offline Software
HLTSrcIdMap.cxx
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 #include "HLTSrcIdMap.h"
7 #include "eformat/SourceIdentifier.h"
8 
9 // implementation of HLTSrcIdMap
10 // Map ROD Source ID to higher level Fragment Source ID.
11 //
12 
14 {
15  eformat::helper::SourceIdentifier helpHLTResultID(m_detId, rod_id);
16  return helpHLTResultID.code();
17 }
18 
20 {
21  return getRobID(rob_id);
22 }
23 
25 {
26  return getRobID(ros_id);
27 }
28 
xAOD::uint32_t
setEventNumber uint32_t
Definition: EventInfo_v1.cxx:127
HLT::HLTSrcIdMap::getRobID
uint32_t getRobID(uint32_t rod_id=0) const
Make a ROB Source ID from a ROD source ID.
Definition: HLTSrcIdMap.cxx:13
HLT::HLTSrcIdMap::getDetID
uint32_t getDetID(uint32_t ros_id=0) const
Make a SubDetector ID from ROS source ID.
Definition: HLTSrcIdMap.cxx:24
HLT::HLTSrcIdMap::m_detId
eformat::SubDetector m_detId
sub detector ID
Definition: HLTSrcIdMap.h:67
HLTSrcIdMap.h
HLT::HLTSrcIdMap::getRosID
uint32_t getRosID(uint32_t rob_id=0) const
Make a ROS Source ID from a ROB source ID.
Definition: HLTSrcIdMap.cxx:19