ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
LArCalorimeter
LArTest
LArConditionsTest
src
LArSCIdVsIdTest.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3
*/
4
// Dear emacs, this is -*-c++-*-
5
#ifndef LARCONDITIONSTEST_LARSCIDVSIDTEST_H
6
#define LARCONDITIONSTEST_LARSCIDVSIDTEST_H
7
8
#include "
AthenaBaseComps/AthReentrantAlgorithm.h
"
9
#include "GaudiKernel/ToolHandle.h"
10
#include "
Identifier/HWIdentifier.h
"
11
#include "
LArCabling/LArOnOffIdMapping.h
"
12
#include "
StoreGate/ReadCondHandleKey.h
"
13
#include "
CaloDetDescr/ICaloSuperCellIDTool.h
"
14
#include "
LArIdentifier/LArOnlineID.h
"
15
#include "
LArIdentifier/LArOnline_SuperCellID.h
"
16
#include "
CaloIdentifier/CaloCell_ID.h
"
17
#include "
CaloIdentifier/CaloCell_SuperCell_ID.h
"
18
#include "
CaloDetDescr/CaloDetDescrManager.h
"
19
#include "CaloGeoHelpers/CaloSampling.h"
20
21
class
LArSCIdvsIdTest
:
public
AthReentrantAlgorithm
{
22
public
:
23
using
AthReentrantAlgorithm::AthReentrantAlgorithm;
24
25
// standard algorithm methods
26
StatusCode
initialize
();
27
StatusCode
execute
(
const
EventContext& ctx)
const
;
28
StatusCode
finalize
() {
return
StatusCode::SUCCESS; }
29
30
private
:
31
SG::ReadCondHandleKey<LArOnOffIdMapping>
m_cablingKey
{
this
,
"CablingKey"
,
"LArOnOffIdMap"
,
"SG Key of LArOnOffIdMapping object"
};
32
SG::ReadCondHandleKey<LArOnOffIdMapping>
m_scCablingKey
{
this
,
"SCCablingKey"
,
"LArOnOffIdMapSC"
,
"SG Key of LArOnOffIdMapping object"
};
33
SG::ReadCondHandleKey<CaloSuperCellDetDescrManager>
m_caloSuperCellMgrKey
{
this
,
"CaloSuperCellDetDescrManager"
,
"CaloSuperCellDetDescrManager"
,
"SG key of the resulting CaloSuperCellDetDescrManager"
};
34
SG::ReadCondHandleKey<CaloDetDescrManager>
m_caloMgrKey
{
this
,
"CaloDetDescrManager"
,
"CaloDetDescrManager"
,
"SG Key for CaloDetDescrManager in the Condition Store"
};
35
36
ToolHandle<ICaloSuperCellIDTool>
m_scidtool
{
this
,
"CaloSuperCellIDTool"
,
"CaloSuperCellIDTool"
,
"Offline / SuperCell ID mapping tool"
};
37
const
LArOnlineID
*
m_onlineId
=
nullptr
;
38
const
CaloCell_ID
*
m_caloCellId
=
nullptr
;
39
40
const
LArOnline_SuperCellID
*
m_scOnlineId
=
nullptr
;
41
const
CaloCell_SuperCell_ID
*
m_scCaloCellId
=
nullptr
;
42
43
};
44
45
#endif
AthReentrantAlgorithm.h
CaloCell_ID.h
CaloCell_SuperCell_ID.h
Helper class for offline supercell identifiers.
CaloDetDescrManager.h
Definition of CaloDetDescrManager.
HWIdentifier.h
ICaloSuperCellIDTool.h
LArOnOffIdMapping.h
LArOnlineID.h
LArOnline_SuperCellID.h
ReadCondHandleKey.h
AthReentrantAlgorithm
An algorithm that can be simultaneously executed in multiple threads.
Definition
AthReentrantAlgorithm.h:74
CaloCell_ID
Helper class for offline cell identifiers.
Definition
CaloCell_ID.h:34
CaloCell_SuperCell_ID
Helper class for offline supercell identifiers.
Definition
CaloCell_SuperCell_ID.h:45
LArOnlineID
Definition
LArOnlineID.h:21
LArOnline_SuperCellID
Definition
LArOnline_SuperCellID.h:21
LArSCIdvsIdTest
Definition
LArSCIdVsIdTest.h:21
LArSCIdvsIdTest::m_scOnlineId
const LArOnline_SuperCellID * m_scOnlineId
Definition
LArSCIdVsIdTest.h:40
LArSCIdvsIdTest::m_scidtool
ToolHandle< ICaloSuperCellIDTool > m_scidtool
Definition
LArSCIdVsIdTest.h:36
LArSCIdvsIdTest::finalize
StatusCode finalize()
Definition
LArSCIdVsIdTest.h:28
LArSCIdvsIdTest::m_caloCellId
const CaloCell_ID * m_caloCellId
Definition
LArSCIdVsIdTest.h:38
LArSCIdvsIdTest::m_caloSuperCellMgrKey
SG::ReadCondHandleKey< CaloSuperCellDetDescrManager > m_caloSuperCellMgrKey
Definition
LArSCIdVsIdTest.h:33
LArSCIdvsIdTest::m_onlineId
const LArOnlineID * m_onlineId
Definition
LArSCIdVsIdTest.h:37
LArSCIdvsIdTest::m_cablingKey
SG::ReadCondHandleKey< LArOnOffIdMapping > m_cablingKey
Definition
LArSCIdVsIdTest.h:31
LArSCIdvsIdTest::m_scCaloCellId
const CaloCell_SuperCell_ID * m_scCaloCellId
Definition
LArSCIdVsIdTest.h:41
LArSCIdvsIdTest::m_caloMgrKey
SG::ReadCondHandleKey< CaloDetDescrManager > m_caloMgrKey
Definition
LArSCIdVsIdTest.h:34
LArSCIdvsIdTest::execute
StatusCode execute(const EventContext &ctx) const
Definition
LArSCIdVsIdTest.cxx:23
LArSCIdvsIdTest::m_scCablingKey
SG::ReadCondHandleKey< LArOnOffIdMapping > m_scCablingKey
Definition
LArSCIdVsIdTest.h:32
LArSCIdvsIdTest::initialize
StatusCode initialize()
Definition
LArSCIdVsIdTest.cxx:9
SG::ReadCondHandleKey
Definition
ReadCondHandleKey.h:21
Generated on
for ATLAS Offline Software by
1.17.0