ATLAS Offline Software
Loading...
Searching...
No Matches
LArADC2MeVCondAlg.h
Go to the documentation of this file.
1//Dear emacs, this is -*- c++ -*-
2
3/*
4 Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
5*/
6
7
8
9#ifndef LARRECUTILS_LARADC2MEVCONDALG_H
10#define LARRECUTILS_LARADC2MEVCONDALG_H
11
23
25
26
28 public:
29
30 using AthCondAlgorithm::AthCondAlgorithm;
32
33 StatusCode initialize() override;
34 StatusCode execute(const EventContext& ctx) const override;
35 StatusCode finalize() override {return StatusCode::SUCCESS;}
36
37 private:
38 SG::ReadCondHandleKey<LArOnOffIdMapping> m_cablingKey{this,"LArOnOffIdMappingKey","LArOnOffIdMap","SG key of LArOnOffIdMapping object"};
39 SG::ReadCondHandleKey<ILAruA2MeV> m_lAruA2MeVKey{this,"LAruA2MeVKey","LAruA2MeV","SG key of uA2MeV object"}; //Always used
40 SG::ReadCondHandleKey<ILArDAC2uA> m_lArDAC2uAKey{this,"LArDAC2uAKey","LArDAC2uA","SG key of DAC2uA object"}; //Always used
41 SG::ReadCondHandleKey<ILArRamp> m_lArRampKey{this,"LArRampKey","LArRamp","SG key of Ramp object"}; //Always used
42
43
44 SG::ReadCondHandleKey<ILArMphysOverMcal> m_lArMphysOverMcalKey{this,"LArMphysOverMcalKey","LArMphysOverMcal",
45 "SG key of MpysOverMcal object (or empty string if no MphysOverMcal)"}; //Not used for supercells
46 SG::ReadCondHandleKey<ILArHVScaleCorr> m_lArHVScaleCorrKey{this,"LArHVScaleCorrKey","LArHVScaleCorr",
47 "SG key of HVScaleCorr object (or empty string if no HVScaleCorr)"}; //Not (yet) used for supercells and simulation
48
49 SG::WriteCondHandleKey<LArADC2MeV> m_ADC2MeVKey{this,"LArADC2MeVKey","LArADC2MeV","SG key of the resulting LArADC2MeV object"};
50
51 SG::ReadCondHandleKey<LArFebConfig> m_febConfigKey{this,"FebConfigKey","LArFebConfig","SG key for FEB config object"};
52
53 Gaudi::Property<bool> m_useFEBGainThresholds{this,"UseFEBGainTresholds",true};
54 Gaudi::Property<bool> m_isSuperCell{this,"isSuperCell",false,"switch to true to use the SuperCell Identfier helper"};
55 Gaudi::Property<bool> m_completeDetector{this,"CompleteDetector",true,"If True, this algo will fail if input data is missing"};
56
57 size_t m_nGains = 0UL;
59};
60
61
62
63#endif
Base class for conditions algorithms.
Base class for conditions algorithms.
SG::ReadCondHandleKey< LArOnOffIdMapping > m_cablingKey
Gaudi::Property< bool > m_isSuperCell
SG::ReadCondHandleKey< LArFebConfig > m_febConfigKey
SG::ReadCondHandleKey< ILArHVScaleCorr > m_lArHVScaleCorrKey
SG::ReadCondHandleKey< ILArMphysOverMcal > m_lArMphysOverMcalKey
StatusCode finalize() override
SG::ReadCondHandleKey< ILArDAC2uA > m_lArDAC2uAKey
SG::WriteCondHandleKey< LArADC2MeV > m_ADC2MeVKey
Gaudi::Property< bool > m_completeDetector
SG::ReadCondHandleKey< ILArRamp > m_lArRampKey
const LArOnlineID_Base * m_larOnlineID
StatusCode execute(const EventContext &ctx) const override
SG::ReadCondHandleKey< ILAruA2MeV > m_lAruA2MeVKey
StatusCode initialize() override
Gaudi::Property< bool > m_useFEBGainThresholds
Helper for the Liquid Argon Calorimeter cell identifiers.