ATLAS Offline Software
Loading...
Searching...
No Matches
EfexInputMonitorAlgorithm.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
3*/
4#ifndef TRIGT1CALOMONITORING_EFEXINPUTMONITORALGORITHM_H
5#define TRIGT1CALOMONITORING_EFEXINPUTMONITORALGORITHM_H
6
10
12//
15
17
18
19
21public:EfexInputMonitorAlgorithm( const std::string& name, ISvcLocator* pSvcLocator );
22 virtual ~EfexInputMonitorAlgorithm()=default;
23 virtual StatusCode initialize() override;
24 virtual StatusCode fillHistograms( const EventContext& ctx ) const override;
25
26private:
27
28 StringProperty m_packageName{this,"PackageName","EfexInputMonitor","group name for histograming"};
29
30 // container keys including steering parameter and description
31 SG::ReadHandleKey<xAOD::eFexTowerContainer> m_eFexTowerContainerKey{this, "eFexTowerContainer","L1_eFexDataTowers","SG key of the input eFex Tower container"};
32 SG::ReadHandleKey<xAOD::eFexTowerContainer> m_eFexTowerContainerRefKey{this,"eFexTowerContainerRef","L1_eFexEmulatedTowers","SG key of the towers to use as a reference (defaults to emulated towers built from sCells and tTowers"};
33
34 std::map<std::pair<std::pair<int,int>,int>,std::pair<std::set<unsigned long long>,std::string>> m_scMap;
35
36 // some counters to avoid filling debugging histograms more than 20 times
37 mutable std::atomic<size_t> m_debugEvtCount = 0;
38 mutable std::atomic<size_t> m_debugEvtCount2 = 0;
39
40
41 SG::ReadCondHandleKey<LArBadChannelCont> m_bcContKey{this, "LArMaskedChannelKey", "LArMaskedSC", "Key of the OTF-Masked SC" };
42
43};
44#endif
Header file to be included by clients of the Monitored infrastructure.
Property holding a SG store/key/clid from which a ReadHandle is made.
AthMonitorAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Constructor.
virtual StatusCode fillHistograms(const EventContext &ctx) const override
adds event to the monitoring histograms
virtual ~EfexInputMonitorAlgorithm()=default
SG::ReadHandleKey< xAOD::eFexTowerContainer > m_eFexTowerContainerKey
std::map< std::pair< std::pair< int, int >, int >, std::pair< std::set< unsigned long long >, std::string > > m_scMap
SG::ReadCondHandleKey< LArBadChannelCont > m_bcContKey
SG::ReadHandleKey< xAOD::eFexTowerContainer > m_eFexTowerContainerRefKey
std::atomic< size_t > m_debugEvtCount2
std::atomic< size_t > m_debugEvtCount
Property holding a SG store/key/clid from which a ReadHandle is made.
void initialize()