11#ifndef PIXELSILORENTZANGLECONDALG
12#define PIXELSILORENTZANGLECONDALG
24#include "GaudiKernel/SystemOfUnits.h"
40 virtual StatusCode
execute(
const EventContext& ctx)
const override;
41 virtual StatusCode
finalize()
override;
46 {
this,
"PixelIDName",
"PixelID",
"Pixel ID name"};
50 {
this,
"ReadKeyeTemp",
"PixelDCSTempCondData",
"Key of input sensor temperature conditions folder"};
53 {
this,
"ReadKeyHV",
"PixelDCSHVCondData",
"Key of input bias voltage conditions folder"};
56 {
this,
"ReadKeyBFieldSensor",
"/EXT/DCS/MAGNETS/SENSORDATA",
"Key of input B-field sensor"};
59 {
this,
"PixelDetEleCollKey",
"PixelDetectorElementCollection",
"Key of SiDetectorElementCollection for Pixel"};
62 {
this,
"WriteKey",
"PixelSiLorentzAngleCondData",
"Key of output SiLorentzAngleCondData"};
65 {
this,
"SiPropertiesTool",
"SiPropertiesTool",
"Tool to retrieve SiProperties"};
68 DoubleProperty
m_nominalField {
this,
"NominalField", 2.0834*Gaudi::Units::tesla,
"Default nominal field"};
71 BooleanProperty
m_disable3D{
this,
"Disable3DCorrection",
false};
81 "Name of the Magnetic Field conditions object key"};
Base class for conditions algorithms.
This file defines the class for a collection of AttributeLists where each one is associated with a ch...
Store pixel HV data in PixelDCSHVData.
Store pixel temperature data in PixelDCSTempData.
Base class for conditions algorithms.
Class to hold geometrical description of a silicon detector element.
Local cache for magnetic field (based on MagFieldServices/AtlasFieldSvcTLS.h)
Gaudi::Property< std::string > m_pixelIDName
SG::ReadCondHandleKey< InDetDD::SiDetectorElementCollection > m_pixelDetEleCollKey
virtual StatusCode execute(const EventContext &ctx) const override
SG::ReadCondHandleKey< PixelDCSHVData > m_readKeyHV
Amg::Vector3D getMagneticField(MagField::AtlasFieldCache &m_fieldCache, const InDetDD::SiDetectorElement *element) const
SG::WriteCondHandleKey< SiLorentzAngleCondData > m_writeKey
DoubleProperty m_nominalField
BooleanProperty m_useMagFieldDcs
SG::ReadCondHandleKey< CondAttrListCollection > m_readKeyBFieldSensor
BooleanProperty m_useMagFieldCache
virtual StatusCode finalize() override
ToolHandle< ISiPropertiesTool > m_siPropertiesTool
virtual StatusCode initialize() override
SG::ReadCondHandleKey< AtlasFieldCacheCondObj > m_fieldCondObjInputKey
BooleanProperty m_disable3D
virtual ~PixelSiLorentzAngleCondAlg()=default
PixelSiLorentzAngleCondAlg(const std::string &name, ISvcLocator *pSvcLocator)
SG::ReadCondHandleKey< PixelDCSTempData > m_readKeyTemp
Eigen::Matrix< double, 3, 1 > Vector3D