ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
LArCalorimeter
LArRecUtils
src
LArOnOffMappingAlg.h
Go to the documentation of this file.
1
//Dear emacs, this is -*- C++ -*-
2
3
/*
4
Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration
5
*/
6
7
#ifndef LARRECCONDITIONS_LARONOFFMAPPINGALG_H
8
#define LARRECCONDITIONS_LARONOFFMAPPINGALG_H
9
10
#include "
AthenaBaseComps/AthCondAlgorithm.h
"
11
#include "
StoreGate/ReadCondHandleKey.h
"
12
#include "
StoreGate/WriteCondHandleKey.h
"
13
14
#include "
AthenaPoolUtilities/CondAttrListCollection.h
"
15
#include "
LArCabling/LArOnOffIdMapping.h
"
16
#include "
PersistentDataModel/AthenaAttributeList.h
"
17
18
class
LArOnOffMappingAlg
:
public
AthCondAlgorithm
{
19
20
public
:
21
//Delegate constructor:
22
using
AthCondAlgorithm::AthCondAlgorithm;
23
24
virtual
~LArOnOffMappingAlg
() =
default
;
25
26
virtual
StatusCode
initialize
()
override
;
27
virtual
StatusCode
execute
(
const
EventContext& ctx)
const override
;
28
29
30
private
:
31
SG::ReadCondHandleKey<AthenaAttributeList>
m_readKey
{
this
,
"ReadKey"
,
"/LAr/Identifier/OnOnffMap"
};
32
SG::WriteCondHandleKey<LArOnOffIdMapping>
m_writeKey
{
this
,
"WriteKey"
,
"LArOnOffIdMap"
};
33
Gaudi::Property<bool>
m_isSuperCell
{
this
,
"isSuperCell"
,
false
};
34
};
35
36
37
38
#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...
LArOnOffIdMapping.h
AthenaAttributeList.h
An AttributeList represents a logical row of attributes in a metadata table.
ReadCondHandleKey.h
WriteCondHandleKey.h
AthCondAlgorithm
Base class for conditions algorithms.
Definition
AthCondAlgorithm.h:22
LArOnOffMappingAlg
Definition
LArOnOffMappingAlg.h:18
LArOnOffMappingAlg::initialize
virtual StatusCode initialize() override
Definition
LArOnOffMappingAlg.cxx:17
LArOnOffMappingAlg::~LArOnOffMappingAlg
virtual ~LArOnOffMappingAlg()=default
LArOnOffMappingAlg::m_isSuperCell
Gaudi::Property< bool > m_isSuperCell
Definition
LArOnOffMappingAlg.h:33
LArOnOffMappingAlg::m_readKey
SG::ReadCondHandleKey< AthenaAttributeList > m_readKey
Definition
LArOnOffMappingAlg.h:31
LArOnOffMappingAlg::m_writeKey
SG::WriteCondHandleKey< LArOnOffIdMapping > m_writeKey
Definition
LArOnOffMappingAlg.h:32
LArOnOffMappingAlg::execute
virtual StatusCode execute(const EventContext &ctx) const override
Definition
LArOnOffMappingAlg.cxx:29
SG::ReadCondHandleKey
Definition
ReadCondHandleKey.h:21
SG::WriteCondHandleKey
Definition
WriteCondHandleKey.h:22
Generated on
for ATLAS Offline Software by
1.17.0