Loading [MathJax]/extensions/tex2jax.js
ATLAS Offline Software
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
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;
29  const SiDetectorElement* element) const override final;
30 
31  virtual Identifier getPixelIdfromHash(IdentifierHash offlineIdHash,
32  uint32_t FE,
33  uint32_t row,
34  uint32_t column) const override final;
35  virtual Identifier getPixelId(Identifier offlineId,
36  uint32_t FE,
37  uint32_t row,
38  uint32_t column) const override final;
39 
40  virtual uint32_t getFE(Identifier diodeId,
41  Identifier offlineId) const override final;
42 
43  virtual uint32_t getFE(Identifier diodeId,
44  Identifier offlineId,
45  const SiDetectorElement* element) const override final;
46 
47  virtual uint32_t getColumn(Identifier diodeId,
48  Identifier offlineId) const override final;
49 
50  virtual uint32_t getRow(Identifier diodeId,
51  Identifier offlineId) const override final;
52 
53 private:
54  ServiceHandle<StoreGateSvc> m_detStore{this, "DetectorStore", "DetectorStore"};
56  const PixelID *m_idHelper{};
57 };
58 
59 }
60 
61 #endif
query_example.row
row
Definition: query_example.py:24
InDetDD::PixelReadoutManager::m_detStore
ServiceHandle< StoreGateSvc > m_detStore
Definition: PixelReadoutManager.h:54
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:138
InDetDD::PixelDiodeType
PixelDiodeType
Definition: PixelReadoutDefinitions.h:28
DeMoUpdate.column
dictionary column
Definition: DeMoUpdate.py:1110
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
InDetDD::PixelModuleType
PixelModuleType
Definition: PixelReadoutDefinitions.h:18
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:240
columnar::final
CM final
Definition: ColumnAccessor.h:106
InDetDD::PixelReadoutManager::getFE
virtual uint32_t getFE(Identifier diodeId, Identifier offlineId) const override final
Definition: PixelReadoutManager.cxx:248
InDetDD::PixelReadoutManager::getRow
virtual uint32_t getRow(Identifier diodeId, Identifier offlineId) const override final
Definition: PixelReadoutManager.cxx:400
InDetDD::SiDetectorElement
Definition: SiDetectorElement.h:109
InDetDD::PixelReadoutManager::getPixelIdfromHash
virtual Identifier getPixelIdfromHash(IdentifierHash offlineIdHash, uint32_t FE, uint32_t row, uint32_t column) const override final
Definition: PixelReadoutManager.cxx:129
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:320
InDetDD::PixelReadoutManager::m_detManager
const PixelDetectorManager * m_detManager
Definition: PixelReadoutManager.h:55
InDetDD::PixelReadoutManager::m_idHelper
const PixelID * m_idHelper
Definition: PixelReadoutManager.h:56
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:70
IdentifierHash
This is a "hash" representation of an Identifier. This encodes a 32 bit index which can be used to lo...
Definition: IdentifierHash.h:25
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 >
Identifier
Definition: IdentifierFieldParser.cxx:14