ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
InnerDetector
InDetRecAlgs
InDetPrepRawDataFormation
src
SiDetectorElementStatusAlg.h
Go to the documentation of this file.
1
// -*- C++ -*-
2
3
/*
4
Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
5
*/
6
7
#ifndef PIXELCONDITIONSALGORITHMS_SIDETECTORELEMENTINFOALG_H
8
#define PIXELCONDITIONSALGORITHMS_SIDETECTORELEMENTINFOALG_H
9
10
#include "
AthenaBaseComps/AthReentrantAlgorithm.h
"
11
12
#include "
StoreGate/WriteHandleKey.h
"
13
14
#include "
InDetConditionsSummaryService/IDetectorElementStatusTool.h
"
15
#include "
InDetReadoutGeometry/SiDetectorElementStatus.h
"
16
17
18
namespace
InDet
{
19
class
SiDetectorElementStatusAlg
:
public
AthReentrantAlgorithm
20
{
21
public
:
22
SiDetectorElementStatusAlg
(
const
std::string& name, ISvcLocator* pSvcLocator);
23
virtual
~SiDetectorElementStatusAlg
()
override
=
default
;
24
25
virtual
StatusCode
initialize
()
override
;
26
virtual
StatusCode
execute
(
const
EventContext& ctx)
const override
;
27
28
// @TODO should a reentrant algorithm be clonable ??
29
// virtual bool isClonable() const override { return true; };
30
31
private
:
32
ToolHandle <IDetectorElementStatusTool>
m_condSummaryTool
33
{
this
,
"ConditionsSummaryTool"
,
""
,
"Tool to retrieve e.g. Pixel or SCT Conditions summary"
};
34
SG::WriteHandleKey<InDet::SiDetectorElementStatus>
m_writeKey
35
{
this
,
"WriteKey"
,
""
,
"Key of output SiDetectorElementStatus data"
};
36
};
37
}
38
#endif
// PIXELCONDITIONSALGORITHMS_SIDETECTORELEMENTINFOALG_H
AthReentrantAlgorithm.h
IDetectorElementStatusTool.h
SiDetectorElementStatus.h
WriteHandleKey.h
Property holding a SG store/key/clid from which a WriteHandle is made.
AthReentrantAlgorithm
An algorithm that can be simultaneously executed in multiple threads.
Definition
AthReentrantAlgorithm.h:74
InDet::SiDetectorElementStatusAlg::m_writeKey
SG::WriteHandleKey< InDet::SiDetectorElementStatus > m_writeKey
Definition
SiDetectorElementStatusAlg.h:35
InDet::SiDetectorElementStatusAlg::initialize
virtual StatusCode initialize() override
Definition
SiDetectorElementStatusAlg.cxx:19
InDet::SiDetectorElementStatusAlg::SiDetectorElementStatusAlg
SiDetectorElementStatusAlg(const std::string &name, ISvcLocator *pSvcLocator)
Definition
SiDetectorElementStatusAlg.cxx:14
InDet::SiDetectorElementStatusAlg::execute
virtual StatusCode execute(const EventContext &ctx) const override
Definition
SiDetectorElementStatusAlg.cxx:27
InDet::SiDetectorElementStatusAlg::m_condSummaryTool
ToolHandle< IDetectorElementStatusTool > m_condSummaryTool
Definition
SiDetectorElementStatusAlg.h:33
InDet::SiDetectorElementStatusAlg::~SiDetectorElementStatusAlg
virtual ~SiDetectorElementStatusAlg() override=default
SG::WriteHandleKey
Property holding a SG store/key/clid from which a WriteHandle is made.
Definition
StoreGate/StoreGate/WriteHandleKey.h:40
InDet
Primary Vertex Finder.
Definition
VP1ErrorUtils.h:36
Generated on
for ATLAS Offline Software by
1.17.0