ATLAS Offline Software
Public Member Functions | Private Attributes | List of all members
HLT::HLTSrcIdMap Class Reference

this class provides conversion between Lower level Source ID to higher level source ID for HLT ByteStream fragments. More...

#include <HLTSrcIdMap.h>

Collaboration diagram for HLT::HLTSrcIdMap:

Public Member Functions

 HLTSrcIdMap ()
 constrcutor More...
 
uint32_t getRobID (uint32_t rod_id=0) const
 Make a ROB Source ID from a ROD source ID. More...
 
uint32_t getRosID (uint32_t rob_id=0) const
 Make a ROS Source ID from a ROB source ID. More...
 
uint32_t getDetID (uint32_t ros_id=0) const
 Make a SubDetector ID from ROS source ID. More...
 
void setDetId (eformat::SubDetector detId)
 setter for the detector ID More...
 

Private Attributes

eformat::SubDetector m_detId
 sub detector ID More...
 

Detailed Description

this class provides conversion between Lower level Source ID to higher level source ID for HLT ByteStream fragments.

This is to be used in assembling the fragments from ROD fragments Hong Ma Oct 18, 2002

Definition at line 43 of file HLTSrcIdMap.h.

Constructor & Destructor Documentation

◆ HLTSrcIdMap()

HLT::HLTSrcIdMap::HLTSrcIdMap ( )
inline

constrcutor

Definition at line 49 of file HLTSrcIdMap.h.

Member Function Documentation

◆ getDetID()

uint32_t HLT::HLTSrcIdMap::getDetID ( uint32_t  ros_id = 0) const

Make a SubDetector ID from ROS source ID.

Definition at line 24 of file HLTSrcIdMap.cxx.

25 {
26  return getRobID(ros_id);
27 }

◆ getRobID()

uint32_t HLT::HLTSrcIdMap::getRobID ( uint32_t  rod_id = 0) const

Make a ROB Source ID from a ROD source ID.

Definition at line 13 of file HLTSrcIdMap.cxx.

14 {
15  eformat::helper::SourceIdentifier helpHLTResultID(m_detId, rod_id);
16  return helpHLTResultID.code();
17 }

◆ getRosID()

uint32_t HLT::HLTSrcIdMap::getRosID ( uint32_t  rob_id = 0) const

Make a ROS Source ID from a ROB source ID.

Definition at line 19 of file HLTSrcIdMap.cxx.

20 {
21  return getRobID(rob_id);
22 }

◆ setDetId()

void HLT::HLTSrcIdMap::setDetId ( eformat::SubDetector  detId)
inline

setter for the detector ID

Definition at line 63 of file HLTSrcIdMap.h.

Member Data Documentation

◆ m_detId

eformat::SubDetector HLT::HLTSrcIdMap::m_detId
private

sub detector ID

Definition at line 67 of file HLTSrcIdMap.h.


The documentation for this class was generated from the following files:
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::m_detId
eformat::SubDetector m_detId
sub detector ID
Definition: HLTSrcIdMap.h:67