ATLAS Offline Software
RodRobIdMap.cxx
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration.
3  */
13 #include "eformat/SourceIdentifier.h"
14 
15 
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:564
RodRobIdMap.h
ROD->ROB mapping part of Hid2RESrcID.