ATLAS Offline Software
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 //
12 #include "xAODTrigger/eFexEMRoI.h"
14 #include "xAODTrigger/eFexTauRoI.h"
15 
17 public: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 
22 private:
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
ReadHandleKey.h
Property holding a SG store/key/clid from which a ReadHandle is made.
EfexMonitorAlgorithm::~EfexMonitorAlgorithm
virtual ~EfexMonitorAlgorithm()=default
RunTileMonitoring.groupName
groupName
Definition: RunTileMonitoring.py:158
eFexTauRoIContainer.h
SG::HandleKeyArray
Definition: StoreGate/StoreGate/HandleKeyArray.h:38
EfexMonitorAlgorithm
Definition: EfexMonitorAlgorithm.py:1
EfexMonitorAlgorithm::m_eFexTauTobKeyList
SG::ReadHandleKeyArray< xAOD::eFexTauRoIContainer > m_eFexTauTobKeyList
Definition: EfexMonitorAlgorithm.h:29
EfexMonitorAlgorithm::fillHistograms
virtual StatusCode fillHistograms(const EventContext &ctx) const override
adds event to the monitoring histograms
Definition: EfexMonitorAlgorithm.cxx:36
AthMonitorAlgorithm
Base class for Athena Monitoring Algorithms.
Definition: AthMonitorAlgorithm.h:36
EfexMonitorAlgorithm::initialize
virtual StatusCode initialize() override
initialize
Definition: EfexMonitorAlgorithm.cxx:13
EfexMonitorAlgorithm::m_packageName
StringProperty m_packageName
Definition: EfexMonitorAlgorithm.h:24
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
AthMonitorAlgorithm.h
EfexMonitorAlgorithm::m_hiPtCut
Gaudi::Property< float > m_hiPtCut
Definition: EfexMonitorAlgorithm.h:26
EfexMonitorAlgorithm::fillEMHistograms
StatusCode fillEMHistograms(const std::string &groupName, const xAOD::eFexEMRoIContainer *emcont, const float &cut_et, const EventContext &ctx) const
Definition: EfexMonitorAlgorithm.cxx:97
DataVector
Derived DataVector<T>.
Definition: DataVector.h:581
Monitored.h
Header file to be included by clients of the Monitored infrastructure.
EfexMonitorAlgorithm::fillTauHistograms
StatusCode fillTauHistograms(const std::string &groupName, const xAOD::eFexTauRoIContainer *taucont, const float &cut_et, const EventContext &ctx) const
Definition: EfexMonitorAlgorithm.cxx:162
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:221
EfexMonitorAlgorithm::EfexMonitorAlgorithm
EfexMonitorAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Definition: EfexMonitorAlgorithm.cxx:8
eFexTauRoI.h
EfexMonitorAlgorithm::m_lowPtCut
Gaudi::Property< float > m_lowPtCut
Definition: EfexMonitorAlgorithm.h:25
eFexEMRoI.h
EfexMonitorAlgorithm::m_eFexEMTobKeyList
SG::ReadHandleKeyArray< xAOD::eFexEMRoIContainer > m_eFexEMTobKeyList
Definition: EfexMonitorAlgorithm.h:28
eFexEMRoIContainer.h