ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
InnerDetector
InDetValidation
InDetDefectsEmulation
src
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
9
#include "
InDetReadoutGeometry/SiDetectorElement.h
"
10
11
#include "
PixelEmulatedDefects.h
"
12
#include "
PixelModuleHelper.h
"
13
#include "
PixelReadoutGeometry/PixelModuleDesign.h
"
14
#include "
DefectsEmulatorCondAlgImpl.h
"
15
#include "
InDetIdentifier/PixelID.h
"
16
17
namespace
InDet
{
18
19
class
PixelDefectsEmulatorCondAlg
;
20
namespace
detail
{
21
template
<>
22
struct
DetectorEmulatorCondAlgTraits
<
PixelDefectsEmulatorCondAlg
> {
23
using
T_ID
=
PixelID
;
24
using
T_ModuleHelper
=
PixelModuleHelper
;
25
using
T_EmulatedDefects
=
InDet::PixelEmulatedDefects
;
26
using
T_DetectorElementCollection
=
InDetDD::SiDetectorElementCollection
;
27
using
T_ModuleDesign
=
InDetDD::PixelModuleDesign
;
28
};
29
}
30
35
class
PixelDefectsEmulatorCondAlg
:
public
DefectsEmulatorCondAlgImpl
<PixelDefectsEmulatorCondAlg>
36
{
37
public
:
38
friend
class
DefectsEmulatorCondAlgImpl
<
PixelDefectsEmulatorCondAlg
>;
39
40
using
DefectsEmulatorCondAlgImpl
<
PixelDefectsEmulatorCondAlg
>
::DefectsEmulatorCondAlgImpl
;
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
}
57
60
static
bool
isModuleDefect
([[maybe_unused]]
const
EventContext &ctx, [[maybe_unused]]
unsigned
int
id_hash) {
61
return
false
;
62
}
63
};
64
}
65
#endif
DefectsEmulatorCondAlgImpl.h
PixelEmulatedDefects.h
PixelID.h
This is an Identifier helper class for the Pixel subdetector.
PixelModuleDesign.h
PixelModuleHelper.h
SiDetectorElement.h
InDetDD::PixelModuleDesign
Class used to describe the design of a module (diode segmentation and readout scheme).
Definition
PixelModuleDesign.h:45
InDetDD::SiDetectorElementCollection
Class to hold the SiDetectorElement objects to be put in the detector store.
Definition
SiDetectorElementCollection.h:27
InDet::DefectsEmulatorCondAlgImpl
Conditions algorithms for emulating ITK pixel or strip defects.
Definition
DefectsEmulatorCondAlgImpl.h:35
InDet::PixelDefectsEmulatorCondAlg
Conditions algorithms for emulating ITK pixel defects.
Definition
PixelDefectsEmulatorCondAlg.h:36
InDet::PixelDefectsEmulatorCondAlg::initialize
virtual StatusCode initialize() override final
Definition
PixelDefectsEmulatorCondAlg.cxx:10
InDet::PixelDefectsEmulatorCondAlg::getModuleConnectionMap
static std::unordered_multimap< unsigned int, unsigned int > getModuleConnectionMap(const InDetDD::SiDetectorElementCollection &det_ele)
Get the map which defines which modules are connected to the same physical sensor.
Definition
PixelDefectsEmulatorCondAlg.h:54
InDet::PixelDefectsEmulatorCondAlg::isModuleDefect
static bool isModuleDefect(const EventContext &ctx, unsigned int id_hash)
Provide alternative method to mark modules as defect.
Definition
PixelDefectsEmulatorCondAlg.h:60
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::PixelModuleHelper
Helper class to convert between offline column, row and hardware chip, column, row coordinates.
Definition
PixelModuleHelper.h:21
PixelID
This is an Identifier helper class for the Pixel subdetector.
Definition
PixelID.h:69
InDet
Primary Vertex Finder.
Definition
VP1ErrorUtils.h:36
detail
Definition
extract_histogram_tag.cxx:14
InDet::detail::DetectorEmulatorCondAlgTraits< PixelDefectsEmulatorCondAlg >::T_ModuleHelper
PixelModuleHelper T_ModuleHelper
Definition
PixelDefectsEmulatorCondAlg.h:24
InDet::detail::DetectorEmulatorCondAlgTraits< PixelDefectsEmulatorCondAlg >::T_ID
PixelID T_ID
Definition
PixelDefectsEmulatorCondAlg.h:23
InDet::detail::DetectorEmulatorCondAlgTraits< PixelDefectsEmulatorCondAlg >::T_DetectorElementCollection
InDetDD::SiDetectorElementCollection T_DetectorElementCollection
Definition
PixelDefectsEmulatorCondAlg.h:26
InDet::detail::DetectorEmulatorCondAlgTraits< PixelDefectsEmulatorCondAlg >::T_EmulatedDefects
InDet::PixelEmulatedDefects T_EmulatedDefects
Definition
PixelDefectsEmulatorCondAlg.h:25
InDet::detail::DetectorEmulatorCondAlgTraits< PixelDefectsEmulatorCondAlg >::T_ModuleDesign
InDetDD::PixelModuleDesign T_ModuleDesign
Definition
PixelDefectsEmulatorCondAlg.h:27
InDet::detail::DetectorEmulatorCondAlgTraits
Definition
DefectsEmulatorCondAlgImpl.h:20
Generated on
for ATLAS Offline Software by
1.17.0