ATLAS Offline Software
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 
19 public:EfexInputMonitorAlgorithm( const std::string& name, ISvcLocator* pSvcLocator );
20  virtual ~EfexInputMonitorAlgorithm()=default;
21  virtual StatusCode initialize() override;
22  virtual StatusCode fillHistograms( const EventContext& ctx ) const override;
23 
24 private:
25 
26  StringProperty m_packageName{this,"PackageName","EfexInputMonitor","group name for histograming"};
27 
28  // container keys including steering parameter and description
29  SG::ReadHandleKey<xAOD::eFexTowerContainer> m_eFexTowerContainerKey{this, "eFexTowerContainer","L1_eFexDataTowers","SG key of the input eFex Tower container"};
30  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"};
31 
32  std::map<std::pair<std::pair<int,int>,int>,std::pair<std::set<unsigned long long>,std::string>> m_scMap;
33 
34  // some counters to avoid filling debugging histograms more than 20 times
35  mutable std::atomic<size_t> m_debugEvtCount = 0;
36  mutable std::atomic<size_t> m_debugEvtCount2 = 0;
37 
38 
39  SG::ReadCondHandleKey<LArBadChannelCont> m_bcContKey{this, "LArMaskedChannelKey", "LArMaskedSC", "Key of the OTF-Masked SC" };
40 
41 };
42 #endif
ReadHandleKey.h
Property holding a SG store/key/clid from which a ReadHandle is made.
eFexTowerContainer.h
EfexInputMonitorAlgorithm::m_eFexTowerContainerKey
SG::ReadHandleKey< xAOD::eFexTowerContainer > m_eFexTowerContainerKey
Definition: EfexInputMonitorAlgorithm.h:29
EfexInputMonitorAlgorithm::m_packageName
StringProperty m_packageName
Definition: EfexInputMonitorAlgorithm.h:26
EfexInputMonitorAlgorithm::~EfexInputMonitorAlgorithm
virtual ~EfexInputMonitorAlgorithm()=default
EfexInputMonitorAlgorithm::m_scMap
std::map< std::pair< std::pair< int, int >, int >, std::pair< std::set< unsigned long long >, std::string > > m_scMap
Definition: EfexInputMonitorAlgorithm.h:32
SG::ReadHandleKey
Property holding a SG store/key/clid from which a ReadHandle is made.
Definition: StoreGate/StoreGate/ReadHandleKey.h:39
EfexInputMonitorAlgorithm::fillHistograms
virtual StatusCode fillHistograms(const EventContext &ctx) const override
adds event to the monitoring histograms
Definition: EfexInputMonitorAlgorithm.cxx:66
AthMonitorAlgorithm
Base class for Athena Monitoring Algorithms.
Definition: AthMonitorAlgorithm.h:36
LArBadChannelCont.h
LArOnOffIdMapping.h
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
AthMonitorAlgorithm.h
EfexInputMonitorAlgorithm::m_debugEvtCount
std::atomic< size_t > m_debugEvtCount
Definition: EfexInputMonitorAlgorithm.h:35
Monitored.h
Header file to be included by clients of the Monitored infrastructure.
EfexInputMonitorAlgorithm::m_debugEvtCount2
std::atomic< size_t > m_debugEvtCount2
Definition: EfexInputMonitorAlgorithm.h:36
EfexInputMonitorAlgorithm::m_eFexTowerContainerRefKey
SG::ReadHandleKey< xAOD::eFexTowerContainer > m_eFexTowerContainerRefKey
Definition: EfexInputMonitorAlgorithm.h:30
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:228
EfexInputMonitorAlgorithm::m_bcContKey
SG::ReadCondHandleKey< LArBadChannelCont > m_bcContKey
Definition: EfexInputMonitorAlgorithm.h:39
EfexInputMonitorAlgorithm
Definition: EfexInputMonitorAlgorithm.py:1
eFexTower.h
SG::ReadCondHandleKey
Definition: ReadCondHandleKey.h:20
EfexInputMonitorAlgorithm::EfexInputMonitorAlgorithm
EfexInputMonitorAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Definition: EfexInputMonitorAlgorithm.cxx:10
EfexInputMonitorAlgorithm::initialize
virtual StatusCode initialize() override
initialize
Definition: EfexInputMonitorAlgorithm.cxx:15