ATLAS Offline Software
PixelByteStreamErrorDetectorElementStatusTool.h
Go to the documentation of this file.
1 /* Dear emacs, this is -*-c++-*- */
2 #ifndef PIXELBYTESTREAMERRORDETECTORELEMENTSTATUSTOOL_H
3 #define PIXELBYTESTREAMERRORDETECTORELEMENTSTATUSTOOL_H
4 
7 #include "Gaudi/Property.h"
9 
15 {
16 public:
17  PixelByteStreamErrorDetectorElementStatusTool(const std::string& type, const std::string& name, const IInterface* parent)
19  {}
20  static InterfaceID& interfaceID();
21 
22  virtual StatusCode initialize() override;
23 
24  virtual std::unique_ptr<InDet::SiDetectorElementStatus>
25  getDetectorElementStatus(const EventContext& ctx,
27 private:
29  {this, "PixelByteStreamErrs", "PixelByteStreamErrs", "PixelByteStreamErrs container key"};
30 
31  Gaudi::Property<bool> m_useByteStreamFEI4
32  {this, "UseByteStreamFEI4", false, "Switch of the ByteStream error for FEI4"};
33 
34  Gaudi::Property<bool> m_useByteStreamFEI3
35  {this, "UseByteStreamFEI3", false, "Switch of the ByteStream error for FEI3"};
36 
37  Gaudi::Property<bool> m_useByteStreamRD53
38  {this, "UseByteStreamRD53", false, "Switch of the ByteStream error for RD53"};
39 
40  Gaudi::Property< bool> m_activeOnly
41  {this, "ActiveOnly", false, "Module and chip status will only reflect whether the modules or chips are active not necessarily whether the signals are good."};
42 
43  unsigned int m_readoutTechnologyMask {};
44 };
45 
47  static InterfaceID IID_PixelByteStreamErrorDetectorElementStatusTool("PixelByteStreamErrorDetectorElementStatusTool", 1, 0);
48  return IID_PixelByteStreamErrorDetectorElementStatusTool;
49 }
50 
51 #endif
PixelByteStreamErrorDetectorElementStatusTool::m_useByteStreamFEI4
Gaudi::Property< bool > m_useByteStreamFEI4
Definition: PixelByteStreamErrorDetectorElementStatusTool.h:32
PixelByteStreamErrorDetectorElementStatusTool::m_readoutTechnologyMask
unsigned int m_readoutTechnologyMask
Mask where each bit represents a readout technology;.
Definition: PixelByteStreamErrorDetectorElementStatusTool.h:43
PixelByteStreamErrorDetectorElementStatusTool
Tool to extend pixel detector element status data by the status extracted from the bytestream error c...
Definition: PixelByteStreamErrorDetectorElementStatusTool.h:15
PixelByteStreamErrorDetectorElementStatusTool::m_BSErrContReadKey
SG::ReadHandleKey< IDCInDetBSErrContainer > m_BSErrContReadKey
Definition: PixelByteStreamErrorDetectorElementStatusTool.h:29
PixelByteStreamErrorDetectorElementStatusTool::m_activeOnly
Gaudi::Property< bool > m_activeOnly
Definition: PixelByteStreamErrorDetectorElementStatusTool.h:41
PixelByteStreamErrorDetectorElementStatusTool::m_useByteStreamRD53
Gaudi::Property< bool > m_useByteStreamRD53
Definition: PixelByteStreamErrorDetectorElementStatusTool.h:38
PixelByteStreamErrorDetectorElementStatusTool::m_useByteStreamFEI3
Gaudi::Property< bool > m_useByteStreamFEI3
Definition: PixelByteStreamErrorDetectorElementStatusTool.h:35
PixelByteStreamErrorDetectorElementStatusTool::PixelByteStreamErrorDetectorElementStatusTool
PixelByteStreamErrorDetectorElementStatusTool(const std::string &type, const std::string &name, const IInterface *parent)
Definition: PixelByteStreamErrorDetectorElementStatusTool.h:17
SG::ReadHandleKey< IDCInDetBSErrContainer >
PixelDetectorElementStatusToolBase
Definition: PixelDetectorElementStatusToolBase.h:24
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
test_pyathena.parent
parent
Definition: test_pyathena.py:15
ReadCondHandleKey.h
PixelByteStreamErrorDetectorElementStatusTool::getDetectorElementStatus
virtual std::unique_ptr< InDet::SiDetectorElementStatus > getDetectorElementStatus(const EventContext &ctx, SG::WriteCondHandle< InDet::SiDetectorElementStatus > *whandle) const override
Definition: PixelByteStreamErrorDetectorElementStatusTool.cxx:31
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:195
PixelByteStreamErrorDetectorElementStatusTool::initialize
virtual StatusCode initialize() override
Definition: PixelByteStreamErrorDetectorElementStatusTool.cxx:6
PixelByteStreamErrorDetectorElementStatusTool::interfaceID
static InterfaceID & interfaceID()
Definition: PixelByteStreamErrorDetectorElementStatusTool.h:46
IDCInDetBSErrContainer.h
python.CaloScaleNoiseConfig.type
type
Definition: CaloScaleNoiseConfig.py:78
PixelDetectorElementStatusToolBase.h
SG::WriteCondHandle
Definition: WriteCondHandle.h:26