ATLAS Offline Software
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
()
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
LArShapeToSCShape::LArShapeToSCShape
LArShapeToSCShape()
Default constructor:
LArShapeToSCShape::m_cablingKeySC
SG::ReadCondHandleKey< LArOnOffIdMapping > m_cablingKeySC
Definition:
LArShapeToSCShape.h:42
LArShapeToSCShape::~LArShapeToSCShape
virtual ~LArShapeToSCShape()
Destructor:
Definition:
LArShapeToSCShape.cxx:38
ICaloSuperCellIDTool.h
AthAlgorithm.h
LArOnOffIdMapping.h
LArShapeToSCShape::m_cablingKey
SG::ReadCondHandleKey< LArOnOffIdMapping > m_cablingKey
Definition:
LArShapeToSCShape.h:43
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition:
PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
LArShapeToSCShape
Definition:
LArShapeToSCShape.h:20
AthAlgorithm
Definition:
AthAlgorithm.h:47
ReadCondHandleKey.h
LArShapeToSCShape::execute
virtual StatusCode execute() override
Definition:
LArShapeToSCShape.cxx:57
name
std::string name
Definition:
Control/AthContainers/Root/debug.cxx:221
LArShapeToSCShape::initialize
virtual StatusCode initialize() override
Definition:
LArShapeToSCShape.cxx:43
SG::ReadCondHandleKey< LArOnOffIdMapping >
LArShapeToSCShape::m_scidTool
ToolHandle< ICaloSuperCellIDTool > m_scidTool
Definition:
LArShapeToSCShape.h:47
Generated on Thu Nov 7 2024 21:20:02 for ATLAS Offline Software by
1.8.18