9#ifndef MonitorElectronAlgorithm_H
10#define MonitorElectronAlgorithm_H
27 StatusCode
fillHistograms(
const EventContext& ctx )
const override;
35 Gaudi::Property<std::string>
m_ParticlePrefix {
this,
"ParticlePrefix",
"electron",
"Name of the particle prefix to be used to define hists"};
36 Gaudi::Property<std::string>
m_RecoName {
this,
"RecoName",
"LHTight",
"Name of particle flavor in egamma reco"};
37 Gaudi::Property<std::string>
m_WithTrigger {
this,
"WithTrigger",
"",
"Name extension when electrons are chosen from triggered events"};
40 Float_t aeta = fabs(
eta);
Scalar eta() const
pseudorapidity method
Header file to be included by clients of the Monitored infrastructure.
AthMonitorAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Constructor.
Gaudi::Property< std::string > m_WithTrigger
virtual ~MonitorElectronAlgorithm()=default
SG::ReadHandleKey< xAOD::ElectronContainer > m_ParticleContainerKey
StatusCode fillHistograms(const EventContext &ctx) const override
adds event to the monitoring histograms
Gaudi::Property< std::string > m_RecoName
Regions GetRegion(Float_t eta) const
virtual StatusCode initialize() override
initialize
Gaudi::Property< std::string > m_ParticlePrefix
SG::ReadDecorHandleKeyArray< xAOD::ElectronContainer > m_ElectronIsolationKey
MonitorElectronAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Property holding a SG store/key/clid from which a ReadHandle is made.
DecorHandleKeyArray< ReadDecorHandle< T, S >, ReadDecorHandleKey< T >, Gaudi::DataHandle::Reader > ReadDecorHandleKeyArray