16#ifndef LARREADPARAMSFROMFILE_H
17#define LARREADPARAMSFROMFILE_H
27#include "GaudiKernel/Bootstrap.h"
28#include "GaudiKernel/ISvcLocator.h"
29#include "GaudiKernel/IToolSvc.h"
41 using AthReentrantAlgorithm::AthReentrantAlgorithm;
46 virtual StatusCode
execute(
const EventContext&)
const override {
return StatusCode::SUCCESS;}
60 StringProperty
m_file {
this,
"File",
"" };
63 StringProperty
m_chIdType {
this,
"ChannelIdType",
"UNKNOWN" };
75 complete->
set(chid, gain, data[0], data[1], data[2], data[3], (
short)data[4]) ;
76 return StatusCode::SUCCESS ;
79 complete->
set(chid, gain, data[0], data[1]) ;
80 return StatusCode::SUCCESS ;
82 StatusCode
set(LArPhysCaliTdiffComplete* complete,
HWIdentifier chid,
int gain,
const std::vector<float>& data) {
83 complete->set(chid, gain, data[0]) ;
84 return StatusCode::SUCCESS ;
87 complete->
set(chid, data[0]) ;
88 return StatusCode::SUCCESS ;
91 complete->
set(chid, gain, data[0]) ;
92 return StatusCode::SUCCESS ;
95 complete->
set(chid, data[0]) ;
96 return StatusCode::SUCCESS ;
99 complete->
set(chid, data[0]) ;
100 return StatusCode::SUCCESS ;
103 complete->
set(chid, data[0]) ;
104 return StatusCode::SUCCESS ;
107 complete->
set(chid, data[0]) ;
108 return StatusCode::SUCCESS ;
111 complete->
set(chid, data[0]) ;
112 return StatusCode::SUCCESS ;
115 complete->
set(chid, data[0]) ;
116 return StatusCode::SUCCESS ;
119 complete->
set(chid, data[0]) ;
120 return StatusCode::SUCCESS ;
const ServiceHandle< StoreGateSvc > & detStore() const
An algorithm that can be simultaneously executed in multiple threads.
This class implements the ILArCableAttenuation interface.
void set(const HWIdentifier &CellID, float vCableAttenuation)
This class implements the ILArCableLength interface.
void set(const HWIdentifier &CellID, float vCableLength)
This class implements the ILArCaliPulseParams interface.
void set(const HWIdentifier &CellID, int gain, float tcal, float fstep)
This class implements the ILArDetCellParams interface.
void set(const HWIdentifier &CellID, int gain, float omega0, float taur)
This class implements the ILArEMEC_Cphi interface.
void set(const HWIdentifier &CellID, float vEMEC_Cphi)
This class implements the ILArEMEC_HValpha interface.
void set(const HWIdentifier &CellID, float vEMEC_HValpha)
This class implements the ILArEMEC_HVbeta interface.
void set(const HWIdentifier &CellID, float vEMEC_HVbeta)
Helper class for LArEM offline identifiers.
Helper class for LArFCAL offline identifiers.
Helper class for LArHEC offline identifiers.
This class implements the ILArMphysOverMcal interface.
void set(const HWIdentifier &CellID, int gain, float vMphysOverMcal)
This algorithm reads an ascii file and fill a paremeters structure into the detector store.
StatusCode set(LArEMEC_HValphaComplete *complete, HWIdentifier chid, int, const std::vector< float > &data)
StatusCode set(LArMphysOverMcalComplete *complete, HWIdentifier chid, int gain, const std::vector< float > &data)
StatusCode do_symLink ATLAS_ARGUMENT_NOT_CONST_THREAD_SAFE(const LArCableLengthComplete *data)
const LArHEC_ID * m_hecId
StatusCode do_symLink ATLAS_ARGUMENT_NOT_CONST_THREAD_SAFE(const LArTshaperComplete *data)
StatusCode do_symLink ATLAS_ARGUMENT_NOT_CONST_THREAD_SAFE(const LArMphysOverMcalComplete *data)
StringProperty m_chIdType
StatusCode set(LArTdriftComplete *complete, HWIdentifier chid, int, const std::vector< float > &data)
virtual ~LArReadParamsFromFile()
StatusCode set(LArEMEC_CphiComplete *complete, HWIdentifier chid, int, const std::vector< float > &data)
StatusCode do_symLink ATLAS_ARGUMENT_NOT_CONST_THREAD_SAFE(const LArCaliPulseParamsComplete *data)
StatusCode do_symLink ATLAS_ARGUMENT_NOT_CONST_THREAD_SAFE(const LArPhysCaliTdiffComplete *data)
StatusCode do_symLink ATLAS_ARGUMENT_NOT_CONST_THREAD_SAFE(const LArEMEC_HVbetaComplete *data)
StatusCode do_symLink ATLAS_ARGUMENT_NOT_CONST_THREAD_SAFE(const LArEMEC_HValphaComplete *data)
BooleanProperty m_useOfflineIdentifier
virtual StatusCode execute(const EventContext &) const override
StringProperty m_customKey
virtual StatusCode initialize() override
StringProperty m_groupingName
StatusCode do_symLink ATLAS_ARGUMENT_NOT_CONST_THREAD_SAFE(const LArDetCellParamsComplete *data)
virtual StatusCode stop ATLAS_NOT_THREAD_SAFE() override
StatusCode do_symLink ATLAS_ARGUMENT_NOT_CONST_THREAD_SAFE(const LArRinjComplete *data)
StatusCode set(LArCableLengthComplete *complete, HWIdentifier chid, int, const std::vector< float > &data)
StatusCode set(LArTshaperComplete *complete, HWIdentifier chid, int, const std::vector< float > &data)
const LArFCAL_ID * m_fcalId
StatusCode set(LArCaliPulseParamsComplete *complete, HWIdentifier chid, int gain, const std::vector< float > &data)
StatusCode set(LArPhysCaliTdiffComplete *complete, HWIdentifier chid, int gain, const std::vector< float > &data)
LArCaliPulseParamsComplete * m_dataclass
StatusCode set(LArEMEC_HVbetaComplete *complete, HWIdentifier chid, int, const std::vector< float > &data)
SG::ReadCondHandleKey< LArOnOffIdMapping > m_cablingKey
StatusCode set(LArRinjComplete *complete, HWIdentifier chid, int, const std::vector< float > &data)
StatusCode do_symLink ATLAS_ARGUMENT_NOT_CONST_THREAD_SAFE(const LArCableAttenuationComplete *data)
StatusCode do_symLink ATLAS_ARGUMENT_NOT_CONST_THREAD_SAFE(const LArEMEC_CphiComplete *data)
StatusCode set(LArDetCellParamsComplete *complete, HWIdentifier chid, int gain, const std::vector< float > &data)
const LArOnlineID * m_onlineHelper
StatusCode do_symLink ATLAS_ARGUMENT_NOT_CONST_THREAD_SAFE(const LArTdriftComplete *data)
StatusCode set(LArCableAttenuationComplete *complete, HWIdentifier chid, int, const std::vector< float > &data)
This class implements the ILArRinj interface.
void set(const HWIdentifier &CellID, float vRinj)
This class implements the ILArTdrift interface.
void set(const HWIdentifier &CellID, float tdrift)
This class implements the ILArTshaper interface.
void set(const HWIdentifier &CellID, float vTshaper)