ATLAS Offline Software
Loading...
Searching...
No Matches
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
9
10namespace InDet {
14 {
15 public:
16 PixelDetectorElementStatus(const PixelDetectorElementStatus &si_detector_element_status) = default;
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
Class used to describe the design of a module (diode segmentation and readout scheme)
PixelReadoutTechnology getReadoutTechnology() const
int numberOfCircuits() const
Total number of circuits:
Base class for the detector design classes for Pixel and SCT.
Class to hold the SiDetectorElement objects to be put in the detector store.
PixelDetectorElementStatus(const InDetDD::SiDetectorElementCollection &detector_elements)
virtual unsigned int numberOfChips(const InDetDD::SiDetectorDesign &design) const override
PixelDetectorElementStatus(const PixelDetectorElementStatus &si_detector_element_status)=default
SiDetectorElementStatus(const InDetDD::SiDetectorElementCollection &detector_elements)
Primary Vertex Finder.