9#ifndef MonitorFwdElectronAlgorithm_H
10#define MonitorFwdElectronAlgorithm_H
26 StatusCode
fillHistograms(
const EventContext& ctx )
const override;
33 Gaudi::Property<std::string>
m_ParticlePrefix {
this,
"ParticlePrefix",
"FwdElectron",
"Name of the particle prefix to be used to define hists"};
34 Gaudi::Property<std::string>
m_RecoName {
this,
"RecoName",
"LHTight",
"Name of particle flavor in egamma reco"};
35 Gaudi::Property<std::string>
m_WithTrigger {
this,
"WithTrigger",
"",
"Name extension when electrons are chosen from triggered events"};
38 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.
SG::ReadHandleKey< xAOD::ElectronContainer > m_ParticleContainerKey
Regions GetRegion(Float_t eta) const
MonitorFwdElectronAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Gaudi::Property< std::string > m_WithTrigger
Gaudi::Property< std::string > m_ParticlePrefix
virtual StatusCode initialize() override
initialize
virtual ~MonitorFwdElectronAlgorithm()=default
StatusCode fillHistograms(const EventContext &ctx) const override
adds event to the monitoring histograms
Gaudi::Property< std::string > m_RecoName
Property holding a SG store/key/clid from which a ReadHandle is made.