ATLAS Offline Software
Loading...
Searching...
No Matches
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
13uint32_t HLT::HLTSrcIdMap::getRobID( uint32_t rod_id ) const
14{
15 eformat::helper::SourceIdentifier helpHLTResultID(m_detId, rod_id);
16 return helpHLTResultID.code();
17}
18
19uint32_t HLT::HLTSrcIdMap::getRosID( uint32_t rob_id) const
20{
21 return getRobID(rob_id);
22}
23
24uint32_t HLT::HLTSrcIdMap::getDetID ( uint32_t ros_id) const
25{
26 return getRobID(ros_id);
27}
28
uint32_t getRosID(uint32_t rob_id=0) const
Make a ROS Source ID from a ROB source ID.
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