ATLAS Offline Software
Loading...
Searching...
No Matches
CaloCellCalcEnergyCorr.h
Go to the documentation of this file.
1
2
3/*
4 Copyright (C) 2002-2026 CERN for the benefit of the ATLAS collaboration
5*/
6
7#ifndef CALOCONDPHYSALGS_CALOCELLCALCENERGYCORR_H
8#define CALOCONDPHYSALGS_CALOCELLCALCENERGYCORR_H 1
9// FrameWork includes
11
21
22
24{
25
27 // Public methods:
29 public:
30
31 // Copy constructor:
32
34 CaloCellCalcEnergyCorr( const std::string& name, ISvcLocator* pSvcLocator );
35
38
39 // Athena algorithm's Hooks
40 virtual StatusCode initialize() override;
41 virtual StatusCode execute() override;
42 virtual StatusCode finalize() override;
43 virtual StatusCode stop() override;
44
45private:
46 struct HVData;
47
48 // Properties
49 Gaudi::Property<std::string> m_folder{this, "Folder", "/LAR/CellCorrOfl/EnergyCorr"};
50 Gaudi::Property<std::vector<int>> m_calosample{this, "CaloSamples", {-1}}; // which CaloSamples to be filled (numbers from CaloSample enum in CaloCell_Base_ID
51 Gaudi::Property<std::vector<float>> m_value{this, "SampleValues", {1.0}}; // value to fill for every sample
52 Gaudi::Property<std::vector<int>> m_hvlines{this, "HVLines", {-1}}; // which hvlines should be changed in addition
53 Gaudi::Property<std::vector<float>> m_hvvalue{this, "HVvalues", {1.0}}; // value to fill for every hvline
54
56 {this, "LArHVIdMapping", "LArHVIdMap", "SG key for HV ID mapping"};
58 {this, "DCSFolderNames", {"/LAR/DCS/HV/BARREl/I16", "/LAR/DCS/HV/BARREL/I8"},
59 "DCS folders with HV values"};
61 {this, "CaloDetDescrManager", "CaloDetDescrManager",
62 "SG Key for CaloDetDescrManager in the Condition Store" };
63
64 // Private members
68
69 std::vector<int> GetHVLines(const HVData& hvdata, const Identifier& id, const CaloDetDescrManager* caloMgr) ;
70};
71
72#endif //> !CALOCONDPHYSALGS_CALOCELLCALCENERGYCORR_H
Definition of CaloDetDescrManager.
This file defines the class for a collection of AttributeLists where each one is associated with a ch...
AthAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Constructor with parameters:
virtual StatusCode execute() override
Gaudi::Property< std::string > m_folder
virtual StatusCode initialize() override
SG::ReadCondHandleKey< LArHVIdMapping > m_hvCablingKey
Gaudi::Property< std::vector< float > > m_value
virtual ~CaloCellCalcEnergyCorr()
Destructor:
Gaudi::Property< std::vector< float > > m_hvvalue
virtual StatusCode stop() override
CaloCellCalcEnergyCorr(const std::string &name, ISvcLocator *pSvcLocator)
Constructor with parameters:
std::vector< int > GetHVLines(const HVData &hvdata, const Identifier &id, const CaloDetDescrManager *caloMgr)
SG::ReadCondHandleKeyArray< CondAttrListCollection > m_DCSFolderKeys
SG::ReadCondHandleKey< CaloDetDescrManager > m_caloMgrKey
Gaudi::Property< std::vector< int > > m_calosample
virtual StatusCode finalize() override
Gaudi::Property< std::vector< int > > m_hvlines
const LArFCAL_ID * m_larfcal_id
This class provides the client interface for accessing the detector description information common to...
Helper class for LArEM offline identifiers.
Definition LArEM_ID.h:111
Helper class for LArFCAL offline identifiers.
Definition LArFCAL_ID.h:49
Helper class for LArHEC offline identifiers.
Definition LArHEC_ID.h:76
HandleKeyArray< ReadCondHandle< T >, CondHandleDefault::Key< ReadCondHandleKey< T > >, Gaudi::DataHandle::Reader > ReadCondHandleKeyArray