ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
LArCalorimeter
LArRecUtils
src
LArADC2MeVCondAlg.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
9
#ifndef LARRECUTILS_LARADC2MEVCONDALG_H
10
#define LARRECUTILS_LARADC2MEVCONDALG_H
11
12
#include "
AthenaBaseComps/AthCondAlgorithm.h
"
13
#include "
StoreGate/ReadCondHandleKey.h
"
14
#include "
StoreGate/WriteCondHandleKey.h
"
15
#include "
LArRecConditions/LArFebConfig.h
"
16
#include "
LArRawConditions/LArADC2MeV.h
"
17
#include "
LArCabling/LArOnOffIdMapping.h
"
18
#include "
LArElecCalib/ILArRamp.h
"
19
#include "
LArElecCalib/ILArDAC2uA.h
"
20
#include "
LArElecCalib/ILAruA2MeV.h
"
21
#include "
LArElecCalib/ILArMphysOverMcal.h
"
22
#include "
LArElecCalib/ILArHVScaleCorr.h
"
23
24
class
LArOnlineID_Base
;
25
26
27
class
LArADC2MeVCondAlg
:
public
AthCondAlgorithm
{
28
public
:
29
30
using
AthCondAlgorithm::AthCondAlgorithm;
31
~LArADC2MeVCondAlg
();
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
Gaudi::Property<unsigned>
m_nGains
{
this
,
"NGains"
,3,
"Expected number of gains"
};
58
59
const
LArOnlineID_Base
*
m_larOnlineID
=
nullptr
;
60
};
61
62
63
64
#endif
AthCondAlgorithm.h
Base class for conditions algorithms.
ILArDAC2uA.h
ILArHVScaleCorr.h
ILArMphysOverMcal.h
ILArRamp.h
ILAruA2MeV.h
LArADC2MeV.h
LArFebConfig.h
LArOnOffIdMapping.h
ReadCondHandleKey.h
WriteCondHandleKey.h
AthCondAlgorithm
Base class for conditions algorithms.
Definition
AthCondAlgorithm.h:22
LArADC2MeVCondAlg
Definition
LArADC2MeVCondAlg.h:27
LArADC2MeVCondAlg::m_cablingKey
SG::ReadCondHandleKey< LArOnOffIdMapping > m_cablingKey
Definition
LArADC2MeVCondAlg.h:38
LArADC2MeVCondAlg::m_isSuperCell
Gaudi::Property< bool > m_isSuperCell
Definition
LArADC2MeVCondAlg.h:54
LArADC2MeVCondAlg::m_febConfigKey
SG::ReadCondHandleKey< LArFebConfig > m_febConfigKey
Definition
LArADC2MeVCondAlg.h:51
LArADC2MeVCondAlg::m_nGains
Gaudi::Property< unsigned > m_nGains
Definition
LArADC2MeVCondAlg.h:57
LArADC2MeVCondAlg::m_lArHVScaleCorrKey
SG::ReadCondHandleKey< ILArHVScaleCorr > m_lArHVScaleCorrKey
Definition
LArADC2MeVCondAlg.h:46
LArADC2MeVCondAlg::m_lArMphysOverMcalKey
SG::ReadCondHandleKey< ILArMphysOverMcal > m_lArMphysOverMcalKey
Definition
LArADC2MeVCondAlg.h:44
LArADC2MeVCondAlg::finalize
StatusCode finalize() override
Definition
LArADC2MeVCondAlg.h:35
LArADC2MeVCondAlg::m_lArDAC2uAKey
SG::ReadCondHandleKey< ILArDAC2uA > m_lArDAC2uAKey
Definition
LArADC2MeVCondAlg.h:40
LArADC2MeVCondAlg::m_ADC2MeVKey
SG::WriteCondHandleKey< LArADC2MeV > m_ADC2MeVKey
Definition
LArADC2MeVCondAlg.h:49
LArADC2MeVCondAlg::m_completeDetector
Gaudi::Property< bool > m_completeDetector
Definition
LArADC2MeVCondAlg.h:55
LArADC2MeVCondAlg::~LArADC2MeVCondAlg
~LArADC2MeVCondAlg()
Definition
LArADC2MeVCondAlg.cxx:11
LArADC2MeVCondAlg::m_lArRampKey
SG::ReadCondHandleKey< ILArRamp > m_lArRampKey
Definition
LArADC2MeVCondAlg.h:41
LArADC2MeVCondAlg::m_larOnlineID
const LArOnlineID_Base * m_larOnlineID
Definition
LArADC2MeVCondAlg.h:59
LArADC2MeVCondAlg::execute
StatusCode execute(const EventContext &ctx) const override
Definition
LArADC2MeVCondAlg.cxx:59
LArADC2MeVCondAlg::m_lAruA2MeVKey
SG::ReadCondHandleKey< ILAruA2MeV > m_lAruA2MeVKey
Definition
LArADC2MeVCondAlg.h:39
LArADC2MeVCondAlg::initialize
StatusCode initialize() override
Definition
LArADC2MeVCondAlg.cxx:14
LArADC2MeVCondAlg::m_useFEBGainThresholds
Gaudi::Property< bool > m_useFEBGainThresholds
Definition
LArADC2MeVCondAlg.h:53
LArOnlineID_Base
Helper for the Liquid Argon Calorimeter cell identifiers.
Definition
LArOnlineID_Base.h:97
SG::ReadCondHandleKey
Definition
ReadCondHandleKey.h:21
SG::WriteCondHandleKey
Definition
WriteCondHandleKey.h:22
Generated on
for ATLAS Offline Software by
1.17.0