ATLAS Offline Software
Loading...
Searching...
No Matches
LArR4ElecCalibCalculator.h
Go to the documentation of this file.
1//Dear emacs, this is -*- c++ -*-
2
3/*
4 Copyright (C) 2002-2026 CERN for the benefit of the ATLAS collaboration
5*/
6
7
8#ifndef LARR4ELECCALIBCALCULATOR_H
9#define LARR4ELECCALIBCALCULATOR_H
11
14
19
20
21class LArOnlineID;
22class CaloCell_ID;
24
25public:
27
28 //standard algorithm methods
29 virtual StatusCode initialize() override;
30 virtual StatusCode execute(const EventContext& ctx) override;
31 virtual StatusCode stop() override;
32
33
34private:
35 SG::ReadCondHandleKey<LArOnOffIdMapping> m_cablingKey{this, "OnOffMap", "LArOnOffIdMap", "SG key for mapping object"};
36 SG::ReadCondHandleKey<ILAruA2MeV> m_lAruA2MeVKey{this,"LAruA2MeVKey","LAruA2MeVSym","SG key of uA2MeV object"}; //Always used
37 SG::ReadCondHandleKey<ILArDAC2uA> m_lArDAC2uAKey{this,"LArDAC2uAKey","LArDAC2uASym","SG key of DAC2uA object"}; //Always used
38 SG::ReadCondHandleKey<LArMCSym> m_mcSym{this,"MCSym","LArMCSym","SG Key of LArMCSym object"};
39 SG::ReadCondHandleKey<CaloDetDescrManager> m_caloMgrKey{this,"CaloDetDescrManager", "CaloDetDescrManager"};
40
41
42 Gaudi::Property<std::string> m_keyoutput{this,"KeyOutput","LArRamp","SG Key of output object"};
43
44 IntegerProperty m_nADCBits{this,"nADCBits",15,"Assume 15-bit ADC"};
45
46 Gaudi::Property<float> m_pedestalValue{this,"pedestal",8192,"Pedestal values for the two gains"};
47 //FIXME: The pedestal RMS is 4 for the lower gain. But the current LArPedestalMC cond obj doesn't allow gain-dependent values
48 Gaudi::Property<float> m_pedestalRMS{this,"pedestalRMS",17,"Pedestal RMS for the two gains"};
49 Gaudi::Property<std::string> m_pedkeyoutput{this,"PedKeyOutput","LArPedestal","SG Key of output object"};
50
51 Gaudi::Property<std::string> m_crestDBStr{this, "CRESTDB","","CREST connection string"};
52
53
55 const CaloCell_ID* m_caloCellID=nullptr;
56
57};
58
59#endif
Definition of CaloDetDescrManager.
AthAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Constructor.
Helper class for offline cell identifiers.
Definition CaloCell_ID.h:34
SG::ReadCondHandleKey< LArMCSym > m_mcSym
Gaudi::Property< float > m_pedestalRMS
SG::ReadCondHandleKey< ILArDAC2uA > m_lArDAC2uAKey
SG::ReadCondHandleKey< ILAruA2MeV > m_lAruA2MeVKey
Gaudi::Property< std::string > m_keyoutput
Gaudi::Property< std::string > m_pedkeyoutput
SG::ReadCondHandleKey< CaloDetDescrManager > m_caloMgrKey
Gaudi::Property< float > m_pedestalValue
virtual StatusCode initialize() override
SG::ReadCondHandleKey< LArOnOffIdMapping > m_cablingKey
virtual StatusCode stop() override
AthAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Constructor.
Gaudi::Property< std::string > m_crestDBStr
virtual StatusCode execute(const EventContext &ctx) override
Execute method.