ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Simulation
Interfaces
HepMC_Interfaces
HepMC_Interfaces
IZeroLifetimePatcher.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2018 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#ifndef HEPMC_INTERFACES_IZEROLIFETIMEPATCHER_H
6
#define HEPMC_INTERFACES_IZEROLIFETIMEPATCHER_H 1
7
8
// Gaudi
9
// framework includes
10
#include "GaudiKernel/IInterface.h"
11
#include "GaudiKernel/StatusCode.h"
12
13
#include "
AtlasHepMC/GenEvent_fwd.h
"
14
15
namespace
Simulation
{
16
23
24
class
IZeroLifetimePatcher
:
virtual
public
IInterface {
25
public
:
26
28
virtual
~IZeroLifetimePatcher
(){}
29
31
DeclareInterfaceID
(
IZeroLifetimePatcher
, 1, 0);
32
34
virtual
StatusCode
applyWorkaround
(
HepMC::GenEvent
& ge)
const
= 0;
35
37
virtual
StatusCode
removeWorkaround
(
HepMC::GenEvent
& ge)
const
= 0;
38
39
};
40
41
}
// end of namespace
42
43
#endif
// HEPMC_INTERFACES_IZEROLIFETIMEPATCHER_H
GenEvent_fwd.h
Simulation::IZeroLifetimePatcher
Interface for a service which works around the issue of zero-lifetime particles in Geant4.
Definition
IZeroLifetimePatcher.h:24
Simulation::IZeroLifetimePatcher::applyWorkaround
virtual StatusCode applyWorkaround(HepMC::GenEvent &ge) const =0
Applies the workaround for zero-lifetime particles to the GenEvent.
Simulation::IZeroLifetimePatcher::removeWorkaround
virtual StatusCode removeWorkaround(HepMC::GenEvent &ge) const =0
Removes the workaround for zero-lifetime particles from the GenEvent.
Simulation::IZeroLifetimePatcher::~IZeroLifetimePatcher
virtual ~IZeroLifetimePatcher()
Virtual destructor.
Definition
IZeroLifetimePatcher.h:28
Simulation::IZeroLifetimePatcher::DeclareInterfaceID
DeclareInterfaceID(IZeroLifetimePatcher, 1, 0)
Creates the InterfaceID and interfaceID() method.
HepMC::GenEvent
HepMC3::GenEvent GenEvent
Definition
GenEvent.h:39
Simulation
Definition
BeamEffectsAlg.cxx:21
Generated on
for ATLAS Offline Software by
1.17.0