ATLAS Offline Software
Loading...
Searching...
No Matches
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
uint32_t getRobID (uint32_t rod_id=0) const
 Make a ROB Source ID from a ROD source ID.
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.
void setDetId (eformat::SubDetector detId)
 setter for the detector ID

Private Attributes

eformat::SubDetector m_detId
 sub detector ID

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 33 of file HLTSrcIdMap.h.

Constructor & Destructor Documentation

◆ HLTSrcIdMap()

HLT::HLTSrcIdMap::HLTSrcIdMap ( )
inline

constrcutor

Definition at line 39 of file HLTSrcIdMap.h.

39: m_detId(eformat::OTHER) {}
eformat::SubDetector m_detId
sub detector ID
Definition HLTSrcIdMap.h:57

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}
uint32_t getRobID(uint32_t rod_id=0) const
Make a ROB Source ID from a ROD source ID.

◆ 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 53 of file HLTSrcIdMap.h.

Member Data Documentation

◆ m_detId

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

sub detector ID

Definition at line 57 of file HLTSrcIdMap.h.


The documentation for this class was generated from the following files: