DD4hep  1.30.0
Detector Description Toolkit for High Energy Physics
Public Member Functions | Private Attributes | List of all members
dd4hep::sim::Geant4Action::ContextSwap Class Reference

Functor to update the context of a Geant4Action object. More...

#include <Geant4Action.h>

Public Member Functions

 ContextSwap (Geant4Action *a, Geant4Context *c)
 Constructor. More...
 
 ~ContextSwap ()
 Destructor. More...
 

Private Attributes

Geant4Contextcontext { nullptr }
 reference to the context; More...
 
Geant4Actionaction { nullptr }
 

Detailed Description

Functor to update the context of a Geant4Action object.

Author
M.Frank
Version
1.0

Definition at line 138 of file Geant4Action.h.

Constructor & Destructor Documentation

◆ ContextSwap()

dd4hep::sim::Geant4Action::ContextSwap::ContextSwap ( Geant4Action a,
Geant4Context c 
)
inline

Constructor.

Definition at line 144 of file Geant4Action.h.

◆ ~ContextSwap()

dd4hep::sim::Geant4Action::ContextSwap::~ContextSwap ( )
inline

Destructor.

Definition at line 149 of file Geant4Action.h.

Member Data Documentation

◆ action

Geant4Action* dd4hep::sim::Geant4Action::ContextSwap::action { nullptr }
private

Definition at line 141 of file Geant4Action.h.

◆ context

Geant4Context* dd4hep::sim::Geant4Action::ContextSwap::context { nullptr }
private

reference to the context;

Definition at line 140 of file Geant4Action.h.


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