ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
LArCalorimeter
LArCellRec
src
LArNoisyROAlg.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#ifndef LARCELLREC_LARNOISYROALG_H
6
#define LARCELLREC_LARNOISYROALG_H
7
20
21
22
23
#include "
AthenaBaseComps/AthReentrantAlgorithm.h
"
24
#include "GaudiKernel/ToolHandle.h"
25
#include "
CaloInterface/ILArNoisyROTool.h
"
26
#include "
CaloDetDescr/CaloDetDescrManager.h
"
27
#include "
StoreGate/ReadHandleKey.h
"
28
#include "
StoreGate/WriteHandleKey.h
"
29
#include "
StoreGate/WriteDecorHandleKey.h
"
30
#include "
LArRecConditions/LArBadChannelCont.h
"
31
#include "
LArRecConditions/LArHVNMap.h
"
32
#include "
LArRecConditions/LArHVIdMapping.h
"
33
#include "
LArRecEvent/LArNoisyROSummary.h
"
34
#include "
xAODEventInfo/EventInfo.h
"
35
36
class
CaloCellContainer
;
37
38
class
LArNoisyROAlg
:
public
AthReentrantAlgorithm
39
{
40
public
:
41
42
LArNoisyROAlg
(
const
std::string &name,ISvcLocator *pSvcLocator);
43
virtual
StatusCode
initialize
()
override
;
44
virtual
StatusCode
execute
(
const
EventContext& ctx)
const override
;
45
virtual
StatusCode
finalize
()
override
;
46
47
typedef
std::map<int, int>
hvmap_type
;
48
49
private
:
50
ToolHandle<ILArNoisyROTool>
m_noisyROTool
;
51
52
Gaudi::Property<bool>
m_isMC
{
this
,
"isMC"
,
false
,
"Are we working with simu?"
};
53
SG::ReadHandleKey<xAOD::EventInfo>
m_eventInfoKey
{
this
,
"EventInfoKey"
,
"EventInfo"
};
54
SG::WriteDecorHandleKey<xAOD::EventInfo>
m_eventInfoDecorKey
{
this
,
"EventInfoDecorKey"
,
m_eventInfoKey
,
"larFlags"
};
55
SG::ReadHandleKey<CaloCellContainer>
m_CaloCellContainerName
{
this
,
"CaloCellContainer"
,
"AllCalo"
,
"input cell container key"
};
56
SG::WriteHandleKey<LArNoisyROSummary>
m_outputKey
{
this
,
"OutputKey"
,
"LArNoisyROSummary"
,
"output object key"
};
57
SG::ReadCondHandleKey<LArBadFebCont>
m_knownBadFEBsVecKey
{
this
,
"BadFEBsKey"
,
"LArKnownBadFEBs"
,
"key to read the known Bad FEBs"
};
58
SG::ReadCondHandleKey<LArBadFebCont>
m_knownMNBFEBsVecKey
{
this
,
"MNBFEBsKey"
,
"LArKnownMNBFEBs"
,
"key to read the known MNB FEBs"
};
59
SG::ReadCondHandleKey<LArHVNMap>
m_hvMapKey
{
this
,
"HVMapKey"
,
""
,
"key to read HVline Ncells map"
};
60
SG::ReadCondHandleKey<CaloDetDescrManager>
m_caloDetDescrMgrKey
{
this
,
"CaloDetDescrManager"
,
"CaloDetDescrManager"
};
61
SG::ReadCondHandleKey<LArHVIdMapping>
m_hvCablingKey
{
this
,
"LArHVIdMapping"
,
""
,
"SG key for HV ID mapping"
};
62
63
};
64
65
66
#endif
AthReentrantAlgorithm.h
CaloDetDescrManager.h
Definition of CaloDetDescrManager.
ILArNoisyROTool.h
LArBadChannelCont.h
LArHVIdMapping.h
LArHVNMap.h
LArNoisyROSummary.h
ReadHandleKey.h
Property holding a SG store/key/clid from which a ReadHandle is made.
WriteDecorHandleKey.h
Property holding a SG store/key/clid/attr name from which a WriteDecorHandle is made.
WriteHandleKey.h
Property holding a SG store/key/clid from which a WriteHandle is made.
AthReentrantAlgorithm
An algorithm that can be simultaneously executed in multiple threads.
Definition
AthReentrantAlgorithm.h:74
CaloCellContainer
Container class for CaloCell.
Definition
CaloCellContainer.h:55
LArNoisyROAlg::m_hvMapKey
SG::ReadCondHandleKey< LArHVNMap > m_hvMapKey
Definition
LArNoisyROAlg.h:59
LArNoisyROAlg::m_eventInfoKey
SG::ReadHandleKey< xAOD::EventInfo > m_eventInfoKey
Definition
LArNoisyROAlg.h:53
LArNoisyROAlg::m_knownMNBFEBsVecKey
SG::ReadCondHandleKey< LArBadFebCont > m_knownMNBFEBsVecKey
Definition
LArNoisyROAlg.h:58
LArNoisyROAlg::m_outputKey
SG::WriteHandleKey< LArNoisyROSummary > m_outputKey
Definition
LArNoisyROAlg.h:56
LArNoisyROAlg::execute
virtual StatusCode execute(const EventContext &ctx) const override
Definition
LArNoisyROAlg.cxx:42
LArNoisyROAlg::finalize
virtual StatusCode finalize() override
Definition
LArNoisyROAlg.cxx:186
LArNoisyROAlg::m_knownBadFEBsVecKey
SG::ReadCondHandleKey< LArBadFebCont > m_knownBadFEBsVecKey
Definition
LArNoisyROAlg.h:57
LArNoisyROAlg::initialize
virtual StatusCode initialize() override
Definition
LArNoisyROAlg.cxx:27
LArNoisyROAlg::m_noisyROTool
ToolHandle< ILArNoisyROTool > m_noisyROTool
Definition
LArNoisyROAlg.h:50
LArNoisyROAlg::m_caloDetDescrMgrKey
SG::ReadCondHandleKey< CaloDetDescrManager > m_caloDetDescrMgrKey
Definition
LArNoisyROAlg.h:60
LArNoisyROAlg::m_eventInfoDecorKey
SG::WriteDecorHandleKey< xAOD::EventInfo > m_eventInfoDecorKey
Definition
LArNoisyROAlg.h:54
LArNoisyROAlg::hvmap_type
std::map< int, int > hvmap_type
Definition
LArNoisyROAlg.h:47
LArNoisyROAlg::m_hvCablingKey
SG::ReadCondHandleKey< LArHVIdMapping > m_hvCablingKey
Definition
LArNoisyROAlg.h:61
LArNoisyROAlg::m_CaloCellContainerName
SG::ReadHandleKey< CaloCellContainer > m_CaloCellContainerName
Definition
LArNoisyROAlg.h:55
LArNoisyROAlg::m_isMC
Gaudi::Property< bool > m_isMC
Definition
LArNoisyROAlg.h:52
LArNoisyROAlg::LArNoisyROAlg
LArNoisyROAlg(const std::string &name, ISvcLocator *pSvcLocator)
Definition
LArNoisyROAlg.cxx:20
SG::ReadCondHandleKey
Definition
ReadCondHandleKey.h:21
SG::ReadHandleKey
Property holding a SG store/key/clid from which a ReadHandle is made.
Definition
StoreGate/StoreGate/ReadHandleKey.h:40
SG::WriteDecorHandleKey
Property holding a SG store/key/clid/attr name from which a WriteDecorHandle is made.
Definition
StoreGate/StoreGate/WriteDecorHandleKey.h:90
SG::WriteHandleKey
Property holding a SG store/key/clid from which a WriteHandle is made.
Definition
StoreGate/StoreGate/WriteHandleKey.h:40
EventInfo.h
Generated on
for ATLAS Offline Software by
1.17.0