ATLAS Offline Software
CTPSrcIdMap.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef TRIGT1RESULTBYTESTREAM_CTPSRCIDMAP_H
6 #define TRIGT1RESULTBYTESTREAM_CTPSRCIDMAP_H
7 
8 #include <cstdint>
9 
16 class CTPSrcIdMap {
17 
18 public:
21  CTPSrcIdMap() = default;
22 
25  uint32_t getRodID () const;
26 
29  uint32_t getRobID (uint32_t rod_id) const;
30 
33  uint32_t getRosID (uint32_t rob_id) const;
34 
37  uint32_t getDetID (uint32_t ros_id) const;
38 
39 };
40 
41 #endif // TRIGT1RESULTBYTESTREAM_CTPSRCIDMAP_H
CTPSrcIdMap::CTPSrcIdMap
CTPSrcIdMap()=default
constrcutor
xAOD::uint32_t
setEventNumber uint32_t
Definition: EventInfo_v1.cxx:127
CTPSrcIdMap::getRosID
uint32_t getRosID(uint32_t rob_id) const
Make a ROS Source ID from a ROB source ID.
Definition: CTPSrcIdMap.cxx:23
CTPSrcIdMap::getDetID
uint32_t getDetID(uint32_t ros_id) const
Make a SubDetector ID from ROS source ID.
Definition: CTPSrcIdMap.cxx:29
CTPSrcIdMap
This class provides conversion between Lower level Source ID to higher level source ID for CTP ByteSt...
Definition: CTPSrcIdMap.h:16
CTPSrcIdMap::getRodID
uint32_t getRodID() const
get a ROD Source ID
Definition: CTPSrcIdMap.cxx:13
CTPSrcIdMap::getRobID
uint32_t getRobID(uint32_t rod_id) const
Make a ROB Source ID from a ROD source ID.
Definition: CTPSrcIdMap.cxx:18