ATLAS Offline Software
LArHVCorrMaker.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 //Dear emacs, this is -*-c++-*-
6 
7 #ifndef LARHVCORRMAKER_H
8 #define LARHVCORRMAKER_H
9 
10 // Include files
15 
16 
17 class LArOnlineID;
18 
19 //-----------------------------------------------------------------------
21 //------`-----------------------------------------------------------------
22 {
23  public:
24 
25  //Delgate constructor
27 
28 
29  // Destructor
30  virtual ~LArHVCorrMaker();
31 
32  // Algorithm initialization
33  virtual StatusCode initialize() override;
34 
35  // Algorithm execution
36  virtual StatusCode execute() override;
37 
38  // Algorithm finalization
39  virtual StatusCode stop() override;
40  virtual StatusCode finalize() override {return StatusCode::SUCCESS;}
41 
42  private:
43  const LArOnlineID* m_lar_on_id = nullptr;
44 
45  Gaudi::Property<std::string> m_folderName{this,"folderName", "/LAR/ElecCalibFlat/HVScaleCorr",
46  "Folder to store the CondAttrListCollection containing the HVScale correction"};
47 
49  { this, "LArHVScaleCorr", "LArHVScaleCorrRecomputed", "" };
51  { this, "CablingKey", "LArOnOffIdMap", "SG Key of LArOnOffIdMapping object" };
52 
53 };
54 
55 #endif
LArHVCorrMaker::initialize
virtual StatusCode initialize() override
Definition: LArHVCorrMaker.cxx:25
LArHVCorrMaker::finalize
virtual StatusCode finalize() override
Definition: LArHVCorrMaker.h:40
LArHVCorrMaker::m_scaleCorrKey
SG::ReadCondHandleKey< ILArHVScaleCorr > m_scaleCorrKey
Definition: LArHVCorrMaker.h:49
AthAlgorithm.h
LArHVCorrMaker
Definition: LArHVCorrMaker.h:22
LArOnOffIdMapping.h
LArHVCorrMaker::m_cablingKey
SG::ReadCondHandleKey< LArOnOffIdMapping > m_cablingKey
Definition: LArHVCorrMaker.h:51
ILArHVScaleCorr.h
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
LArHVCorrMaker::m_lar_on_id
const LArOnlineID * m_lar_on_id
Definition: LArHVCorrMaker.h:43
AthAlgorithm
Definition: AthAlgorithm.h:47
ReadCondHandleKey.h
LArOnlineID
Definition: LArOnlineID.h:20
SG::ReadCondHandleKey< ILArHVScaleCorr >
LArHVCorrMaker::m_folderName
Gaudi::Property< std::string > m_folderName
Definition: LArHVCorrMaker.h:45
AthAlgorithm::AthAlgorithm
AthAlgorithm()
Default constructor:
LArHVCorrMaker::stop
virtual StatusCode stop() override
Definition: LArHVCorrMaker.cxx:43
LArHVCorrMaker::execute
virtual StatusCode execute() override
Definition: LArHVCorrMaker.cxx:36
LArHVCorrMaker::~LArHVCorrMaker
virtual ~LArHVCorrMaker()