ATLAS Offline Software
SCT_DetectorElementStatus.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 SCT_DETECTORELEMENTSTATUS_H
6 #define SCT_DETECTORELEMENTSTATUS_H
8 
9 namespace InDet {
13  {
14  static constexpr unsigned int NUM_CHIPS_PER_WAFER = 6;
15  public:
17  : InDet::SiDetectorElementStatus(detector_elements) {}
18  protected:
19  virtual unsigned int numberOfChips([[maybe_unused]] const InDetDD::SiDetectorDesign& design) const override {
20  // @TODO eliminate the dynamic cast when not in debug build
21  return NUM_CHIPS_PER_WAFER;
22  }
23 
24  };
25 
26 }
27 #endif
InDetDD::SiDetectorElementCollection
Definition: SiDetectorElementCollection.h:30
InDet::SCT_DetectorElementStatus
Event data to hold the status information for SCT modules.
Definition: SCT_DetectorElementStatus.h:13
SiDetectorElementStatus.h
InDet
DUMMY Primary Vertex Finder.
Definition: VP1ErrorUtils.h:36
InDet::SiDetectorElementStatus
Definition: SiDetectorElementStatus.h:62
InDet::SCT_DetectorElementStatus::numberOfChips
virtual unsigned int numberOfChips([[maybe_unused]] const InDetDD::SiDetectorDesign &design) const override
Definition: SCT_DetectorElementStatus.h:19
InDet::SCT_DetectorElementStatus::SCT_DetectorElementStatus
SCT_DetectorElementStatus(const InDetDD::SiDetectorElementCollection &detector_elements)
Definition: SCT_DetectorElementStatus.h:16
InDetDD::SiDetectorDesign
Definition: SiDetectorDesign.h:50
InDet::SCT_DetectorElementStatus::NUM_CHIPS_PER_WAFER
static constexpr unsigned int NUM_CHIPS_PER_WAFER
Definition: SCT_DetectorElementStatus.h:14