ATLAS Offline Software
LArHVlineMapAlg.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef LARCONDUTILS_LARHVLINEMAPALG_H
6 #define LARCONDUTILS_LARHVLINEMAPALG_H
7 
17 
18 #include <map>
19 
20 class HWIdentifier;
21 class CaloCell_ID;
22 
24 
25  public:
26  LArHVlineMapAlg(const std::string& name, ISvcLocator* pSvcLocator);
27 
28  virtual ~LArHVlineMapAlg()=default;
29 
30  virtual StatusCode initialize() override final;
31  virtual StatusCode execute(const EventContext& ctx) const override final;
32 
33  private:
34 
35  ToolHandle <ILArHVMapTool> m_hvmapTool;
36 
37  SG::ReadCondHandleKey<CaloDetDescrManager> m_caloDetDescrMgrKey{this,"CaloDetDescrManager", "CaloDetDescrManager"};
38  SG::ReadCondHandleKey<LArHVIdMapping> m_hvCablingKey{this, "LArHVIdMapping", "LArHVIdMap", "SG key for HV ID mapping"};
39  SG::WriteCondHandleKey<LArHVNMap> m_mapKey{this, "keyOutput", "LArHVNcells", "Output key for map of number of cells in HVline"};
40 
41  const CaloCell_ID* m_caloHelper{nullptr};
42  const LArHVLineID* m_hvlineHelper{nullptr};
43 
44 };
45 
46 #endif
LArHVlineMapAlg::m_mapKey
SG::WriteCondHandleKey< LArHVNMap > m_mapKey
Definition: LArHVlineMapAlg.h:39
LArHVlineMapAlg::m_hvmapTool
ToolHandle< ILArHVMapTool > m_hvmapTool
Definition: LArHVlineMapAlg.h:35
SG
Forward declaration.
Definition: CaloCellPacker_400_500.h:32
LArHVlineMapAlg::~LArHVlineMapAlg
virtual ~LArHVlineMapAlg()=default
LArHVlineMapAlg::m_hvCablingKey
SG::ReadCondHandleKey< LArHVIdMapping > m_hvCablingKey
Definition: LArHVlineMapAlg.h:38
WriteCondHandleKey.h
const
bool const RAWDATA *ch2 const
Definition: LArRodBlockPhysicsV0.cxx:560
LArHVLineID.h
HWIdentifier
Definition: HWIdentifier.h:13
CaloDetDescrManager.h
Definition of CaloDetDescrManager.
AthReentrantAlgorithm
An algorithm that can be simultaneously executed in multiple threads.
Definition: AthReentrantAlgorithm.h:83
LArOnOffIdMapping.h
LArHVlineMapAlg::execute
virtual StatusCode execute(const EventContext &ctx) const override final
Definition: LArHVlineMapAlg.cxx:30
LArHVlineMapAlg::initialize
virtual StatusCode initialize() override final
Definition: LArHVlineMapAlg.cxx:16
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
LArHVIdMapping.h
LArHVNMap.h
CaloCell_ID
Helper class for offline cell identifiers.
Definition: CaloCell_ID.h:34
ILArHVMapTool.h
ILArHVMapTool
Definition: ILArHVMapTool.h:21
LArHVlineMapAlg
Definition: LArHVlineMapAlg.h:23
ReadCondHandleKey.h
AthReentrantAlgorithm.h
LArHVlineMapAlg::m_caloHelper
const CaloCell_ID * m_caloHelper
Definition: LArHVlineMapAlg.h:41
private
#define private
Definition: DetDescrConditionsDict_dict_fixes.cxx:13
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:228
SG::ReadCondHandleKey< LArHVIdMapping >
LArHVlineMapAlg::LArHVlineMapAlg
LArHVlineMapAlg(const std::string &name, ISvcLocator *pSvcLocator)
Definition: LArHVlineMapAlg.cxx:10
CaloDetDescrManager
This class provides the client interface for accessing the detector description information common to...
Definition: CaloDetDescrManager.h:473
LArHVlineMapAlg::m_hvlineHelper
const LArHVLineID * m_hvlineHelper
Definition: LArHVlineMapAlg.h:42
SG::WriteCondHandleKey< LArHVNMap >
LArHVlineMapAlg::m_caloDetDescrMgrKey
SG::ReadCondHandleKey< CaloDetDescrManager > m_caloDetDescrMgrKey
Definition: LArHVlineMapAlg.h:37
LArHVLineID
Helper for the Liquid Argon Calorimeter High-Voltage identifiers.
Definition: LArHVLineID.h:48