ATLAS Offline Software
Loading...
Searching...
No Matches
Simulation::IZeroLifetimePatcher Class Referenceabstract

Interface for a service which works around the issue of zero-lifetime particles in Geant4. More...

#include <IZeroLifetimePatcher.h>

Inheritance diagram for Simulation::IZeroLifetimePatcher:
Collaboration diagram for Simulation::IZeroLifetimePatcher:

Public Member Functions

virtual ~IZeroLifetimePatcher ()
 Virtual destructor.
 DeclareInterfaceID (IZeroLifetimePatcher, 1, 0)
 Creates the InterfaceID and interfaceID() method.
virtual StatusCode applyWorkaround (HepMC::GenEvent &ge) const =0
 Applies the workaround for zero-lifetime particles to the GenEvent.
virtual StatusCode removeWorkaround (HepMC::GenEvent &ge) const =0
 Removes the workaround for zero-lifetime particles from the GenEvent.

Detailed Description

Interface for a service which works around the issue of zero-lifetime particles in Geant4.

Definition at line 24 of file IZeroLifetimePatcher.h.

Constructor & Destructor Documentation

◆ ~IZeroLifetimePatcher()

virtual Simulation::IZeroLifetimePatcher::~IZeroLifetimePatcher ( )
inlinevirtual

Virtual destructor.

Definition at line 28 of file IZeroLifetimePatcher.h.

28{}

Member Function Documentation

◆ applyWorkaround()

virtual StatusCode Simulation::IZeroLifetimePatcher::applyWorkaround ( HepMC::GenEvent & ge) const
pure virtual

Applies the workaround for zero-lifetime particles to the GenEvent.

◆ DeclareInterfaceID()

Simulation::IZeroLifetimePatcher::DeclareInterfaceID ( IZeroLifetimePatcher ,
1 ,
0  )

Creates the InterfaceID and interfaceID() method.

◆ removeWorkaround()

virtual StatusCode Simulation::IZeroLifetimePatcher::removeWorkaround ( HepMC::GenEvent & ge) const
pure virtual

Removes the workaround for zero-lifetime particles from the GenEvent.


The documentation for this class was generated from the following file: