9#ifndef MAGFIELDSERVICES_ATLASFIELDCACHECONDALG_H
10#define MAGFIELDSERVICES_ATLASFIELDCACHECONDALG_H
46 EventIDBase(EventIDBase::UNDEFNUM - 1, EventIDBase::UNDEFEVT - 1)) };
59 "Minimum solenoid current (A) for which solenoid is considered ON"
65 "Minimum toroid current (A) for which toroid is considered ON"
73 "Get magnet currents from DCS through ConditionsSvc"
81 "Skip current rescale and use map currents as they are"
88 "COOLCurrentsFolderName",
89 "/EXT/DCS/MAGNETS/SENSORDATA",
90 "Name of the COOL folder containing magnet currents"
97 "AtlasFieldMapCondObj",
99 "Name of key for the Magnetic Field conditions object with the map file "
107 "AtlasFieldCacheCondObj",
109 "Name of the key for the Magnetic Field conditions object with currents "
117 "Set actual solenoid current (A)" };
121 "Set actual toroid current (A)" };
Base class for conditions algorithms.
This file defines the class for a collection of AttributeLists where each one is associated with a ch...
Base class for conditions algorithms.
virtual ~AtlasFieldCacheCondAlg()
void scaleField(Cache &cache, const MagField::AtlasFieldMap *fieldMap) const
Gaudi::Property< double > m_useSoleCurrent
Gaudi::Property< double > m_useToroCurrent
SG::WriteCondHandleKey< AtlasFieldCacheCondObj > m_condObjOutputKey
Gaudi::Property< double > m_soleMinCurrent
StatusCode updateCurrentFromConditions(const EventContext &ctx, Cache &cache) const
StatusCode updateCurrentFromParameters(const EventContext &ctx, Cache &cache) const
SG::ReadCondHandleKey< CondAttrListCollection > m_currInputKey
Gaudi::Property< double > m_toroMinCurrent
Gaudi::Property< bool > m_useDCS
StatusCode initialize() override final
AtlasFieldCacheCondAlg(const std::string &name, ISvcLocator *pSvcLocator)
Gaudi::Property< bool > m_lockMapCurrents
SG::ReadCondHandleKey< AtlasFieldMapCondObj > m_mapCondObjInputKey
StatusCode execute(const EventContext &ctx) const override final
Local cache for magnetic field (based on MagFieldServices/AtlasFieldSvcTLS.h)
EventIDRange m_condObjOutputRange