|
ATLAS Offline Software
|
Go to the documentation of this file.
5 #ifndef LARCONDUTILS_LARHVTOSCHV_H
6 #define LARCONDUTILS_LARHVTOSCHV_H 1
19 #include "GaudiKernel/ToolHandle.h"
45 StringProperty
m_folderName{
this,
"OutputFolder",
"/LAR/ElecCalibFlatSC/HVScaleCorr",
"Output folder for CondAttrListCollection"};
47 StringProperty
m_weightsName{
this,
"PhysicsWeights",
"TrigT1CaloCalibUtils/HVcorrPhysicsWeights.txt",
"File with layer weights"};
49 ToolHandle<ICaloSuperCellIDTool>
m_scidTool{
this,
"CaloSuperCellIDTool",
"CaloSuperCellIDTool"};
virtual StatusCode initialize() override
virtual StatusCode stop() override
LArHVCorrToSCHVCorr(const std::string &name, ISvcLocator *pSvcLocator)
Constructor with parameters:
ToolHandle< ICaloSuperCellIDTool > m_scidTool
SG::ReadCondHandleKey< LArOnOffIdMapping > m_cablingKeySC
Helper class for LArHEC offline identifiers.
SG::ReadCondHandleKey< ILArHVScaleCorr > m_contKey
virtual ~LArHVCorrToSCHVCorr()=default
Destructor:
SG::ReadCondHandleKey< LArOnOffIdMapping > m_cablingKey
StringProperty m_weightsName
::StatusCode StatusCode
StatusCode definition for legacy code.
StringProperty m_folderName
virtual StatusCode execute() override
float getWeight(const LArHEC_ID *hecID, const Identifier &id, std::map< int, std::vector< float > > &wmap)
SG::WriteCondHandleKey< LArHVCorr > m_outKey