ATLAS Offline Software
PixelOfflineCalibCondAlg.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
3 */
11 #ifndef PIXELOFFLINECALIBCONDALG
12 #define PIXELOFFLINECALIBCONDALG
13 
15 
18 
21 
22 #include "Gaudi/Property.h"
23 
25  public:
26  PixelOfflineCalibCondAlg(const std::string& name, ISvcLocator* pSvcLocator);
27  virtual ~PixelOfflineCalibCondAlg() = default;
28 
29  virtual StatusCode initialize() override final;
30  virtual StatusCode execute(const EventContext& ctx) const override final;
31  virtual bool isReEntrant() const override final { return false; }
32 
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_textFileName1
38  {this, "PixelClusterErrorDataFile", "PixelClusterErrorData.txt","Read constants from this file"};
39 
40  Gaudi::Property<std::string> m_textFileName2
41  {this, "PixelClusterOnTrackErrorDataFile", "PixelClusterOnTrackErrorData.txt","Read constants from this file"};
42 
43  Gaudi::Property<std::string> m_textFileName3
44  {this, "PixelChargeInterpolationDataFile", "PixelChargeInterpolationData.txt","Read constants from this file"};
45 
46  Gaudi::Property<int> m_dump
47  {this, "DumpConstants", 0, "Dump constants to text file"};
48 
50  {this, "ReadKey", "/PIXEL/PixReco", "Input key of pixreco conditions folder"};
51 
53  {this, "WriteKey", "PixelOfflineCalibData", "Output key of pixel module data"};
54 };
55 
56 #endif
PixelOfflineCalibCondAlg::PixelOfflineCalibCondAlg
PixelOfflineCalibCondAlg(const std::string &name, ISvcLocator *pSvcLocator)
Definition: PixelOfflineCalibCondAlg.cxx:12
PixelOfflineCalibData.h
PixelOfflineCalibCondAlg::m_textFileName3
Gaudi::Property< std::string > m_textFileName3
Definition: PixelOfflineCalibCondAlg.h:44
WriteCondHandleKey.h
const
bool const RAWDATA *ch2 const
Definition: LArRodBlockPhysicsV0.cxx:560
PixelOfflineCalibCondAlg::m_textFileName1
Gaudi::Property< std::string > m_textFileName1
Definition: PixelOfflineCalibCondAlg.h:38
AthReentrantAlgorithm
An algorithm that can be simultaneously executed in multiple threads.
Definition: AthReentrantAlgorithm.h:83
PixelOfflineCalibCondAlg::m_readKey
SG::ReadCondHandleKey< DetCondCFloat > m_readKey
Definition: PixelOfflineCalibCondAlg.h:50
PixelOfflineCalibCondAlg::m_textFileName2
Gaudi::Property< std::string > m_textFileName2
Definition: PixelOfflineCalibCondAlg.h:41
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
PixelOfflineCalibCondAlg
Definition: PixelOfflineCalibCondAlg.h:24
ReadCondHandleKey.h
AthReentrantAlgorithm.h
PixelOfflineCalibCondAlg::~PixelOfflineCalibCondAlg
virtual ~PixelOfflineCalibCondAlg()=default
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:228
SG::ReadCondHandleKey< DetCondCFloat >
PixelOfflineCalibCondAlg::isReEntrant
virtual bool isReEntrant() const override final
Definition: PixelOfflineCalibCondAlg.h:31
PixelOfflineCalibCondAlg::m_writeKey
SG::WriteCondHandleKey< PixelCalib::PixelOfflineCalibData > m_writeKey
Definition: PixelOfflineCalibCondAlg.h:53
DetCondCFloat.h
SG::WriteCondHandleKey< PixelCalib::PixelOfflineCalibData >
PixelOfflineCalibCondAlg::m_inputSource
Gaudi::Property< int > m_inputSource
Definition: PixelOfflineCalibCondAlg.h:35
PixelOfflineCalibCondAlg::execute
virtual StatusCode execute(const EventContext &ctx) const override final
Definition: PixelOfflineCalibCondAlg.cxx:30
PixelOfflineCalibCondAlg::initialize
virtual StatusCode initialize() override final
Definition: PixelOfflineCalibCondAlg.cxx:17
PixelOfflineCalibCondAlg::m_dump
Gaudi::Property< int > m_dump
Definition: PixelOfflineCalibCondAlg.h:47