7#ifndef EVGENPRODTOOLS_GENWEIGHTDECLARATION_H
8#define EVGENPRODTOOLS_GENWEIGHTDECLARATION_H
10#include "GaudiKernel/INamedInterface.h"
14#include "GaudiKernel/ServiceHandle.h"
34 virtual StatusCode
execute(
const EventContext& ctx)
override;
38 this,
"CutFlowSvc",
"CutFlowSvc/CutFlowSvc",
46 this,
"HepMCWeightSvc",
"HepMCWeightSvc/HepMCWeightSvc",
47 "Service receiving the generator weight names"};
This implements the methods for ICutFlowSvc.
GenBase(const std::string &name, ISvcLocator *pSvcLocator)
Constructor.
virtual StatusCode initialize() override
virtual StatusCode execute(const EventContext &ctx) override
Execute method.
ServiceHandle< IHepMCWeightSvc > m_hepMCWeightSvc
ServiceHandle< ICutFlowSvc > m_cutFlowSvc
CutFlowSvc * m_cutFlowSvcImpl
GenWeightDeclaration(const std::string &name, ISvcLocator *svcLoc)