ATLAS Offline Software
ITkPixelOfflineCalibCondAlg.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef ITKPIXELOFFLINECALIBCONDALG
6 #define ITKPIXELOFFLINECALIBCONDALG
7 
9 
12 
15 
16 #include "Gaudi/Property.h"
17 
18 #include "StoreGate/StoreGateSvc.h"
20 
21 namespace ITk
22 {
23 
25 {
26  public:
27  PixelOfflineCalibCondAlg(const std::string& name, ISvcLocator* pSvcLocator);
28  virtual ~PixelOfflineCalibCondAlg() = default;
29 
30  virtual StatusCode initialize() override final;
31  virtual StatusCode execute(const EventContext& ctx) const override final;
32  virtual bool isReEntrant() const override final { return false; }
33  private:
34  Gaudi::Property<int> m_inputSource
35  {this, "InputSource",2,"Source of data: 0 (none), 1 (text file), 2 (database)"};
36 
37  Gaudi::Property<std::string> m_textFileName
38  {this, "DataFile", "ITkPixelClusterErrorData.txt","Read constants from this file"};
39 
40  Gaudi::Property<int> m_dump
41  {this, "DumpConstants", 0, "Dump constants to text file"};
42 
44  {this, "ReadKey", "/PIXEL/ITkClusterError", "Input key of pixreco conditions folder"};
45 
47  {this, "WriteKey", "ITkPixelOfflineCalibData", "Output key of pixel module data"};
48 
49  const PixelID* m_pixelid{nullptr};
50 
51 };
52 
53 } // namespace ITk
54 
55 #endif
PixelID.h
This is an Identifier helper class for the Pixel subdetector. This class is a factory for creating co...
ITkPixelOfflineCalibData.h
CondAttrListCollection.h
This file defines the class for a collection of AttributeLists where each one is associated with a ch...
ITk::PixelOfflineCalibCondAlg
Definition: ITkPixelOfflineCalibCondAlg.h:25
ITk::PixelOfflineCalibCondAlg::m_writeKey
SG::WriteCondHandleKey< ITk::PixelOfflineCalibData > m_writeKey
Definition: ITkPixelOfflineCalibCondAlg.h:47
WriteCondHandleKey.h
ITk::PixelOfflineCalibCondAlg::initialize
virtual StatusCode initialize() override final
Definition: ITkPixelOfflineCalibCondAlg.cxx:22
ITk::PixelOfflineCalibCondAlg::m_inputSource
Gaudi::Property< int > m_inputSource
Definition: ITkPixelOfflineCalibCondAlg.h:35
const
bool const RAWDATA *ch2 const
Definition: LArRodBlockPhysicsV0.cxx:560
ITk::PixelOfflineCalibCondAlg::m_pixelid
const PixelID * m_pixelid
Definition: ITkPixelOfflineCalibCondAlg.h:49
AthReentrantAlgorithm
An algorithm that can be simultaneously executed in multiple threads.
Definition: AthReentrantAlgorithm.h:83
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
ITk::PixelOfflineCalibCondAlg::PixelOfflineCalibCondAlg
PixelOfflineCalibCondAlg(const std::string &name, ISvcLocator *pSvcLocator)
Definition: ITkPixelOfflineCalibCondAlg.cxx:16
ReadCondHandleKey.h
AthReentrantAlgorithm.h
ITk
Definition: ITkPixelOfflineCalibCondAlg.cxx:14
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:228
SG::ReadCondHandleKey< CondAttrListCollection >
ITk::PixelOfflineCalibCondAlg::m_dump
Gaudi::Property< int > m_dump
Definition: ITkPixelOfflineCalibCondAlg.h:41
ITk::PixelOfflineCalibCondAlg::execute
virtual StatusCode execute(const EventContext &ctx) const override final
Definition: ITkPixelOfflineCalibCondAlg.cxx:39
SG::WriteCondHandleKey< ITk::PixelOfflineCalibData >
ITk::PixelOfflineCalibCondAlg::~PixelOfflineCalibCondAlg
virtual ~PixelOfflineCalibCondAlg()=default
PixelID
Definition: PixelID.h:67
StoreGateSvc.h
ITk::PixelOfflineCalibCondAlg::m_readKey
SG::ReadCondHandleKey< CondAttrListCollection > m_readKey
Definition: ITkPixelOfflineCalibCondAlg.h:44
ITk::PixelOfflineCalibCondAlg::isReEntrant
virtual bool isReEntrant() const override final
Definition: ITkPixelOfflineCalibCondAlg.h:32
ITk::PixelOfflineCalibCondAlg::m_textFileName
Gaudi::Property< std::string > m_textFileName
Definition: ITkPixelOfflineCalibCondAlg.h:38