ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
LArCalorimeter
LArCondTools
src
LArIdMapConvert.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_LARIDMAPCONVERT_H
6
#define LARCONDITIONSTEST_LARIDMAPCONVERT_H 1
7
8
// STL includes
9
#include <string>
10
11
// FrameWork includes
12
#include "
AthenaBaseComps/AthAlgorithm.h
"
13
#include "GaudiKernel/ToolHandle.h"
14
#include "
LArCabling/LArOnOffIdMapping.h
"
15
#include "
LArRecConditions/LArCalibLineMapping.h
"
16
#include "
StoreGate/ReadCondHandleKey.h
"
17
18
#include "
CaloIdentifier/CaloCell_ID.h
"
19
#include "
LArIdentifier/LArOnlineID.h
"
20
21
#include <iostream>
22
23
class
LArIdMapConvert
24
:
public
::AthAlgorithm
25
{
26
27
public
:
28
30
LArIdMapConvert
(
const
std::string& name, ISvcLocator* pSvcLocator );
31
33
virtual
~LArIdMapConvert
();
34
35
// Athena algorithm's Hooks
36
virtual
StatusCode
initialize
()
override
;
37
virtual
StatusCode
execute
(
const
EventContext& ctx)
override
;
38
virtual
StatusCode
finalize
()
override
;
39
40
private
:
41
42
SG::ReadCondHandleKey<LArOnOffIdMapping>
m_cablingKey
{
this
,
"CablingKey"
,
"LArOnOffIdMap"
,
"SG Key of LArOnOffIdMapping object"
};
43
SG::ReadCondHandleKey<LArCalibLineMapping>
m_CLKey
{
this
,
"SCCalibLineKey"
,
"LArCalibLineMapSC"
,
"SG calib line key"
};
44
46
LArIdMapConvert
();
47
void
print
(
const
HWIdentifier
& hwid, std::ostream& out=std::cout);
48
49
const
LArOnlineID
*
m_onlineID
;
50
const
CaloCell_ID
*
m_caloCellID
;
51
52
53
};
54
55
#endif
//> !LARCONDITIONSTEST_LARIDMAPCONVERT_H
AthAlgorithm.h
CaloCell_ID.h
LArCalibLineMapping.h
LArOnOffIdMapping.h
LArOnlineID.h
ReadCondHandleKey.h
AthAlgorithm::AthAlgorithm
AthAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Constructor.
Definition
AthAlgorithm.cxx:10
CaloCell_ID
Helper class for offline cell identifiers.
Definition
CaloCell_ID.h:34
HWIdentifier
Definition
HWIdentifier.h:13
LArIdMapConvert::finalize
virtual StatusCode finalize() override
Definition
LArIdMapConvert.cxx:37
LArIdMapConvert::LArIdMapConvert
LArIdMapConvert(const std::string &name, ISvcLocator *pSvcLocator)
Constructor with parameters:
Definition
LArIdMapConvert.cxx:13
LArIdMapConvert::execute
virtual StatusCode execute(const EventContext &ctx) override
Execute method.
Definition
LArIdMapConvert.cxx:44
LArIdMapConvert::initialize
virtual StatusCode initialize() override
Definition
LArIdMapConvert.cxx:26
LArIdMapConvert::m_CLKey
SG::ReadCondHandleKey< LArCalibLineMapping > m_CLKey
Definition
LArIdMapConvert.h:43
LArIdMapConvert::LArIdMapConvert
LArIdMapConvert()
Default constructor:
LArIdMapConvert::m_caloCellID
const CaloCell_ID * m_caloCellID
Definition
LArIdMapConvert.h:50
LArIdMapConvert::m_onlineID
const LArOnlineID * m_onlineID
Definition
LArIdMapConvert.h:49
LArIdMapConvert::print
void print(const HWIdentifier &hwid, std::ostream &out=std::cout)
Definition
LArIdMapConvert.cxx:131
LArIdMapConvert::~LArIdMapConvert
virtual ~LArIdMapConvert()
Destructor:
Definition
LArIdMapConvert.cxx:22
LArIdMapConvert::m_cablingKey
SG::ReadCondHandleKey< LArOnOffIdMapping > m_cablingKey
Definition
LArIdMapConvert.h:42
LArOnlineID
Definition
LArOnlineID.h:21
SG::ReadCondHandleKey
Definition
ReadCondHandleKey.h:21
Generated on
for ATLAS Offline Software by
1.17.0