ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
InnerDetector
InDetConditions
PixelConditionsAlgorithms
src
PixelDeadMapCondAlg.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
3
*/
10
11
#ifndef PIXELDEADMAPCONDALG_H
12
#define PIXELDEADMAPCONDALG_H
13
14
#include "
AthenaBaseComps/AthCondAlgorithm.h
"
15
16
#include "
StoreGate/ReadCondHandleKey.h
"
17
#include "
AthenaPoolUtilities/CondAttrListCollection.h
"
18
19
#include "
StoreGate/WriteCondHandleKey.h
"
20
#include "
PixelConditionsData/PixelDeadMapCondData.h
"
21
22
#include "
InDetIdentifier/PixelID.h
"
23
24
#include "Gaudi/Property.h"
25
26
class
PixelDeadMapCondAlg
:
public
AthCondAlgorithm
{
27
public
:
28
PixelDeadMapCondAlg
(
const
std::string& name, ISvcLocator* pSvcLocator);
29
30
virtual
StatusCode
initialize
()
override
final
;
31
virtual
StatusCode
execute
(
const
EventContext& ctx)
const
override
final
;
32
33
private
:
34
35
// To convert from identifier to identifier hash
36
const
PixelID
*
m_pixelID
{
nullptr
};
37
38
// Readkey takes precedence over the jsonPath. If readKey not empty json is ignored
39
SG::ReadCondHandleKey<CondAttrListCollection>
m_readKey
40
{
this
,
"ReadKey"
,
"/PIXEL/PixelModuleFeMask"
,
"Input deadmap folder"
};
41
42
SG::WriteCondHandleKey<PixelDeadMapCondData>
m_writeKey
43
{
this
,
"WriteKey"
,
"PixelDeadMapCondData"
,
"Output deadmap data"
};
44
45
Gaudi::Property<std::string>
m_JsonLocation
{
this
,
"JsonPath"
,
""
,
"Path to the JSON file containing list of modules to be masked"
};
46
47
48
};
49
50
#endif
AthCondAlgorithm.h
Base class for conditions algorithms.
CondAttrListCollection.h
This file defines the class for a collection of AttributeLists where each one is associated with a ch...
PixelDeadMapCondData.h
PixelID.h
This is an Identifier helper class for the Pixel subdetector.
ReadCondHandleKey.h
WriteCondHandleKey.h
AthCondAlgorithm
Base class for conditions algorithms.
Definition
AthCondAlgorithm.h:22
PixelDeadMapCondAlg::m_writeKey
SG::WriteCondHandleKey< PixelDeadMapCondData > m_writeKey
Definition
PixelDeadMapCondAlg.h:43
PixelDeadMapCondAlg::m_JsonLocation
Gaudi::Property< std::string > m_JsonLocation
Definition
PixelDeadMapCondAlg.h:45
PixelDeadMapCondAlg::PixelDeadMapCondAlg
PixelDeadMapCondAlg(const std::string &name, ISvcLocator *pSvcLocator)
Definition
PixelDeadMapCondAlg.cxx:18
PixelDeadMapCondAlg::initialize
virtual StatusCode initialize() override final
Definition
PixelDeadMapCondAlg.cxx:23
PixelDeadMapCondAlg::m_pixelID
const PixelID * m_pixelID
Definition
PixelDeadMapCondAlg.h:36
PixelDeadMapCondAlg::execute
virtual StatusCode execute(const EventContext &ctx) const override final
Definition
PixelDeadMapCondAlg.cxx:33
PixelDeadMapCondAlg::m_readKey
SG::ReadCondHandleKey< CondAttrListCollection > m_readKey
Definition
PixelDeadMapCondAlg.h:40
PixelID
This is an Identifier helper class for the Pixel subdetector.
Definition
PixelID.h:69
SG::ReadCondHandleKey
Definition
ReadCondHandleKey.h:21
SG::WriteCondHandleKey
Definition
WriteCondHandleKey.h:22
Generated on
for ATLAS Offline Software by
1.17.0