Loading [MathJax]/extensions/tex2jax.js
ATLAS Offline Software
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
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"
15 
16 namespace InDet {
17 
19  namespace detail {
20  template <>
22  using T_ID = PixelID;
27  };
28  }
29 
34  class PixelDefectsEmulatorCondAlg : public DefectsEmulatorCondAlgImpl<PixelDefectsEmulatorCondAlg>
35  {
36  public:
38 
40 
41  virtual StatusCode initialize() override final;
42 
43  protected:
44 
47  static std::string IDName() { return std::string("PixelID"); }
48 
53  static std::unordered_multimap<unsigned int, unsigned int> getModuleConnectionMap([[maybe_unused]] const InDetDD::SiDetectorElementCollection &det_ele) {
54  return std::unordered_multimap<unsigned int, unsigned int> ();
55  }
59  static bool isModuleDefect([[maybe_unused]]const EventContext &ctx, [[maybe_unused]]unsigned int id_hash) {
60  return false;
61  }
62  };
63 }
64 #endif
PixelModuleHelper.h
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:59
InDetDD::SiDetectorElementCollection
Definition: SiDetectorElementCollection.h:30
InDetDD::PixelModuleDesign
Definition: PixelModuleDesign.h:48
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:53
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:47
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:35
PixelID
Definition: PixelID.h:67