ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
LArCalorimeter
LArCondTools
src
LArShapeToSCShape.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 LARCONDITIONSTEST_LARSHAPETOSCSHAPE_H
6
#define LARCONDITIONSTEST_LARSHAPETOSCSHAPE_H 1
7
8
// STL includes
9
#include <string>
10
11
#include "
AthenaBaseComps/AthAlgorithm.h
"
12
#include "
CaloDetDescr/ICaloSuperCellIDTool.h
"
13
#include "
StoreGate/ReadCondHandleKey.h
"
14
#include "
LArCabling/LArOnOffIdMapping.h
"
15
16
#include "GaudiKernel/ToolHandle.h"
17
18
class
LArShapeToSCShape
19
:
public
::AthAlgorithm
20
{
21
23
// Public methods:
25
public
:
26
28
LArShapeToSCShape
(
const
std::string& name, ISvcLocator* pSvcLocator );
29
31
virtual
~LArShapeToSCShape
();
32
33
// Assignment operator:
34
//LArShapeToSCShape &operator=(const LArShapeToSCShape &alg);
35
36
// Athena algorithm's Hooks
37
virtual
StatusCode
initialize
()
override
;
38
virtual
StatusCode
execute
(
const
EventContext& ctx)
override
;
39
40
private
:
41
42
SG::ReadCondHandleKey<LArOnOffIdMapping>
m_cablingKeySC
{
this
,
"SCCablingKey"
,
"LArOnOffIdMapSC"
,
"SG Key of SC LArOnOffIdMapping object"
};
43
SG::ReadCondHandleKey<LArOnOffIdMapping>
m_cablingKey
{
this
,
"CablingKey"
,
"LArOnOffIdMap"
,
"SG Key of LArOnOffIdMapping object"
};
45
LArShapeToSCShape
();
46
47
ToolHandle<ICaloSuperCellIDTool>
m_scidTool
{
this
,
"CaloSuperCellIDTool"
,
"CaloSuperCellIDTool"
};
48
49
50
51
};
52
53
#endif
//> !LARCONDITIONSTEST_LARSHAPETOSCSHAPE_H
AthAlgorithm.h
ICaloSuperCellIDTool.h
LArOnOffIdMapping.h
ReadCondHandleKey.h
AthAlgorithm::AthAlgorithm
AthAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Constructor.
Definition
AthAlgorithm.cxx:10
LArShapeToSCShape::execute
virtual StatusCode execute(const EventContext &ctx) override
Execute method.
Definition
LArShapeToSCShape.cxx:57
LArShapeToSCShape::m_cablingKeySC
SG::ReadCondHandleKey< LArOnOffIdMapping > m_cablingKeySC
Definition
LArShapeToSCShape.h:42
LArShapeToSCShape::LArShapeToSCShape
LArShapeToSCShape(const std::string &name, ISvcLocator *pSvcLocator)
Constructor with parameters:
Definition
LArShapeToSCShape.cxx:30
LArShapeToSCShape::initialize
virtual StatusCode initialize() override
Definition
LArShapeToSCShape.cxx:43
LArShapeToSCShape::m_cablingKey
SG::ReadCondHandleKey< LArOnOffIdMapping > m_cablingKey
Definition
LArShapeToSCShape.h:43
LArShapeToSCShape::~LArShapeToSCShape
virtual ~LArShapeToSCShape()
Destructor:
Definition
LArShapeToSCShape.cxx:38
LArShapeToSCShape::LArShapeToSCShape
LArShapeToSCShape()
Default constructor:
LArShapeToSCShape::m_scidTool
ToolHandle< ICaloSuperCellIDTool > m_scidTool
Definition
LArShapeToSCShape.h:47
SG::ReadCondHandleKey
Definition
ReadCondHandleKey.h:21
Generated on
for ATLAS Offline Software by
1.17.0