ATLAS Offline Software
InnerDetector
InDetConditions
PixelConditionsTools
src
PixelDetectorElementStatus.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
3
*/
4
/* Dear emacs, this is -*-c++-*- */
5
#ifndef PIXELDETECTORELEMENTSTATUS_H
6
#define PIXELDETECTORELEMENTSTATUS_H
7
#include "
InDetReadoutGeometry/SiDetectorElementStatus.h
"
8
#include "
PixelReadoutGeometry/PixelModuleDesign.h
"
9
10
namespace
InDet
{
13
class
PixelDetectorElementStatus
:
public
InDet::SiDetectorElementStatus
14
{
15
public
:
16
PixelDetectorElementStatus
(
const
PixelDetectorElementStatus
&si_detector_element_status) =
default
;
17
PixelDetectorElementStatus
(
const
InDetDD::SiDetectorElementCollection
&detector_elements)
18
:
InDet
::
SiDetectorElementStatus
(detector_elements) {}
19
protected
:
20
virtual
unsigned
int
numberOfChips
(
const
InDetDD::SiDetectorDesign
& design)
const override
{
21
// @TODO eliminate the dynamic cast when not in debug build
22
const
InDetDD::PixelModuleDesign
&pixel_design=
dynamic_cast<
const
InDetDD::PixelModuleDesign
&
>
(design);
23
// number of circuits reported for FEI3 is only the number of circuits per half-module
24
return
pixel_design.
numberOfCircuits
() * (pixel_design.
getReadoutTechnology
() ==
InDetDD::PixelReadoutTechnology::FEI3
? 2 : 1);
25
}
26
27
};
28
29
}
30
#endif
InDet::PixelDetectorElementStatus::numberOfChips
virtual unsigned int numberOfChips(const InDetDD::SiDetectorDesign &design) const override
Definition:
PixelDetectorElementStatus.h:20
InDetDD::SiDetectorElementCollection
Definition:
SiDetectorElementCollection.h:30
InDetDD::PixelModuleDesign
Definition:
PixelModuleDesign.h:48
SiDetectorElementStatus.h
InDet
Primary Vertex Finder.
Definition:
VP1ErrorUtils.h:36
InDetDD::PixelReadoutTechnology::FEI3
@ FEI3
InDet::PixelDetectorElementStatus
Event data to hold the status information for Pixel modules.
Definition:
PixelDetectorElementStatus.h:14
InDet::SiDetectorElementStatus
Definition:
SiDetectorElementStatus.h:62
InDetDD::PixelModuleDesign::numberOfCircuits
int numberOfCircuits() const
Total number of circuits:
Definition:
PixelModuleDesign.h:315
InDet::PixelDetectorElementStatus::PixelDetectorElementStatus
PixelDetectorElementStatus(const PixelDetectorElementStatus &si_detector_element_status)=default
InDet::PixelDetectorElementStatus::PixelDetectorElementStatus
PixelDetectorElementStatus(const InDetDD::SiDetectorElementCollection &detector_elements)
Definition:
PixelDetectorElementStatus.h:17
InDetDD::PixelModuleDesign::getReadoutTechnology
PixelReadoutTechnology getReadoutTechnology() const
Definition:
PixelModuleDesign.h:386
PixelModuleDesign.h
InDetDD::SiDetectorDesign
Definition:
SiDetectorDesign.h:50
Generated on Fri Jan 10 2025 21:16:02 for ATLAS Offline Software by
1.8.18