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

Embedded helper class to facilitate map access to the phases. More...

#include <DDG4/Geant4Kernel.h>

Public Member Functions

 PhaseSelector (Geant4Kernel *kernel)
 Standard constructor. More...
 
 PhaseSelector (const PhaseSelector &c)
 Copy constructor. More...
 
PhaseSelectoroperator= (const PhaseSelector &c)
 Assignment operator. More...
 
Geant4ActionPhaseoperator[] (const std::string &name) const
 Phase access to the map. More...
 

Public Attributes

Geant4Kernelm_kernel
 Reference to embedding object. More...
 

Detailed Description

Embedded helper class to facilitate map access to the phases.

Author
M.Frank
Version
1.0

Definition at line 174 of file Geant4Kernel.h.

Constructor & Destructor Documentation

◆ PhaseSelector() [1/2]

Geant4Kernel::PhaseSelector::PhaseSelector ( Geant4Kernel kernel)

Standard constructor.

Definition at line 65 of file Geant4Kernel.cpp.

◆ PhaseSelector() [2/2]

Geant4Kernel::PhaseSelector::PhaseSelector ( const PhaseSelector c)

Copy constructor.

Definition at line 70 of file Geant4Kernel.cpp.

Member Function Documentation

◆ operator=()

Geant4Kernel::PhaseSelector & Geant4Kernel::PhaseSelector::operator= ( const PhaseSelector c)

Assignment operator.

Definition at line 75 of file Geant4Kernel.cpp.

◆ operator[]()

Geant4ActionPhase & Geant4Kernel::PhaseSelector::operator[] ( const std::string &  name) const

Phase access to the map.

Definition at line 83 of file Geant4Kernel.cpp.

Member Data Documentation

◆ m_kernel

Geant4Kernel* dd4hep::sim::Geant4Kernel::PhaseSelector::m_kernel

Reference to embedding object.

Definition at line 177 of file Geant4Kernel.h.


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