5#ifndef LARCONDUTILS_LARHVPATHOLOGYDBALG_H
6#define LARCONDUTILS_LARHVPATHOLOGYDBALG_H
41 virtual StatusCode
execute()
override;
45 StatusCode
printCondObjects (
const EventContext& ctx,
const CaloDetDescrManager* calodetdescrmgr,
const std::vector<LArHVPathologiesDb::LArHVElectPathologyDb>* path=
nullptr)
const;
48 const Identifier&
id,
unsigned int module,
unsigned int line,
52 const Identifier&
id,
short unsigned int ElectInd,
61 StringProperty
m_folder{
this,
"Folder",
"/LAR/HVPathologiesOfl/Pathologies"};
62 IntegerProperty
m_mode{
this,
"Mode",0,
"Mode to read file (0=offlineID/elecID, 1=online ID fields + HV module/line, 2=type is HV value to overwrite)"};
71 {
this,
"LArHVIdMapping",
"LArHVIdMap",
"SG key for HV ID mapping"};
73 {
this,
"OnOffMap",
"LArOnOffIdMap",
"SG key for mapping object"};
75 {
this,
"CaloDetDescrManager",
"CaloDetDescrManager",
"SG Key for CaloDetDescrManager in the Condition Store" };
78 {
this,
"HVPAthologyKey",
"LArHVPathology",
"Key for HV pathologies in Cond. store"};
Definition of CaloDetDescrManager.
An AttributeList represents a logical row of attributes in a metadata table.
AthAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
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.
Helper class for LArFCAL offline identifiers.
Helper class for LArHEC offline identifiers.
SG::ReadCondHandleKey< LArHVIdMapping > m_hvCablingKey
SG::ReadCondHandleKey< CaloDetDescrManager > m_caloMgrKey
virtual StatusCode execute() override
const CaloIdManager * m_caloIdMgr
std::vector< unsigned int > getElectInd(const LArHVIdMapping &hvIdMapping, const Identifier &id, unsigned int module, unsigned int line, const CaloDetDescrManager *calodetdescrmgr) const
virtual StatusCode initialize() override
const LArHEC_ID * m_larhec_id
SG::ReadCondHandleKey< LArHVPathology > m_hvPathologyKey
std::unique_ptr< AthenaAttributeList > hvPathology2AttrList(const LArHVPathologiesDb &pathologyContainer) const
SG::ReadCondHandleKey< LArOnOffIdMapping > m_cablingKey
StatusCode printCondObjects(const EventContext &ctx, const CaloDetDescrManager *calodetdescrmgr, const std::vector< LArHVPathologiesDb::LArHVElectPathologyDb > *path=nullptr) const
~LArHVPathologyDbAlg()=default
const LArFCAL_ID * m_larfcal_id
std::optional< LArHVPathologiesDb > createCondObjects(const EventContext &ctx, const CaloDetDescrManager *calodetdescrmgr) const
BooleanProperty m_writeCondObjs
AthAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Constructor with parameters:
int getHVline(const LArHVIdMapping &hvIdMapping, const Identifier &id, short unsigned int ElectInd, const CaloDetDescrManager *calodetdescrmgr) const
const LArEM_ID * m_larem_id
const LArOnlineID * m_laronline_id