ATLAS Offline Software
PixelDefectsEmulatorCondAlg.h
Go to the documentation of this file.
1 // -*- C++ -*-
2 
3 /*
4  Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration
5 */
6 #ifndef INDET_PIXELDEFECTSEMULATORCONDALG_H
7 #define INDET_PIXELDEFECTSEMULATORCONDALG_H
8 
10 
11 #include "PixelEmulatedDefects.h"
12 #include "PixelModuleHelper.h"
16 
17 namespace InDet {
18 
20  namespace detail {
21  template <>
23  using T_ID = PixelID;
28  };
29  }
30 
35  class PixelDefectsEmulatorCondAlg : public DefectsEmulatorCondAlgImpl<PixelDefectsEmulatorCondAlg>
36  {
37  public:
39 
41 
42  virtual StatusCode initialize() override final;
43 
44  protected:
45 
48  static std::string IDName() { return std::string("PixelID"); }
49 
54  static std::unordered_multimap<unsigned int, unsigned int> getModuleConnectionMap([[maybe_unused]] const InDetDD::SiDetectorElementCollection &det_ele) {
55  return std::unordered_multimap<unsigned int, unsigned int> ();
56  }
60  static bool isModuleDefect([[maybe_unused]]const EventContext &ctx, [[maybe_unused]]unsigned int id_hash) {
61  return false;
62  }
63  };
64 }
65 #endif
PixelModuleHelper.h
PixelID.h
This is an Identifier helper class for the Pixel subdetector. This class is a factory for creating co...
InDet::PixelDefectsEmulatorCondAlg::isModuleDefect
static bool isModuleDefect([[maybe_unused]]const EventContext &ctx, [[maybe_unused]]unsigned int id_hash)
Provide alternative method to mark modules as defect.
Definition: PixelDefectsEmulatorCondAlg.h:60
InDetDD::SiDetectorElementCollection
Definition: SiDetectorElementCollection.h:27
InDetDD::PixelModuleDesign
Definition: PixelModuleDesign.h:45
InDet::PixelModuleHelper
Helper class to convert between offline column, row and hardware chip, column, row coordinates.
Definition: PixelModuleHelper.h:22
InDet
Primary Vertex Finder.
Definition: VP1ErrorUtils.h:36
InDet::PixelDefectsEmulatorCondAlg::getModuleConnectionMap
static std::unordered_multimap< unsigned int, unsigned int > getModuleConnectionMap([[maybe_unused]] const InDetDD::SiDetectorElementCollection &det_ele)
Get the map which defines which modules are connected to the same physical sensor.
Definition: PixelDefectsEmulatorCondAlg.h:54
detail
Definition: extract_histogram_tag.cxx:14
InDet::detail::DetectorEmulatorCondAlgTraits
Definition: DefectsEmulatorCondAlgImpl.h:20
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
InDet::DefectsEmulatorCondAlgImpl
Conditions algorithms for emulating ITK pixel or strip defects.
Definition: DefectsEmulatorCondAlgImpl.h:35
InDet::PixelDefectsEmulatorCondAlg::IDName
static std::string IDName()
The name of the PixelID identifier utility.
Definition: PixelDefectsEmulatorCondAlg.h:48
InDet::PixelEmulatedDefects
Specialization of emulated defects conditions data for ITk pixels Defect conditions data for defects ...
Definition: PixelEmulatedDefects.h:15
InDet::PixelDefectsEmulatorCondAlg::initialize
virtual StatusCode initialize() override final
Definition: PixelDefectsEmulatorCondAlg.cxx:11
DefectsEmulatorCondAlgImpl.h
PixelEmulatedDefects.h
SiDetectorElement.h
PixelModuleDesign.h
InDet::PixelDefectsEmulatorCondAlg
Conditions algorithms for emulating ITK pixel defects.
Definition: PixelDefectsEmulatorCondAlg.h:36
PixelID
Definition: PixelID.h:67