ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
InnerDetector
InDetDetDescr
PixelReadoutGeometry
PixelReadoutGeometry
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
PixelModuleDesign.h
SiDetectorElementStatus.h
InDetDD::PixelModuleDesign
Class used to describe the design of a module (diode segmentation and readout scheme).
Definition
PixelModuleDesign.h:45
InDetDD::PixelModuleDesign::getReadoutTechnology
PixelReadoutTechnology getReadoutTechnology() const
Definition
PixelModuleDesign.h:391
InDetDD::PixelModuleDesign::numberOfCircuits
int numberOfCircuits() const
Total number of circuits:
Definition
PixelModuleDesign.h:306
InDetDD::SiDetectorDesign
Base class for the detector design classes for Pixel and SCT.
Definition
SiDetectorDesign.h:50
InDetDD::SiDetectorElementCollection
Class to hold the SiDetectorElement objects to be put in the detector store.
Definition
SiDetectorElementCollection.h:27
InDet::PixelDetectorElementStatus::PixelDetectorElementStatus
PixelDetectorElementStatus(const InDetDD::SiDetectorElementCollection &detector_elements)
Definition
PixelDetectorElementStatus.h:17
InDet::PixelDetectorElementStatus::numberOfChips
virtual unsigned int numberOfChips(const InDetDD::SiDetectorDesign &design) const override
Definition
PixelDetectorElementStatus.h:20
InDet::PixelDetectorElementStatus::PixelDetectorElementStatus
PixelDetectorElementStatus(const PixelDetectorElementStatus &si_detector_element_status)=default
InDet::SiDetectorElementStatus
Definition
SiDetectorElementStatus.h:62
InDet::SiDetectorElementStatus::SiDetectorElementStatus
SiDetectorElementStatus(const InDetDD::SiDetectorElementCollection &detector_elements)
Definition
SiDetectorElementStatus.h:64
InDetDD::PixelReadoutTechnology::FEI3
@ FEI3
Definition
PixelReadoutDefinitions.h:39
InDet
Primary Vertex Finder.
Definition
VP1ErrorUtils.h:36
Generated on
for ATLAS Offline Software by
1.17.0