ATLAS Offline Software
Loading...
Searching...
No Matches
LArHVMapTool.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 LARTOOLS_LARHVMAPTOOL_H
6#define LARTOOLS_LARHVMAPTOOL_H
7
10
15
16
18{
19public:
20 LArHVMapTool(const std::string& type, const std::string& name,
21 const IInterface* parent);
22
23 virtual ~LArHVMapTool() = default;
24
25 virtual StatusCode initialize() override;
26 virtual StatusCode finalize() override {return StatusCode::SUCCESS;}
27
28 virtual void GetHVLines(const Identifier& id, const CaloDetDescrManager *cddm,
29 std::vector<int> &hvLineVec) const override final;
30
31 virtual void GetHVLines(const Identifier& id, const CaloDetDescrManager *cddm,
32 std::vector<HWIdentifier> &hvLineId) const override final;
33private:
34
35 void GetHVLinesCore(const Identifier& id, const CaloDetDescrManager *cddm,
36 std::vector<int> *hvLineVec, std::vector<HWIdentifier> *hvLineId) const;
37
38 const CaloIdManager *m_caloIdMgr{nullptr};
39 const LArEM_ID* m_larem_id{nullptr};
40 const LArHEC_ID* m_larhec_id{nullptr};
41 const LArFCAL_ID* m_larfcal_id{nullptr};
42
43 const LArHVIdMapping* m_hvmapping{nullptr};
44
46 {this,"CaloDetDescrManager", "CaloDetDescrManager"};
48 {this, "LArHVIdMapping", "LArHVIdMap", "SG key for HV ID mapping"};
49};
50
51#endif
Definition of CaloDetDescrManager.
AthAlgTool(const std::string &type, const std::string &name, const IInterface *parent)
Constructor with parameters:
This class provides the client interface for accessing the detector description information common to...
This class initializes the Calo (LAr and Tile) offline identifiers.
Helper class for LArEM offline identifiers.
Definition LArEM_ID.h:111
Helper class for LArFCAL offline identifiers.
Definition LArFCAL_ID.h:49
Helper class for LArHEC offline identifiers.
Definition LArHEC_ID.h:76
SG::ReadCondHandleKey< LArHVIdMapping > m_hvCablingKey
const LArEM_ID * m_larem_id
void GetHVLinesCore(const Identifier &id, const CaloDetDescrManager *cddm, std::vector< int > *hvLineVec, std::vector< HWIdentifier > *hvLineId) const
virtual void GetHVLines(const Identifier &id, const CaloDetDescrManager *cddm, std::vector< int > &hvLineVec) const override final
virtual StatusCode finalize() override
virtual ~LArHVMapTool()=default
const LArFCAL_ID * m_larfcal_id
const LArHVIdMapping * m_hvmapping
const CaloIdManager * m_caloIdMgr
LArHVMapTool(const std::string &type, const std::string &name, const IInterface *parent)
virtual StatusCode initialize() override
SG::ReadCondHandleKey< CaloDetDescrManager > m_caloDetDescrMgrKey
const LArHEC_ID * m_larhec_id