ATLAS Offline Software
Loading...
Searching...
No Matches
EfexMonitorAlgorithm.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
3*/
4#ifndef TRIGT1CALOMONITORING_EFEXMONITORALGORITHM_H
5#define TRIGT1CALOMONITORING_EFEXMONITORALGORITHM_H
6
10//
15
17public:EfexMonitorAlgorithm( const std::string& name, ISvcLocator* pSvcLocator );
18 virtual ~EfexMonitorAlgorithm()=default;
19 virtual StatusCode initialize() override;
20 virtual StatusCode fillHistograms( const EventContext& ctx ) const override;
21
22private:
23
24 StringProperty m_packageName{this,"PackageName","EfexMonitor","group name for histograming"};
25 Gaudi::Property<float> m_lowPtCut{this,"LowPtCut",0.0,"The Et value for the low Pt cut (probably 0)"};
26 Gaudi::Property<float> m_hiPtCut{this,"HiPtCut",15.0,"The Et value for the high Pt cut"};
27
28 SG::ReadHandleKeyArray<xAOD::eFexEMRoIContainer> m_eFexEMTobKeyList{this,"eFexEMTobKeyList",{},"Array of eFEX EM ReadHandleKeys to fill histograms for"};
29 SG::ReadHandleKeyArray<xAOD::eFexTauRoIContainer> m_eFexTauTobKeyList{this,"eFexTauTobKeyList",{},"Array of eFEX Tau ReadHandleKeys to fill histograms for"};
30
31 StatusCode fillEMHistograms(const std::string& groupName, const xAOD::eFexEMRoIContainer *emcont, const float &cut_et,const EventContext& ctx) const;
32 StatusCode fillTauHistograms(const std::string& groupName, const xAOD::eFexTauRoIContainer *taucont, const float &cut_et,const EventContext& ctx) const;
33
34};
35#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.
SG::ReadHandleKeyArray< xAOD::eFexTauRoIContainer > m_eFexTauTobKeyList
virtual ~EfexMonitorAlgorithm()=default
Gaudi::Property< float > m_lowPtCut
SG::ReadHandleKeyArray< xAOD::eFexEMRoIContainer > m_eFexEMTobKeyList
Gaudi::Property< float > m_hiPtCut
virtual StatusCode fillHistograms(const EventContext &ctx) const override
adds event to the monitoring histograms
HandleKeyArray< ReadHandle< T >, ReadHandleKey< T >, Gaudi::DataHandle::Reader > ReadHandleKeyArray
eFexEMRoIContainer_v1 eFexEMRoIContainer
eFexTauRoIContainer_v1 eFexTauRoIContainer
void initialize()