ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
InnerDetector
InDetConditions
PixelConditionsTools
src
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
10
#include "
AthenaBaseComps/AthAlgTool.h
"
11
#include "GaudiKernel/ServiceHandle.h"
12
#include "Gaudi/Property.h"
13
#include "
InDetConditionsSummaryService/IDetectorElementStatusTool.h
"
14
15
#include "Identifier/Identifier.h"
16
#include "
Identifier/IdentifierHash.h
"
17
#include "
InDetIdentifier/PixelID.h
"
18
19
#include "
StoreGate/ReadCondHandleKey.h
"
20
#include "
InDetReadoutGeometry/SiDetectorElementCollection.h
"
21
#include "
InDetReadoutGeometry/SiDetectorElementStatus.h
"
22
23
class
PixelDetectorElementStatusToolBase
:
public
extends<AthAlgTool, IDetectorElementStatusTool> {
24
public
:
25
26
PixelDetectorElementStatusToolBase
(
const
std::string&
type
,
const
std::string& name,
const
IInterface* parent);
27
virtual
~PixelDetectorElementStatusToolBase
();
28
virtual
StatusCode
initialize
()
override
;
29
30
protected
:
34
std::unique_ptr<InDet::SiDetectorElementStatus>
35
createDetectorElementStatus
(
const
EventContext& ctx,
36
SG::WriteCondHandle<InDet::SiDetectorElementStatus>
* whandle)
const
;
37
38
const
PixelID
*
m_pixelID
{};
39
40
private
:
41
SG::ReadCondHandleKey<InDetDD::SiDetectorElementCollection>
m_pixelDetEleCollKey
42
{
this
,
"PixelDetEleCollKey"
,
"PixelDetectorElementCollection"
,
"Key of SiDetectorElementCollection for Pixel"
};
43
44
SG::ReadCondHandleKey<InDet::SiDetectorElementStatus>
m_pixelDetElStatusCondKey
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
AthAlgTool.h
IDetectorElementStatusTool.h
IdentifierHash.h
PixelID.h
This is an Identifier helper class for the Pixel subdetector.
ReadCondHandleKey.h
SiDetectorElementCollection.h
SiDetectorElementStatus.h
PixelDetectorElementStatusToolBase::m_pixelDetEleCollKey
SG::ReadCondHandleKey< InDetDD::SiDetectorElementCollection > m_pixelDetEleCollKey
Definition
PixelDetectorElementStatusToolBase.h:42
PixelDetectorElementStatusToolBase::PixelDetectorElementStatusToolBase
PixelDetectorElementStatusToolBase(const std::string &type, const std::string &name, const IInterface *parent)
Definition
PixelDetectorElementStatusToolBase.cxx:8
PixelDetectorElementStatusToolBase::createDetectorElementStatus
std::unique_ptr< InDet::SiDetectorElementStatus > createDetectorElementStatus(const EventContext &ctx, SG::WriteCondHandle< InDet::SiDetectorElementStatus > *whandle) const
Create a new detector element status element container.
Definition
PixelDetectorElementStatusToolBase.cxx:34
PixelDetectorElementStatusToolBase::initialize
virtual StatusCode initialize() override
Definition
PixelDetectorElementStatusToolBase.cxx:15
PixelDetectorElementStatusToolBase::~PixelDetectorElementStatusToolBase
virtual ~PixelDetectorElementStatusToolBase()
PixelDetectorElementStatusToolBase::m_pixelID
const PixelID * m_pixelID
Definition
PixelDetectorElementStatusToolBase.h:38
PixelDetectorElementStatusToolBase::m_pixelDetElStatusCondKey
SG::ReadCondHandleKey< InDet::SiDetectorElementStatus > m_pixelDetElStatusCondKey
Definition
PixelDetectorElementStatusToolBase.h:45
PixelID
This is an Identifier helper class for the Pixel subdetector.
Definition
PixelID.h:69
SG::ReadCondHandleKey
Definition
ReadCondHandleKey.h:21
SG::WriteCondHandle
Definition
WriteCondHandle.h:26
type
Generated on
for ATLAS Offline Software by
1.17.0