ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
LArCalorimeter
LArMonitoring
src
LArHVCorrectionMonAlg.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
3
*/
4
11
12
#ifndef LARMONITORING_LARHVCORRECTIONMONALG_H
13
#define LARMONITORING_LARHVCORRECTIONMONALG_H
14
15
#include "
AthenaMonitoring/AthMonitorAlgorithm.h
"
16
#include "
CaloIdentifier/CaloIdManager.h
"
17
#include "
CaloIdentifier/CaloCell_ID.h
"
18
#include "
CaloDetDescr/CaloDetDescrManager.h
"
19
#include "
CaloDetDescr/CaloDetDescriptor.h
"
20
#include "CaloDetDescr/CaloDetDescrElement.h"
21
#include "
CaloGeoHelpers/CaloPhiRange.h
"
22
#include "
StoreGate/ReadCondHandleKey.h
"
23
24
#include "
Identifier/HWIdentifier.h
"
25
#include "
LArIdentifier/LArOnlineID.h
"
26
#include "
LArElecCalib/ILArHVScaleCorr.h
"
27
#include "
LArCabling/LArOnOffIdMapping.h
"
28
29
#include <string>
30
#include <map>
31
#include <mutex>
32
#include <set>
33
34
class
LArOnlineID
;
35
class
CaloDetDescrElement
;
36
37
38
class
LArHVCorrectionMonAlg
:
public
AthMonitorAlgorithm
39
{
40
public
:
41
LArHVCorrectionMonAlg
(
const
std::string& name, ISvcLocator* pSvcLocator);
42
44
virtual
~LArHVCorrectionMonAlg
() =
default
;
45
47
virtual
StatusCode
initialize
() override final;
48
50
virtual StatusCode
fillHistograms
(
const
EventContext& ctx)
const
override final;
51
52
private
:
53
54
// Properties
55
Gaudi
::
Property
<
std
::
string
>
m_MonGroupName
{
this
,
"HVCorrMonGroupName"
,
"LArHVCorrMonGroup"
};
56
Gaudi::Property<float>
m_threshold
{
this
,
"ErrorThreshold"
, 0.02};
57
Gaudi::Property<float>
m_delta_eta
{
this
,
"EtaGranularity"
, 0.01};
58
Gaudi::Property<float>
m_delta_phi
{
this
,
"PhiGranularity"
, 0.01};
59
Gaudi::Property<int>
m_nlumi_blocks
{
this
,
"NumberOfLBs"
, 1500};
60
61
SG::ReadCondHandleKey<LArOnOffIdMapping>
m_cablingKey
{
this
,
"CablingKey"
,
"LArOnOffIdMap"
,
"SG Key of LArOnOffIdMapping CDO"
};
62
SG::ReadCondHandleKey<ILArHVScaleCorr>
m_scaleCorrKey
{
this
,
"LArHVScaleCorr"
,
"LArHVScaleCorrRecomputed"
,
""
};
63
SG::ReadCondHandleKey<ILArHVScaleCorr>
m_onlineScaleCorrKey
{
this
,
"OnlineLArHVScaleCorr"
,
"LArHVScaleCorr"
,
""
};
64
SG::ReadCondHandleKey<CaloDetDescrManager>
m_caloMgrKey
{
this
,
"CaloDetDescrManager"
,
"CaloDetDescrManager"
,
"SG Key for CaloDetDescrManager in the Condition Store"
};
65
66
// To retrieve bad channel DB keywords
67
int
DBflag
(
HWIdentifier
onID);
68
69
// services
70
const
LArOnlineID
*
m_LArOnlineIDHelper
;
71
const
CaloIdManager
*
m_caloIdMgr
;
72
73
};
74
75
#endif
AthMonitorAlgorithm.h
CaloCell_ID.h
CaloDetDescrManager.h
Definition of CaloDetDescrManager.
CaloDetDescriptor.h
Definition of CaloDetDescriptor.
CaloIdManager.h
CaloPhiRange.h
CaloPhiRange class declaration.
HWIdentifier.h
ILArHVScaleCorr.h
LArOnOffIdMapping.h
LArOnlineID.h
ReadCondHandleKey.h
AthMonitorAlgorithm::AthMonitorAlgorithm
AthMonitorAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Constructor.
Definition
AthMonitorAlgorithm.cxx:8
CaloDetDescrElement
This class groups all DetDescr information related to a CaloCell.
Definition
Calorimeter/CaloDetDescr/CaloDetDescr/CaloDetDescrElement.h:66
CaloIdManager
This class initializes the Calo (LAr and Tile) offline identifiers.
Definition
CaloIdManager.h:45
HWIdentifier
Definition
HWIdentifier.h:13
LArHVCorrectionMonAlg::m_caloMgrKey
SG::ReadCondHandleKey< CaloDetDescrManager > m_caloMgrKey
Definition
LArHVCorrectionMonAlg.h:64
LArHVCorrectionMonAlg::initialize
virtual StatusCode initialize() override final
Overwrite dummy method from AlgTool.
Definition
LArHVCorrectionMonAlg.cxx:24
LArHVCorrectionMonAlg::m_LArOnlineIDHelper
const LArOnlineID * m_LArOnlineIDHelper
Definition
LArHVCorrectionMonAlg.h:70
LArHVCorrectionMonAlg::LArHVCorrectionMonAlg
LArHVCorrectionMonAlg(const std::string &name, ISvcLocator *pSvcLocator)
Definition
LArHVCorrectionMonAlg.cxx:17
LArHVCorrectionMonAlg::m_MonGroupName
Gaudi::Property< std::string > m_MonGroupName
Definition
LArHVCorrectionMonAlg.h:55
LArHVCorrectionMonAlg::m_nlumi_blocks
Gaudi::Property< int > m_nlumi_blocks
Definition
LArHVCorrectionMonAlg.h:59
LArHVCorrectionMonAlg::m_delta_phi
Gaudi::Property< float > m_delta_phi
Definition
LArHVCorrectionMonAlg.h:58
LArHVCorrectionMonAlg::m_cablingKey
SG::ReadCondHandleKey< LArOnOffIdMapping > m_cablingKey
Definition
LArHVCorrectionMonAlg.h:61
LArHVCorrectionMonAlg::m_caloIdMgr
const CaloIdManager * m_caloIdMgr
Definition
LArHVCorrectionMonAlg.h:71
LArHVCorrectionMonAlg::m_onlineScaleCorrKey
SG::ReadCondHandleKey< ILArHVScaleCorr > m_onlineScaleCorrKey
Definition
LArHVCorrectionMonAlg.h:63
LArHVCorrectionMonAlg::DBflag
int DBflag(HWIdentifier onID)
LArHVCorrectionMonAlg::~LArHVCorrectionMonAlg
virtual ~LArHVCorrectionMonAlg()=default
Default destructor.
LArHVCorrectionMonAlg::fillHistograms
virtual StatusCode fillHistograms(const EventContext &ctx) const override final
Called each event.
Definition
LArHVCorrectionMonAlg.cxx:47
LArHVCorrectionMonAlg::m_threshold
Gaudi::Property< float > m_threshold
Definition
LArHVCorrectionMonAlg.h:56
LArHVCorrectionMonAlg::m_scaleCorrKey
SG::ReadCondHandleKey< ILArHVScaleCorr > m_scaleCorrKey
Definition
LArHVCorrectionMonAlg.h:62
LArHVCorrectionMonAlg::m_delta_eta
Gaudi::Property< float > m_delta_eta
Definition
LArHVCorrectionMonAlg.h:57
LArOnlineID
Definition
LArOnlineID.h:21
Property
Support class for PropertyMgr.
Definition
Property.h:23
SG::ReadCondHandleKey
Definition
ReadCondHandleKey.h:21
const
Gaudi
=============================================================================
Definition
CaloGPUClusterAndCellDataMonitorOptions.h:273
std
STL namespace.
private
#define private
Definition
testRead.cxx:27
Generated on
for ATLAS Offline Software by
1.17.0