ATLAS Offline Software
Loading...
Searching...
No Matches
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
20#include "CaloDetDescr/CaloDetDescrElement.h"
23
28
29#include <string>
30#include <map>
31#include <mutex>
32#include <set>
33
34class LArOnlineID;
36
37
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
68
69 // services
72
73};
74
75#endif
Definition of CaloDetDescrManager.
Definition of CaloDetDescriptor.
CaloPhiRange class declaration.
AthMonitorAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Constructor.
This class groups all DetDescr information related to a CaloCell.
This class initializes the Calo (LAr and Tile) offline identifiers.
SG::ReadCondHandleKey< CaloDetDescrManager > m_caloMgrKey
virtual StatusCode initialize() override final
Overwrite dummy method from AlgTool.
const LArOnlineID * m_LArOnlineIDHelper
LArHVCorrectionMonAlg(const std::string &name, ISvcLocator *pSvcLocator)
Gaudi::Property< std::string > m_MonGroupName
Gaudi::Property< int > m_nlumi_blocks
Gaudi::Property< float > m_delta_phi
SG::ReadCondHandleKey< LArOnOffIdMapping > m_cablingKey
const CaloIdManager * m_caloIdMgr
SG::ReadCondHandleKey< ILArHVScaleCorr > m_onlineScaleCorrKey
int DBflag(HWIdentifier onID)
virtual ~LArHVCorrectionMonAlg()=default
Default destructor.
virtual StatusCode fillHistograms(const EventContext &ctx) const override final
Called each event.
Gaudi::Property< float > m_threshold
SG::ReadCondHandleKey< ILArHVScaleCorr > m_scaleCorrKey
Gaudi::Property< float > m_delta_eta
Support class for PropertyMgr.
Definition Property.h:23
=============================================================================
STL namespace.
#define private