ATLAS Offline Software
Loading...
Searching...
No Matches
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{
16public:
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,
27private:
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
unsigned int m_readoutTechnologyMask
Mask where each bit represents a readout technology;.
PixelByteStreamErrorDetectorElementStatusTool(const std::string &type, const std::string &name, const IInterface *parent)
virtual std::unique_ptr< InDet::SiDetectorElementStatus > getDetectorElementStatus(const EventContext &ctx, SG::WriteCondHandle< InDet::SiDetectorElementStatus > *whandle) const override
PixelDetectorElementStatusToolBase(const std::string &type, const std::string &name, const IInterface *parent)
Property holding a SG store/key/clid from which a ReadHandle is made.