ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
LArCalorimeter
LArCellRec
src
LArCellGainPathology.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#ifndef LARCELLREC_LARCELLGAINPATHOLOGY_H
6
#define LARCELLREC_LARCELLGAINPATHOLOGY_H
7
15
16
17
18
#include "
AthenaBaseComps/AthAlgTool.h
"
19
#include "
CaloInterface/ICaloCellMakerTool.h
"
20
#include "
StoreGate/ReadCondHandleKey.h
"
21
#include "
LArCabling/LArOnOffIdMapping.h
"
22
23
24
class
CaloCell_ID
;
25
class
LArOnlineID
;
26
class
HWIdentifier
;
27
class
CaloCell
;
28
29
class
LArCellGainPathology
30
:
public
extends<AthAlgTool, ICaloCellMakerTool>
31
{
32
public
:
33
LArCellGainPathology
(
const
std::string&
type
,
34
const
std::string& name,
35
const
IInterface* parent) ;
36
37
40
virtual
StatusCode
initialize
()
override
;
41
44
virtual
StatusCode
finalize
()
override
;
45
48
virtual
StatusCode
process
(
CaloCellContainer
* theCellContainer,
49
const
EventContext& ctx)
const override
;
50
51
private
:
54
void
ApplyPathology
(
CaloCellContainer
* theCont,
HWIdentifier
id1,
HWIdentifier
id
,
55
const
LArOnOffIdMapping
* cabling)
const
;
56
59
CaloCell
*
GetCell
(
CaloCellContainer
* theCont,
HWIdentifier
id
,
60
const
LArOnOffIdMapping
* cabling)
const
;
61
64
SG::ReadCondHandleKey<LArOnOffIdMapping>
m_cablingKey
{
this
,
"CablingKey"
,
"LArOnOffIdMap"
,
"SG Key of LArOnOffIdMapping object"
};
65
68
const
CaloCell_ID
*
m_calo_id
;
69
const
LArOnlineID
*
m_onlineID
;
70
71
};
72
73
#endif
74
AthAlgTool.h
ICaloCellMakerTool.h
LArOnOffIdMapping.h
ReadCondHandleKey.h
CaloCellContainer
Container class for CaloCell.
Definition
CaloCellContainer.h:55
CaloCell_ID
Helper class for offline cell identifiers.
Definition
CaloCell_ID.h:34
CaloCell
Data object for each calorimeter readout cell.
Definition
CaloCell.h:57
HWIdentifier
Definition
HWIdentifier.h:13
LArCellGainPathology::m_cablingKey
SG::ReadCondHandleKey< LArOnOffIdMapping > m_cablingKey
handle to LAr cabling service
Definition
LArCellGainPathology.h:64
LArCellGainPathology::GetCell
CaloCell * GetCell(CaloCellContainer *theCont, HWIdentifier id, const LArOnOffIdMapping *cabling) const
method to find cell from hardware id
Definition
LArCellGainPathology.cxx:135
LArCellGainPathology::ApplyPathology
void ApplyPathology(CaloCellContainer *theCont, HWIdentifier id1, HWIdentifier id, const LArOnOffIdMapping *cabling) const
method to apply pathology between a couple of cells
Definition
LArCellGainPathology.cxx:100
LArCellGainPathology::LArCellGainPathology
LArCellGainPathology(const std::string &type, const std::string &name, const IInterface *parent)
Definition
LArCellGainPathology.cxx:33
LArCellGainPathology::initialize
virtual StatusCode initialize() override
initialize the tool
Definition
LArCellGainPathology.cxx:49
LArCellGainPathology::finalize
virtual StatusCode finalize() override
finalize the tool
Definition
LArCellGainPathology.cxx:62
LArCellGainPathology::m_onlineID
const LArOnlineID * m_onlineID
Definition
LArCellGainPathology.h:69
LArCellGainPathology::m_calo_id
const CaloCell_ID * m_calo_id
pointers to storegateSvc and identifier helpers
Definition
LArCellGainPathology.h:68
LArOnOffIdMapping
Definition
LArOnOffIdMapping.h:20
LArOnlineID
Definition
LArOnlineID.h:21
SG::ReadCondHandleKey
Definition
ReadCondHandleKey.h:21
process
const std::string process
Definition
fbtTestBasics.cxx:76
type
Generated on
for ATLAS Offline Software by
1.17.0