ATLAS Offline Software
SCT_ReadCalibChipNoiseCondAlg.h
Go to the documentation of this file.
1 // -*- C++ -*-
2 
3 /*
4  Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
5 */
6 
7 #ifndef SCT_ReadCalibChipNoiseCondAlg_h
8 #define SCT_ReadCalibChipNoiseCondAlg_h
9 
10 // Include parent class
12 
13 // Include Athena classes
18 
19 // Include Gaudi classes
20 #include "Gaudi/Property.h"
21 
22 // Forward declarations
23 class SCT_ID;
24 
26 {
27  public:
28  SCT_ReadCalibChipNoiseCondAlg(const std::string& name, ISvcLocator* pSvcLocator);
29  virtual ~SCT_ReadCalibChipNoiseCondAlg() = default;
30  virtual StatusCode initialize() override final;
31  virtual StatusCode execute(const EventContext& ctx) const override final;
32  virtual StatusCode finalize() override final;
33  virtual bool isReEntrant() const override final { return false; }
34 
35  private:
36  static void insertNoiseOccFolderData(SCT_ModuleNoiseCalibData& theseCalibData, const coral::AttributeList& folderData) ;
37 
38  SG::ReadCondHandleKey<CondAttrListCollection> m_readKey{this, "ReadKey", "/SCT/DAQ/Calibration/ChipNoise", "Key of input (raw) noise conditions folder"};
39  SG::WriteCondHandleKey<SCT_NoiseCalibData> m_writeKey{this, "WriteKey", "SCT_NoiseCalibData", "Key of output (derived) noise conditions data"};
40  const SCT_ID* m_id_sct{nullptr};
41 };
42 
43 #endif // SCT_ReadCalibChipNoiseCondAlg_h
SCT_ReadCalibChipNoiseCondAlg::m_readKey
SG::ReadCondHandleKey< CondAttrListCollection > m_readKey
Definition: SCT_ReadCalibChipNoiseCondAlg.h:38
SCT_ModuleNoiseCalibData
std::array< SCT_ModuleCalibParameter, SCT_ConditionsData::N_NOISEOCC > SCT_ModuleNoiseCalibData
Typedef for data object used in SCT_ReadCalibChipNoiseCondAlg and SCT_ReadCalibChipDataTool.
Definition: SCT_ModuleNoiseCalibData.h:26
CondAttrListCollection.h
This file defines the class for a collection of AttributeLists where each one is associated with a ch...
SCT_ReadCalibChipNoiseCondAlg::finalize
virtual StatusCode finalize() override final
Definition: SCT_ReadCalibChipNoiseCondAlg.cxx:105
SCT_ReadCalibChipNoiseCondAlg::initialize
virtual StatusCode initialize() override final
Definition: SCT_ReadCalibChipNoiseCondAlg.cxx:25
WriteCondHandleKey.h
python.PyKernel.AttributeList
AttributeList
Definition: PyKernel.py:36
const
bool const RAWDATA *ch2 const
Definition: LArRodBlockPhysicsV0.cxx:560
AthReentrantAlgorithm
An algorithm that can be simultaneously executed in multiple threads.
Definition: AthReentrantAlgorithm.h:83
SCT_ReadCalibChipNoiseCondAlg::execute
virtual StatusCode execute(const EventContext &ctx) const override final
Definition: SCT_ReadCalibChipNoiseCondAlg.cxx:39
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
SCT_ReadCalibChipNoiseCondAlg::SCT_ReadCalibChipNoiseCondAlg
SCT_ReadCalibChipNoiseCondAlg(const std::string &name, ISvcLocator *pSvcLocator)
Definition: SCT_ReadCalibChipNoiseCondAlg.cxx:20
SCT_ReadCalibChipNoiseCondAlg::m_id_sct
const SCT_ID * m_id_sct
Handle to SCT ID helper.
Definition: SCT_ReadCalibChipNoiseCondAlg.h:40
SCT_ReadCalibChipNoiseCondAlg::m_writeKey
SG::WriteCondHandleKey< SCT_NoiseCalibData > m_writeKey
Definition: SCT_ReadCalibChipNoiseCondAlg.h:39
SCT_ReadCalibChipNoiseCondAlg::insertNoiseOccFolderData
static void insertNoiseOccFolderData(SCT_ModuleNoiseCalibData &theseCalibData, const coral::AttributeList &folderData)
Definition: SCT_ReadCalibChipNoiseCondAlg.cxx:111
SCT_ReadCalibChipNoiseCondAlg
Definition: SCT_ReadCalibChipNoiseCondAlg.h:26
ReadCondHandleKey.h
AthReentrantAlgorithm.h
SCT_NoiseCalibData.h
header file for data object for noise parameters for all modules
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:228
SG::ReadCondHandleKey< CondAttrListCollection >
SCT_ID
Definition: SCT_ID.h:68
SCT_ReadCalibChipNoiseCondAlg::isReEntrant
virtual bool isReEntrant() const override final
Definition: SCT_ReadCalibChipNoiseCondAlg.h:33
SG::WriteCondHandleKey< SCT_NoiseCalibData >
SCT_ReadCalibChipNoiseCondAlg::~SCT_ReadCalibChipNoiseCondAlg
virtual ~SCT_ReadCalibChipNoiseCondAlg()=default