ATLAS Offline Software
Loading...
Searching...
No Matches
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
*/
10
11
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
}
id2
HWIdentifier id2
Definition
LArRodBlockPhysicsV0.cxx:562
RodRobIdMap.h
ROD->ROB mapping part of Hid2RESrcID.
RodRobIdMap::getRobID
uint32_t getRobID(uint32_t rod_id) const
Make a ROB Source ID from a ROD source ID.
Definition
RodRobIdMap.cxx:18
Generated on
for ATLAS Offline Software by
1.14.0