7#ifndef BEAMEFFECTS_BeamSpotReweightingAlg_H
8#define BEAMEFFECTS_BeamSpotReweightingAlg_H
22#include "GaudiKernel/ToolHandle.h"
23#include "GaudiKernel/PhysicalConstants.h"
48 virtual StatusCode
initialize() override final;
66 Gaudi::Property<float>
m_input_beam_sigma_z{
this,
"Input_beam_sigma_z", 42*Gaudi::Units::mm,
"Beam spot sigma of the input HIT file to be reweighted"};
Property holding a SG store/key/clid from which a ReadHandle is made.
Property holding a SG store/key/clid/attr name from which a WriteDecorHandle is made.
Property holding a SG store/key/clid from which a WriteHandle is made.
An algorithm that can be simultaneously executed in multiple threads.
This defines the McEventCollection, which is really just an ObjectVector of McEvent objectsFile: Gene...
Property holding a SG store/key/clid from which a ReadHandle is made.
Property holding a SG store/key/clid/attr name from which a WriteDecorHandle is made.
SG::ReadHandleKey< McEventCollection > m_inputMcEventCollection
SG::ReadHandleKey< xAOD::EventInfo > m_eventInfo
virtual StatusCode execute(const EventContext &ctx) const override final
Athena algorithm's interface method execute()
SG::ReadCondHandleKey< InDet::BeamSpotData > m_beamSpotKey
virtual StatusCode initialize() override final
Athena algorithm's interface method initialize()
virtual ~BeamSpotReweightingAlg()=default
Destructor.
Gaudi::Property< float > m_input_beam_sigma_z
HepMC::ConstGenVertexPtr GetSignalProcessVertex(const HepMC::GenEvent &ge) const
Ensure that the GenEvent::signal_process_vertex has been set.
BeamSpotReweightingAlg(const std::string &name, ISvcLocator *pSvcLocator)
SG::WriteDecorHandleKey< xAOD::EventInfo > m_beamSpotWeight