ATLAS Offline Software
Simulation
Interfaces
HepMC_Interfaces
HepMC_Interfaces
IGenEventManipulator.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#ifndef HEPMC_INTERFACES_IGENEVENTMANIPULATOR_H
6
#define HEPMC_INTERFACES_IGENEVENTMANIPULATOR_H 1
7
8
// Gaudi
9
#include "GaudiKernel/IAlgTool.h"
10
11
#include "
AtlasHepMC/GenEvent_fwd.h
"
12
13
class
EventContext;
14
15
namespace
Simulation
{
16
27
class
IGenEventManipulator
:
virtual
public
IAlgTool {
28
public
:
29
31
virtual
~IGenEventManipulator
(){}
32
34
DeclareInterfaceID
(
IGenEventManipulator
, 1, 0);
35
37
virtual
StatusCode
manipulate
(HepMC::GenEvent& ge,
const
EventContext& ctx)
const
= 0;
38
39
};
40
41
}
// end of namespace
42
43
#endif // HEPMC_INTERFACES_IGENEVENTMANIPULATOR_H
Simulation::IGenEventManipulator::DeclareInterfaceID
DeclareInterfaceID(IGenEventManipulator, 1, 0)
Creates the InterfaceID and interfaceID() method.
Simulation::IGenEventManipulator::manipulate
virtual StatusCode manipulate(HepMC::GenEvent &ge, const EventContext &ctx) const =0
Applies any required transformations to the GenEvent.
Simulation::IGenEventManipulator
Definition:
IGenEventManipulator.h:27
Simulation::IGenEventManipulator::~IGenEventManipulator
virtual ~IGenEventManipulator()
Virtual destructor.
Definition:
IGenEventManipulator.h:31
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition:
PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
GenEvent_fwd.h
Simulation
Definition:
BeamEffectsAlg.cxx:21
Generated on Fri Jan 10 2025 21:11:17 for ATLAS Offline Software by
1.8.18