ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
InnerDetector
InDetConditions
PixelConditionsTools
src
PixelByteStreamErrorDetectorElementStatusTool.h
Go to the documentation of this file.
1
/* Dear emacs, this is -*-c++-*- */
2
#ifndef PIXELBYTESTREAMERRORDETECTORELEMENTSTATUSTOOL_H
3
#define PIXELBYTESTREAMERRORDETECTORELEMENTSTATUSTOOL_H
4
5
#include "
PixelDetectorElementStatusToolBase.h
"
6
#include "
StoreGate/ReadCondHandleKey.h
"
7
#include "Gaudi/Property.h"
8
#include "
InDetByteStreamErrors/IDCInDetBSErrContainer.h
"
9
14
class
PixelByteStreamErrorDetectorElementStatusTool
:
public
PixelDetectorElementStatusToolBase
15
{
16
public
:
17
PixelByteStreamErrorDetectorElementStatusTool
(
const
std::string&
type
,
const
std::string& name,
const
IInterface* parent)
18
:
PixelDetectorElementStatusToolBase
(
type
,name, 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,
26
SG::WriteCondHandle<InDet::SiDetectorElementStatus>
* whandle)
const override
;
27
private
:
28
SG::ReadHandleKey<IDCInDetBSErrContainer>
m_BSErrContReadKey
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
46
inline
InterfaceID&
PixelByteStreamErrorDetectorElementStatusTool::interfaceID
(){
47
static
InterfaceID IID_PixelByteStreamErrorDetectorElementStatusTool(
"PixelByteStreamErrorDetectorElementStatusTool"
, 1, 0);
48
return
IID_PixelByteStreamErrorDetectorElementStatusTool;
49
}
50
51
#endif
IDCInDetBSErrContainer.h
PixelDetectorElementStatusToolBase.h
ReadCondHandleKey.h
PixelByteStreamErrorDetectorElementStatusTool::interfaceID
static InterfaceID & interfaceID()
Definition
PixelByteStreamErrorDetectorElementStatusTool.h:46
PixelByteStreamErrorDetectorElementStatusTool::m_useByteStreamFEI4
Gaudi::Property< bool > m_useByteStreamFEI4
Definition
PixelByteStreamErrorDetectorElementStatusTool.h:32
PixelByteStreamErrorDetectorElementStatusTool::m_activeOnly
Gaudi::Property< bool > m_activeOnly
Definition
PixelByteStreamErrorDetectorElementStatusTool.h:41
PixelByteStreamErrorDetectorElementStatusTool::m_readoutTechnologyMask
unsigned int m_readoutTechnologyMask
Mask where each bit represents a readout technology;.
Definition
PixelByteStreamErrorDetectorElementStatusTool.h:43
PixelByteStreamErrorDetectorElementStatusTool::PixelByteStreamErrorDetectorElementStatusTool
PixelByteStreamErrorDetectorElementStatusTool(const std::string &type, const std::string &name, const IInterface *parent)
Definition
PixelByteStreamErrorDetectorElementStatusTool.h:17
PixelByteStreamErrorDetectorElementStatusTool::m_useByteStreamRD53
Gaudi::Property< bool > m_useByteStreamRD53
Definition
PixelByteStreamErrorDetectorElementStatusTool.h:38
PixelByteStreamErrorDetectorElementStatusTool::getDetectorElementStatus
virtual std::unique_ptr< InDet::SiDetectorElementStatus > getDetectorElementStatus(const EventContext &ctx, SG::WriteCondHandle< InDet::SiDetectorElementStatus > *whandle) const override
Definition
PixelByteStreamErrorDetectorElementStatusTool.cxx:31
PixelByteStreamErrorDetectorElementStatusTool::m_BSErrContReadKey
SG::ReadHandleKey< IDCInDetBSErrContainer > m_BSErrContReadKey
Definition
PixelByteStreamErrorDetectorElementStatusTool.h:29
PixelByteStreamErrorDetectorElementStatusTool::initialize
virtual StatusCode initialize() override
Definition
PixelByteStreamErrorDetectorElementStatusTool.cxx:6
PixelByteStreamErrorDetectorElementStatusTool::m_useByteStreamFEI3
Gaudi::Property< bool > m_useByteStreamFEI3
Definition
PixelByteStreamErrorDetectorElementStatusTool.h:35
PixelDetectorElementStatusToolBase::PixelDetectorElementStatusToolBase
PixelDetectorElementStatusToolBase(const std::string &type, const std::string &name, const IInterface *parent)
Definition
PixelDetectorElementStatusToolBase.cxx:8
SG::ReadHandleKey
Property holding a SG store/key/clid from which a ReadHandle is made.
Definition
StoreGate/StoreGate/ReadHandleKey.h:40
SG::WriteCondHandle
Definition
WriteCondHandle.h:26
type
Generated on
for ATLAS Offline Software by
1.17.0