5#ifndef LARCONDUTILS_LARHVTOSCHV_H
6#define LARCONDUTILS_LARHVTOSCHV_H 1
19#include "GaudiKernel/ToolHandle.h"
34 virtual StatusCode
execute(
const EventContext&)
const override {
return StatusCode::SUCCESS;};
35 virtual StatusCode
stop()
override;
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 BooleanProperty
m_isHI{
this,
"IsHeavyIons",
false,
"are we computing for HI ?"};
50 FloatProperty
m_patchHI{
this,
"PatchInHeavyIons", 1.2,
" value to patch "};
52 ToolHandle<ICaloSuperCellIDTool>
m_scidTool{
this,
"CaloSuperCellIDTool",
"CaloSuperCellIDTool"};
Base class for conditions algorithms.
Base class for conditions algorithms.
Helper class for LArHEC offline identifiers.
virtual StatusCode execute(const EventContext &) const override
float getWeight(const LArHEC_ID *hecID, const Identifier &id, std::map< int, std::vector< float > > &wmap)
LArHVCorrToSCHVCorr(const std::string &name, ISvcLocator *pSvcLocator)
Constructor with parameters:
SG::ReadCondHandleKey< LArOnOffIdMapping > m_cablingKeySC
SG::ReadCondHandleKey< ILArHVScaleCorr > m_contKey
virtual StatusCode initialize() override
SG::WriteCondHandleKey< LArHVCorr > m_outKey
StringProperty m_folderName
ToolHandle< ICaloSuperCellIDTool > m_scidTool
SG::ReadCondHandleKey< LArOnOffIdMapping > m_cablingKey
virtual ~LArHVCorrToSCHVCorr()=default
Destructor:
StringProperty m_weightsName
virtual StatusCode stop() override