ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
LArCalorimeter
LArRecUtils
src
LArOFCCondAlg.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
3
*/
4
25
#ifndef LAROFCCONDALG_H
26
#define LAROFCCONDALG_H
27
28
#include "
AthenaBaseComps/AthCondAlgorithm.h
"
29
#include "
StoreGate/ReadCondHandleKey.h
"
30
#include "
StoreGate/WriteCondHandleKey.h
"
31
32
#include "
LArElecCalib/ILArShape.h
"
33
#include "
LArElecCalib/ILArOFC.h
"
34
#include "
LArElecCalib/ILArNoise.h
"
35
#include "
LArElecCalib/ILArPedestal.h
"
36
37
#include "
LArRawConditions/LArAutoCorrTotal.h
"
38
#include "
LArRawConditions/LArOFC.h
"
39
40
#include "
LArCabling/LArOnOffIdMapping.h
"
41
42
class
LArOFCCondAlg
:
public
AthCondAlgorithm
{
43
public
:
44
LArOFCCondAlg
(
const
std::string &name, ISvcLocator *pSvcLocator);
45
virtual
~LArOFCCondAlg
()
override
;
46
47
virtual
StatusCode
initialize
()
override
;
48
virtual
StatusCode
execute
(
const
EventContext& ctx)
const override
;
49
50
private
:
51
SG::ReadCondHandleKey<LArOnOffIdMapping>
m_LArOnOffIdMappingObjKey
;
52
SG::ReadCondHandleKey<ILArShape>
m_LArShapeObjKey
;
53
SG::ReadCondHandleKey<ILArNoise>
m_LArNoiseObjKey
;
54
SG::ReadCondHandleKey<ILArPedestal>
m_LArPedestalObjKey
;
55
SG::ReadCondHandleKey<LArAutoCorrTotal>
m_LArAutoCorrTotalObjKey
;
56
57
SG::WriteCondHandleKey<LArOFC>
m_LArOFCObjKey
;
58
59
float
m_Nminbias
;
60
bool
m_isMC
;
61
bool
m_isSuperCell
;
62
unsigned
int
m_firstSample
;
63
bool
m_useHighestGainAutoCorr
;
64
65
unsigned
int
findTheNSamples
(
ILArShape::ShapeRef_t
Shape,
66
unsigned
int
nsamples_AC_OFC,
67
unsigned
int
nsamples_shape)
const
;
68
69
bool
m_Dump
;
70
71
size_t
m_nGains
= 3UL;
72
};
73
74
#endif
AthCondAlgorithm.h
Base class for conditions algorithms.
ILArNoise.h
ILArOFC.h
ILArPedestal.h
ILArShape.h
LArAutoCorrTotal.h
LArOFC.h
LArOnOffIdMapping.h
ReadCondHandleKey.h
WriteCondHandleKey.h
AthCondAlgorithm
Base class for conditions algorithms.
Definition
AthCondAlgorithm.h:22
ILArShape::ShapeRef_t
LArVectorProxy ShapeRef_t
This class defines the interface for accessing Shape (Nsample variable, Dt = 25 ns fixed) @stereotype...
Definition
ILArShape.h:26
LArOFCCondAlg::m_Nminbias
float m_Nminbias
Definition
LArOFCCondAlg.h:59
LArOFCCondAlg::m_firstSample
unsigned int m_firstSample
Definition
LArOFCCondAlg.h:62
LArOFCCondAlg::m_isSuperCell
bool m_isSuperCell
Definition
LArOFCCondAlg.h:61
LArOFCCondAlg::m_nGains
size_t m_nGains
Definition
LArOFCCondAlg.h:71
LArOFCCondAlg::m_Dump
bool m_Dump
Definition
LArOFCCondAlg.h:69
LArOFCCondAlg::execute
virtual StatusCode execute(const EventContext &ctx) const override
Definition
LArOFCCondAlg.cxx:82
LArOFCCondAlg::initialize
virtual StatusCode initialize() override
Definition
LArOFCCondAlg.cxx:59
LArOFCCondAlg::m_isMC
bool m_isMC
Definition
LArOFCCondAlg.h:60
LArOFCCondAlg::m_LArOFCObjKey
SG::WriteCondHandleKey< LArOFC > m_LArOFCObjKey
Definition
LArOFCCondAlg.h:57
LArOFCCondAlg::findTheNSamples
unsigned int findTheNSamples(ILArShape::ShapeRef_t Shape, unsigned int nsamples_AC_OFC, unsigned int nsamples_shape) const
Definition
LArOFCCondAlg.cxx:356
LArOFCCondAlg::m_LArOnOffIdMappingObjKey
SG::ReadCondHandleKey< LArOnOffIdMapping > m_LArOnOffIdMappingObjKey
Definition
LArOFCCondAlg.h:51
LArOFCCondAlg::m_useHighestGainAutoCorr
bool m_useHighestGainAutoCorr
Definition
LArOFCCondAlg.h:63
LArOFCCondAlg::m_LArShapeObjKey
SG::ReadCondHandleKey< ILArShape > m_LArShapeObjKey
Definition
LArOFCCondAlg.h:52
LArOFCCondAlg::m_LArAutoCorrTotalObjKey
SG::ReadCondHandleKey< LArAutoCorrTotal > m_LArAutoCorrTotalObjKey
Definition
LArOFCCondAlg.h:55
LArOFCCondAlg::LArOFCCondAlg
LArOFCCondAlg(const std::string &name, ISvcLocator *pSvcLocator)
Definition
LArOFCCondAlg.cxx:22
LArOFCCondAlg::m_LArNoiseObjKey
SG::ReadCondHandleKey< ILArNoise > m_LArNoiseObjKey
Definition
LArOFCCondAlg.h:53
LArOFCCondAlg::~LArOFCCondAlg
virtual ~LArOFCCondAlg() override
Definition
LArOFCCondAlg.cxx:57
LArOFCCondAlg::m_LArPedestalObjKey
SG::ReadCondHandleKey< ILArPedestal > m_LArPedestalObjKey
Definition
LArOFCCondAlg.h:54
SG::ReadCondHandleKey
Definition
ReadCondHandleKey.h:21
SG::WriteCondHandleKey
Definition
WriteCondHandleKey.h:22
Generated on
for ATLAS Offline Software by
1.17.0