9#ifndef MonitorPhotonAlgorithm_H
10#define MonitorPhotonAlgorithm_H
27 StatusCode
fillHistograms(
const EventContext& ctx )
const override;
34 Gaudi::Property<std::string>
m_ParticlePrefix {
this,
"ParticlePrefix",
"photon",
"Name of the particle prefix to be used to define hists"};
35 Gaudi::Property<std::string>
m_RecoName {
this,
"RecoName",
"Tight",
"Name of particle flavor in egamma reco"};
36 Gaudi::Property<std::string>
m_WithTrigger {
this,
"WithTrigger",
"",
"Name extension when electrons are chosen from triggered events"};
39 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.
virtual ~MonitorPhotonAlgorithm()=default
Gaudi::Property< std::string > m_ParticlePrefix
Gaudi::Property< std::string > m_RecoName
Regions GetRegion(Float_t eta) const
SG::ReadHandleKey< xAOD::PhotonContainer > m_ParticleContainerKey
MonitorPhotonAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Gaudi::Property< std::string > m_WithTrigger
StatusCode fillHistograms(const EventContext &ctx) const override
adds event to the monitoring histograms
SG::ReadDecorHandleKeyArray< xAOD::PhotonContainer > m_PhotonIsolationKey
virtual StatusCode initialize() override
initialize
Property holding a SG store/key/clid from which a ReadHandle is made.
DecorHandleKeyArray< ReadDecorHandle< T, S >, ReadDecorHandleKey< T >, Gaudi::DataHandle::Reader > ReadDecorHandleKeyArray