ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
LArCalorimeter
LArCalibUtils
src
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
10
#include "
AthenaBaseComps/AthAlgorithm.h
"
11
12
#include "
LArCabling/LArOnOffIdMapping.h
"
13
#include "
StoreGate/ReadCondHandleKey.h
"
14
15
#include "
LArElecCalib/ILArDAC2uA.h
"
16
#include "
LArElecCalib/ILAruA2MeV.h
"
17
#include "
LArRawConditions/LArMCSym.h
"
18
#include "
CaloDetDescr/CaloDetDescrManager.h
"
19
20
21
class
LArOnlineID
;
22
class
CaloCell_ID
;
23
class
LArR4ElecCalibCalculator
:
public
AthAlgorithm
{
24
25
public
:
26
using
AthAlgorithm::AthAlgorithm
;
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
34
private
:
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
54
const
LArOnlineID
*
m_onlineHelper
=
nullptr
;
55
const
CaloCell_ID
*
m_caloCellID
=
nullptr
;
56
57
};
58
59
#endif
AthAlgorithm.h
CaloDetDescrManager.h
Definition of CaloDetDescrManager.
ILArDAC2uA.h
ILAruA2MeV.h
LArMCSym.h
LArOnOffIdMapping.h
ReadCondHandleKey.h
AthAlgorithm::AthAlgorithm
AthAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Constructor.
Definition
AthAlgorithm.cxx:10
CaloCell_ID
Helper class for offline cell identifiers.
Definition
CaloCell_ID.h:34
LArOnlineID
Definition
LArOnlineID.h:21
LArR4ElecCalibCalculator
Definition
LArR4ElecCalibCalculator.h:23
LArR4ElecCalibCalculator::m_mcSym
SG::ReadCondHandleKey< LArMCSym > m_mcSym
Definition
LArR4ElecCalibCalculator.h:38
LArR4ElecCalibCalculator::m_pedestalRMS
Gaudi::Property< float > m_pedestalRMS
Definition
LArR4ElecCalibCalculator.h:48
LArR4ElecCalibCalculator::m_lArDAC2uAKey
SG::ReadCondHandleKey< ILArDAC2uA > m_lArDAC2uAKey
Definition
LArR4ElecCalibCalculator.h:37
LArR4ElecCalibCalculator::m_lAruA2MeVKey
SG::ReadCondHandleKey< ILAruA2MeV > m_lAruA2MeVKey
Definition
LArR4ElecCalibCalculator.h:36
LArR4ElecCalibCalculator::m_keyoutput
Gaudi::Property< std::string > m_keyoutput
Definition
LArR4ElecCalibCalculator.h:42
LArR4ElecCalibCalculator::m_pedkeyoutput
Gaudi::Property< std::string > m_pedkeyoutput
Definition
LArR4ElecCalibCalculator.h:49
LArR4ElecCalibCalculator::m_caloMgrKey
SG::ReadCondHandleKey< CaloDetDescrManager > m_caloMgrKey
Definition
LArR4ElecCalibCalculator.h:39
LArR4ElecCalibCalculator::m_pedestalValue
Gaudi::Property< float > m_pedestalValue
Definition
LArR4ElecCalibCalculator.h:46
LArR4ElecCalibCalculator::m_caloCellID
const CaloCell_ID * m_caloCellID
Definition
LArR4ElecCalibCalculator.h:55
LArR4ElecCalibCalculator::initialize
virtual StatusCode initialize() override
Definition
LArR4ElecCalibCalculator.cxx:41
LArR4ElecCalibCalculator::m_cablingKey
SG::ReadCondHandleKey< LArOnOffIdMapping > m_cablingKey
Definition
LArR4ElecCalibCalculator.h:35
LArR4ElecCalibCalculator::m_nADCBits
IntegerProperty m_nADCBits
Definition
LArR4ElecCalibCalculator.h:44
LArR4ElecCalibCalculator::stop
virtual StatusCode stop() override
Definition
LArR4ElecCalibCalculator.cxx:63
LArR4ElecCalibCalculator::m_onlineHelper
const LArOnlineID * m_onlineHelper
Definition
LArR4ElecCalibCalculator.h:54
LArR4ElecCalibCalculator::AthAlgorithm
AthAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Constructor.
Definition
AthAlgorithm.cxx:10
LArR4ElecCalibCalculator::m_crestDBStr
Gaudi::Property< std::string > m_crestDBStr
Definition
LArR4ElecCalibCalculator.h:51
LArR4ElecCalibCalculator::execute
virtual StatusCode execute(const EventContext &ctx) override
Execute method.
Definition
LArR4ElecCalibCalculator.cxx:58
SG::ReadCondHandleKey
Definition
ReadCondHandleKey.h:21
Generated on
for ATLAS Offline Software by
1.17.0