ATLAS Offline Software
MuCTPISrcIdMap.cxx
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #include "eformat/SourceIdentifier.h"
6 
7 #include "MuCTPISrcIdMap.h"
8 
9 using eformat::helper::SourceIdentifier;
10 
11 
13  SourceIdentifier helpID( eformat::TDAQ_MUON_CTP_INTERFACE, 0 );
14  return helpID.code();
15 }
16 
18  SourceIdentifier helpID( eformat::TDAQ_MUON_CTP_INTERFACE, 0 );
19  return helpID.code();
20 }
21 
23  SourceIdentifier id = SourceIdentifier( rob_id );
24  SourceIdentifier id2 = SourceIdentifier( id.subdetector_id(), 0 );
25  return id2.code();
26 }
27 
29  SourceIdentifier id = SourceIdentifier( ros_id );
30  SourceIdentifier id2 = SourceIdentifier( id.subdetector_id(), 0 );
31  return id2.code();
32 }
MuCTPISrcIdMap::getRobID
uint32_t getRobID(uint32_t rod_id) const
Make a ROB Source ID from a ROD source ID.
Definition: MuCTPISrcIdMap.cxx:17
MuCTPISrcIdMap::getRodID
uint32_t getRodID() const
get a ROD Source ID
Definition: MuCTPISrcIdMap.cxx:12
xAOD::uint32_t
setEventNumber uint32_t
Definition: EventInfo_v1.cxx:127
id2
HWIdentifier id2
Definition: LArRodBlockPhysicsV0.cxx:562
MuCTPISrcIdMap::getRosID
uint32_t getRosID(uint32_t rob_id) const
Make a ROS Source ID from a ROB source ID.
Definition: MuCTPISrcIdMap.cxx:22
MuCTPISrcIdMap::getDetID
uint32_t getDetID(uint32_t ros_id) const
Make a SubDetector ID from ROS source ID.
Definition: MuCTPISrcIdMap.cxx:28
MuCTPISrcIdMap.h