15#ifndef OVERLAYCOMMONALGS_EVENTINFOOVERLAY_H
16#define OVERLAYCOMMONALGS_EVENTINFOOVERLAY_H
21#if !defined(XAOD_ANALYSIS) && !defined(GENERATIONBASE)
35 virtual StatusCode
execute(
const EventContext& ctx)
const override;
38#if !defined(XAOD_ANALYSIS) && !defined(GENERATIONBASE)
46 Gaudi::Property<bool>
m_dataOverlay{
this,
"DataOverlay",
false,
"True if running data overlay" };
47 Gaudi::Property<bool>
m_validateBeamSpot{
this,
"ValidateBeamSpot",
false,
"validate input beamspot size" };
48 Gaudi::Property<uint32_t>
m_mcChannelNumber{
this,
"MCChannelNumber", 0,
"sample MC channel number" };
An algorithm that can be simultaneously executed in multiple threads.
Property holding a SG store/key/clid from which a ReadHandle is made.
Property holding a SG store/key/clid from which a WriteHandle is made.
Gaudi::Property< uint32_t > m_mcChannelNumber
SG::WriteHandleKey< xAOD::EventInfo > m_outputKey
EventInfoOverlay(const std::string &name, ISvcLocator *pSvcLocator)
virtual StatusCode initialize() override
SG::ReadHandleKey< xAOD::EventInfo > m_signalInputKey
Gaudi::Property< bool > m_validateBeamSpot
Gaudi::Property< bool > m_dataOverlay
virtual StatusCode execute(const EventContext &ctx) const override
SG::ReadHandleKey< xAOD::EventInfo > m_bkgInputKey
SG::ReadCondHandleKey< InDet::BeamSpotData > m_beamSpotKey