ATLAS Offline Software
PixelChargeLUTCalibCondAlg.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
3 */
11 #ifndef PIXELCHARGELUTCALIBCONDALG
12 #define PIXELCHARGELUTCALIBCONDALG
13 
15 
19 
23 
25 #include "Gaudi/Property.h"
26 
27 class PixelID;
28 
29 
31  public:
32  PixelChargeLUTCalibCondAlg(const std::string& name, ISvcLocator* pSvcLocator);
33 
34  virtual StatusCode initialize() override final;
35  virtual StatusCode execute(const EventContext& ctx) const override final;
36  virtual bool isReEntrant() const override final { return false; }
37  private:
38  const PixelID* m_pixelID{nullptr};
39  Gaudi::Property<std::string> m_pixelIDName
40  {this, "PixelIDName", "PixelID", "Pixel ID name"};
41 
43  {this, "PixelDetEleCollKey", "PixelDetectorElementCollection", "Key of SiDetectorElementCollection for Pixel"};
44 
46  {this, "PixelModuleData", "PixelModuleData", "Pixel module data"};
47 
49  {this, "ReadKey", "/PIXEL/ChargeCalibration", "Iput charge calibration folder"};
50 
52  {this, "WriteKey", "PixelChargeCalibCondData", "Output charge caliblation data"};
53 
54  Gaudi::Property<bool> m_useLUTRD53 {this, "useLUTRD53",false,"use LUT for RD53 charge calibration"};
55  Gaudi::Property<int> m_inputSource {this, "InputSource",0,"Source of data: 0 (parametric formula), 1 (single LUT), 2 (json file)"};
56  Gaudi::Property<std::string> m_jsonFileName {this, "DataFile", "ITkPixChargeCalibData.json","Read constants from this file"};
57 };
58 
59 #endif
PixelID.h
This is an Identifier helper class for the Pixel subdetector. This class is a factory for creating co...
CondAttrListCollection.h
This file defines the class for a collection of AttributeLists where each one is associated with a ch...
PixelChargeLUTCalibCondAlg::m_writeKey
SG::WriteCondHandleKey< PixelChargeCalibCondData > m_writeKey
Definition: PixelChargeLUTCalibCondAlg.h:52
WriteCondHandleKey.h
const
bool const RAWDATA *ch2 const
Definition: LArRodBlockPhysicsV0.cxx:562
AthReentrantAlgorithm
An algorithm that can be simultaneously executed in multiple threads.
Definition: AthReentrantAlgorithm.h:83
PixelChargeLUTCalibCondAlg::execute
virtual StatusCode execute(const EventContext &ctx) const override final
Definition: PixelChargeLUTCalibCondAlg.cxx:46
PixelChargeLUTCalibCondAlg::m_pixelIDName
Gaudi::Property< std::string > m_pixelIDName
Definition: PixelChargeLUTCalibCondAlg.h:40
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
PixelChargeLUTCalibCondAlg::m_useLUTRD53
Gaudi::Property< bool > m_useLUTRD53
Definition: PixelChargeLUTCalibCondAlg.h:54
PixelChargeLUTCalibCondAlg::m_jsonFileName
Gaudi::Property< std::string > m_jsonFileName
Definition: PixelChargeLUTCalibCondAlg.h:56
PixelChargeLUTCalibCondAlg
Definition: PixelChargeLUTCalibCondAlg.h:30
PixelChargeLUTCalibCondAlg::initialize
virtual StatusCode initialize() override final
Definition: PixelChargeLUTCalibCondAlg.cxx:36
PixelChargeLUTCalibCondAlg::m_configKey
SG::ReadCondHandleKey< PixelModuleData > m_configKey
Definition: PixelChargeLUTCalibCondAlg.h:46
ReadCondHandleKey.h
AthReentrantAlgorithm.h
PixelChargeLUTCalibCondAlg::m_readKey
SG::ReadCondHandleKey< CondAttrListCollection > m_readKey
Definition: PixelChargeLUTCalibCondAlg.h:49
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:195
PixelChargeLUTCalibCondAlg::m_pixelDetEleCollKey
SG::ReadCondHandleKey< InDetDD::SiDetectorElementCollection > m_pixelDetEleCollKey
Definition: PixelChargeLUTCalibCondAlg.h:43
SiDetectorElementCollection.h
PixelChargeLUTCalibCondAlg::m_pixelID
const PixelID * m_pixelID
Definition: PixelChargeLUTCalibCondAlg.h:38
SG::ReadCondHandleKey< InDetDD::SiDetectorElementCollection >
PixelChargeLUTCalibCondAlg::isReEntrant
virtual bool isReEntrant() const override final
Definition: PixelChargeLUTCalibCondAlg.h:36
PixelChargeLUTCalibCondAlg::PixelChargeLUTCalibCondAlg
PixelChargeLUTCalibCondAlg(const std::string &name, ISvcLocator *pSvcLocator)
Definition: PixelChargeLUTCalibCondAlg.cxx:32
SG::WriteCondHandleKey< PixelChargeCalibCondData >
PixelModuleData.h
Store pixel constant parameters in PixelModuleData.
PixelChargeLUTCalibCondAlg::m_inputSource
Gaudi::Property< int > m_inputSource
Definition: PixelChargeLUTCalibCondAlg.h:55
PixelID
Definition: PixelID.h:67
PixelChargeCalibCondData.h