ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
LArCalorimeter
LArRecUtils
src
LArLATOMEMappingAlg.h
Go to the documentation of this file.
1
//Dear emacs, this is -*- C++ -*-
2
3
/*
4
Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
5
*/
6
7
#ifndef LARLATOMEMAPPINGALG_H
8
#define LARLATOMEMAPPINGALG_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/LArLATOMEMapping.h
"
16
20
21
class
LArLATOMEMappingAlg
:
public
AthCondAlgorithm
{
22
23
public
:
24
//Delegate constructor:
25
using
AthCondAlgorithm::AthCondAlgorithm;
26
27
virtual
~LArLATOMEMappingAlg
() =
default
;
28
29
virtual
StatusCode
initialize
()
override
;
30
virtual
StatusCode
execute
(
const
EventContext& ctx)
const override
;
31
32
33
private
:
34
SG::ReadCondHandleKey<CondAttrListCollection>
m_readKey
{
this
,
"ReadKey"
,
"/LAR/IdentifierSC/LatomeMapping"
};
35
SG::WriteCondHandleKey<LArLATOMEMapping>
m_writeKey
{
this
,
"WriteKey"
,
"LArLATOMEMap"
};
36
Gaudi::Property<bool>
m_isSuperCell
{
this
,
"isSuperCell"
,
false
};
37
38
};
39
40
#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...
LArLATOMEMapping.h
ReadCondHandleKey.h
WriteCondHandleKey.h
AthCondAlgorithm
Base class for conditions algorithms.
Definition
AthCondAlgorithm.h:22
LArLATOMEMappingAlg
class to fill SC mapping object from conditions DB
Definition
LArLATOMEMappingAlg.h:21
LArLATOMEMappingAlg::execute
virtual StatusCode execute(const EventContext &ctx) const override
Definition
LArLATOMEMappingAlg.cxx:27
LArLATOMEMappingAlg::m_writeKey
SG::WriteCondHandleKey< LArLATOMEMapping > m_writeKey
Definition
LArLATOMEMappingAlg.h:35
LArLATOMEMappingAlg::initialize
virtual StatusCode initialize() override
Definition
LArLATOMEMappingAlg.cxx:15
LArLATOMEMappingAlg::m_isSuperCell
Gaudi::Property< bool > m_isSuperCell
Definition
LArLATOMEMappingAlg.h:36
LArLATOMEMappingAlg::~LArLATOMEMappingAlg
virtual ~LArLATOMEMappingAlg()=default
LArLATOMEMappingAlg::m_readKey
SG::ReadCondHandleKey< CondAttrListCollection > m_readKey
Definition
LArLATOMEMappingAlg.h:34
SG::ReadCondHandleKey
Definition
ReadCondHandleKey.h:21
SG::WriteCondHandleKey
Definition
WriteCondHandleKey.h:22
Generated on
for ATLAS Offline Software by
1.17.0