ATLAS Offline Software
LArCalorimeter
LArCnv
LArByteStream
src
RodRobIdMap.cxx
Go to the documentation of this file.
1
/*
2
* Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration.
3
*/
12
#include "
LArByteStream/RodRobIdMap.h
"
13
#include "eformat/SourceIdentifier.h"
14
15
18
uint32_t
RodRobIdMap::getRobID
(
uint32_t
rod_id)
const
19
{
20
// Change Module Type to ROB
21
using
eformat::helper::SourceIdentifier;
22
SourceIdentifier
id
= SourceIdentifier(rod_id);
23
SourceIdentifier
id2
= SourceIdentifier(
id
.subdetector_id(),
id
.module_id());
24
return
id2
.code();
25
}
xAOD::uint32_t
setEventNumber uint32_t
Definition:
EventInfo_v1.cxx:127
RodRobIdMap::getRobID
uint32_t getRobID(uint32_t rod_id) const
Make a ROB Source ID from a ROD source ID.
Definition:
RodRobIdMap.cxx:18
id2
HWIdentifier id2
Definition:
LArRodBlockPhysicsV0.cxx:562
RodRobIdMap.h
ROD->ROB mapping part of Hid2RESrcID.
Generated on Sun Dec 22 2024 21:17:10 for ATLAS Offline Software by
1.8.18