ATLAS Offline Software
PixelReadoutManager.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 PIXELREADOUTMANAGER_H
6 #define PIXELREADOUTMANAGER_H
7 
10 
11 
12 class PixelID;
13 
14 namespace InDetDD
15 {
16 class PixelDetectorManager;
17 
18 class PixelReadoutManager final : public extends<AthService, IPixelReadoutManager>
19 {
20 public:
21  PixelReadoutManager(const std::string &name,
22  ISvcLocator *svc);
23 
24  virtual StatusCode initialize() override final;
25 
26  virtual PixelModuleType getModuleType(Identifier id) const override final;
27  virtual PixelDiodeType getDiodeType(Identifier id) const override final;
28 
29  virtual Identifier getPixelIdfromHash(IdentifierHash offlineIdHash,
30  uint32_t FE,
31  uint32_t row,
32  uint32_t column) const override final;
33  virtual Identifier getPixelId(Identifier offlineId,
34  uint32_t FE,
35  uint32_t row,
36  uint32_t column) const override final;
37 
38  virtual uint32_t getFE(Identifier diodeId,
39  Identifier offlineId) const override final;
40  virtual uint32_t getColumn(Identifier diodeId,
41  Identifier offlineId) const override final;
42  virtual uint32_t getRow(Identifier diodeId,
43  Identifier offlineId) const override final;
44 
45 private:
46  ServiceHandle<StoreGateSvc> m_detStore{this, "DetectorStore", "DetectorStore"};
48  const PixelID *m_idHelper{};
49 };
50 
51 }
52 
53 #endif
query_example.row
row
Definition: query_example.py:24
InDetDD::PixelReadoutManager::m_detStore
ServiceHandle< StoreGateSvc > m_detStore
Definition: PixelReadoutManager.h:46
xAOD::uint32_t
setEventNumber uint32_t
Definition: EventInfo_v1.cxx:127
InDetDD::PixelReadoutManager::getPixelId
virtual Identifier getPixelId(Identifier offlineId, uint32_t FE, uint32_t row, uint32_t column) const override final
Definition: PixelReadoutManager.cxx:133
InDetDD::PixelDiodeType
PixelDiodeType
Definition: PixelReadoutDefinitions.h:20
DeMoUpdate.column
dictionary column
Definition: DeMoUpdate.py:1110
Identifier
Definition: DetectorDescription/Identifier/Identifier/Identifier.h:32
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
InDetDD::PixelModuleType
PixelModuleType
Definition: PixelReadoutDefinitions.h:11
Handler::svc
AthROOTErrorHandlerSvc * svc
Definition: AthROOTErrorHandlerSvc.cxx:10
IPixelReadoutManager.h
InDetDD::PixelReadoutManager::PixelReadoutManager
PixelReadoutManager(const std::string &name, ISvcLocator *svc)
Definition: PixelReadoutManager.cxx:17
InDetDD::PixelDetectorManager
Definition: PixelDetectorManager.h:47
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:192
InDetDD::PixelReadoutManager::getFE
virtual uint32_t getFE(Identifier diodeId, Identifier offlineId) const override final
Definition: PixelReadoutManager.cxx:243
InDetDD::PixelReadoutManager::getRow
virtual uint32_t getRow(Identifier diodeId, Identifier offlineId) const override final
Definition: PixelReadoutManager.cxx:388
InDetDD::PixelReadoutManager::getPixelIdfromHash
virtual Identifier getPixelIdfromHash(IdentifierHash offlineIdHash, uint32_t FE, uint32_t row, uint32_t column) const override final
Definition: PixelReadoutManager.cxx:124
InDetDD
Message Stream Member.
Definition: FakeTrackBuilder.h:8
InDetDD::PixelReadoutManager::getColumn
virtual uint32_t getColumn(Identifier diodeId, Identifier offlineId) const override final
Definition: PixelReadoutManager.cxx:308
InDetDD::PixelReadoutManager::m_detManager
const PixelDetectorManager * m_detManager
Definition: PixelReadoutManager.h:47
InDetDD::PixelReadoutManager::m_idHelper
const PixelID * m_idHelper
Definition: PixelReadoutManager.h:48
InDetDD::PixelReadoutManager::getModuleType
virtual PixelModuleType getModuleType(Identifier id) const override final
Definition: PixelReadoutManager.cxx:36
AthService.h
InDetDD::PixelReadoutManager::getDiodeType
virtual PixelDiodeType getDiodeType(Identifier id) const override final
Definition: PixelReadoutManager.cxx:71
IdentifierHash
Definition: IdentifierHash.h:38
InDetDD::PixelReadoutManager
Definition: PixelReadoutManager.h:19
PixelID
Definition: PixelID.h:67
InDetDD::PixelReadoutManager::initialize
virtual StatusCode initialize() override final
Definition: PixelReadoutManager.cxx:24
ServiceHandle< StoreGateSvc >