7 #include "GaudiKernel/ToolHandle.h"
33 return StatusCode::SUCCESS ;
38 ToolHandle<LArWFParamTool> larWFParamTool(
"LArWFParamTool");
41 ToolHandle<LArDeltaRespTool> larDeltaRespTool(
"LArDeltaRespTool");
45 std::string keyCali =
"CaliWave" ;
47 ATH_MSG_INFO (
"Processing LArCaliWaveContainer from StoreGate, key='CaliWave'" );
53 return StatusCode::FAILURE;
61 return StatusCode::SUCCESS;
82 const_iterator itVec = caliWaveContainer->
begin(
gain);
83 const_iterator itVec_e = caliWaveContainer->
end(
gain);
87 for (; itVec != itVec_e; ++itVec) {
91 larDeltaRespContainer->
get(itVec.channelId(),
gain);
97 std::optional<LArCaliWave> nullwave;
98 StatusCode sc = larWFParamTool->getLArWaveParams(larCaliWave,
101 wfParams,
cabling,nullwave,nullwave,nullwave);
102 if (
sc.isFailure()) {
104 (itVec.channelId()) );
106 LArCaliWave lardeltaresp = larDeltaRespTool->makeLArDeltaResp(wfParams,
109 dacWaves.push_back(lardeltaresp);
117 return StatusCode::SUCCESS;