ATLAS Offline Software
Loading...
Searching...
No Matches
PixelDetectorElementStatusToolBase.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef PIXELCONDITIONSSERVICES_PIXELDETECTORELEMENTSTATUSTOOLBASE_H
6#define PIXELCONDITIONSSERVICES_PIXELDETECTORELEMENTSTATUSTOOLBASE_H
7
8#include <string>
9
11#include "GaudiKernel/ServiceHandle.h"
12#include "Gaudi/Property.h"
14
15#include "Identifier/Identifier.h"
18
22
23class PixelDetectorElementStatusToolBase: public extends<AthAlgTool, IDetectorElementStatusTool> {
24 public:
25
26 PixelDetectorElementStatusToolBase(const std::string& type, const std::string& name, const IInterface* parent);
28 virtual StatusCode initialize() override;
29
30 protected:
34 std::unique_ptr<InDet::SiDetectorElementStatus>
35 createDetectorElementStatus(const EventContext& ctx,
37
38 const PixelID* m_pixelID {};
39
40 private:
42 {this, "PixelDetEleCollKey", "PixelDetectorElementCollection", "Key of SiDetectorElementCollection for Pixel"};
43
45 {this, "PixelDetElStatusCondDataBaseKey", "" , "Optional conditions data key of an input SiDetectorElementStatus on which the newly created object will be based."};
46
47};
48
49
50#endif
This is an Identifier helper class for the Pixel subdetector.
SG::ReadCondHandleKey< InDetDD::SiDetectorElementCollection > m_pixelDetEleCollKey
PixelDetectorElementStatusToolBase(const std::string &type, const std::string &name, const IInterface *parent)
std::unique_ptr< InDet::SiDetectorElementStatus > createDetectorElementStatus(const EventContext &ctx, SG::WriteCondHandle< InDet::SiDetectorElementStatus > *whandle) const
Create a new detector element status element container.
SG::ReadCondHandleKey< InDet::SiDetectorElementStatus > m_pixelDetElStatusCondKey
This is an Identifier helper class for the Pixel subdetector.
Definition PixelID.h:67