ATLAS Offline Software
Loading...
Searching...
No Matches
PixelActiveDetectorElementStatusTool.h
Go to the documentation of this file.
1/* Dear emacs, this is -*-c++-*- */
2#ifndef PIXELACTIVEDETECTORELEMENTSTATUSTOOL_H
3#define PIXELACTIVEDETECTORELEMENTSTATUSTOOL_H
4
8#include "Gaudi/Property.h"
9#include <memory>
10#include <tuple>
11#include <vector>
12#include <string>
13
14namespace InDet{
16}
17
18class EventContext;
19
21{
22public:
23 PixelActiveDetectorElementStatusTool(const std::string& type, const std::string& name, const IInterface* parent)
25 {}
26 static InterfaceID& interfaceID();
27
28 virtual StatusCode initialize() override;
29
30 virtual std::unique_ptr<InDet::SiDetectorElementStatus>
31 getDetectorElementStatus(const EventContext& ctx,
33private:
35 {this, "PixelDCSStatusCondData", "PixelDCSStatusCondData", "Pixel FSM status key"};
36 Gaudi::Property< std::vector<std::string> > m_isActiveStatus
37 {this, "IsActiveStatus", {},"Pixel module status for which the module is considered active." };
38
39 unsigned int m_activeStatusMask{0};
40};
41
43 static InterfaceID IID_PixelActiveDetectorElementStatusTool("PixelActiveDetectorElementStatusTool", 1, 0);
44 return IID_PixelActiveDetectorElementStatusTool;
45}
46
47#endif
Store pixel DCS module status in PixelDCSStatusData.
SG::ReadCondHandleKey< PixelDCSStatusData > m_condDCSStatusKey
virtual std::unique_ptr< InDet::SiDetectorElementStatus > getDetectorElementStatus(const EventContext &ctx, SG::WriteCondHandle< InDet::SiDetectorElementStatus > *whandle) const override
PixelActiveDetectorElementStatusTool(const std::string &type, const std::string &name, const IInterface *parent)
unsigned int m_activeStatusMask
mask in which each status is represented by a bit and for status values which are cnsidered active th...
Gaudi::Property< std::vector< std::string > > m_isActiveStatus
PixelDetectorElementStatusToolBase(const std::string &type, const std::string &name, const IInterface *parent)
Primary Vertex Finder.