ATLAS Offline Software
Loading...
Searching...
No Matches
CaloCellCalcEnergyCorr.h
Go to the documentation of this file.
1
2
3/*
4 Copyright (C) 2002-2021 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 std::string m_folder;
50 std::vector<int> m_calosample; // which CaloSamples to be filled (numbers from CaloSample enum in CaloCell_Base_ID
51 std::vector<float> m_value; // value to fill for every sample
52 std::vector<int> m_hvlines; // which hvlines should be changed in addition
53 std::vector<float> m_hvvalue; // 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", "SG Key for CaloDetDescrManager in the Condition Store" };
62
63 // Private members
67
68 std::vector<int> GetHVLines(const HVData& hvdata, const Identifier& id, const CaloDetDescrManager* caloMgr) ;
69};
70
71#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
virtual StatusCode initialize() override
SG::ReadCondHandleKey< LArHVIdMapping > m_hvCablingKey
virtual ~CaloCellCalcEnergyCorr()
Destructor:
virtual StatusCode stop() override
CaloCellCalcEnergyCorr(const std::string &name, ISvcLocator *pSvcLocator)
Constructor with parameters:
std::vector< int > m_calosample
std::vector< int > GetHVLines(const HVData &hvdata, const Identifier &id, const CaloDetDescrManager *caloMgr)
SG::ReadCondHandleKeyArray< CondAttrListCollection > m_DCSFolderKeys
std::vector< float > m_value
SG::ReadCondHandleKey< CaloDetDescrManager > m_caloMgrKey
std::vector< float > m_hvvalue
virtual StatusCode finalize() override
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