Geant4 11.4.0
Toolkit for the simulation of the passage of particles through matter
Loading...
Searching...
No Matches
G4VChemistryWorld Class Referenceabstract

#include <G4VChemistryWorld.hh>

Public Types

using MolType = const G4MolecularConfiguration*

Public Member Functions

 G4VChemistryWorld ()=default
virtual ~G4VChemistryWorld ()=default
virtual void ConstructChemistryBoundary ()=0
virtual void ConstructChemistryComponents ()=0
std::map< MolType, double >::iterator begin ()
std::map< MolType, double >::iterator end ()
size_t size ()
std::map< MolType, double >::const_iterator begin_const ()
std::map< MolType, double >::const_iterator end_const ()
G4DNABoundingBoxGetChemistryBoundary () const
std::map< MolType, G4doubleGetChemicalComponent () const

Protected Attributes

std::unique_ptr< G4DNABoundingBoxfpChemistryBoundary
std::map< MolType, G4doublefpChemicalComponent

Detailed Description

Definition at line 37 of file G4VChemistryWorld.hh.

Member Typedef Documentation

◆ MolType

Definition at line 40 of file G4VChemistryWorld.hh.

Constructor & Destructor Documentation

◆ G4VChemistryWorld()

G4VChemistryWorld::G4VChemistryWorld ( )
default

◆ ~G4VChemistryWorld()

virtual G4VChemistryWorld::~G4VChemistryWorld ( )
virtualdefault

Member Function Documentation

◆ begin()

std::map< MolType, double >::iterator G4VChemistryWorld::begin ( )
inline

Definition at line 47 of file G4VChemistryWorld.hh.

48 {
49 return fpChemicalComponent.begin();
50 }
std::map< MolType, G4double > fpChemicalComponent

◆ begin_const()

std::map< MolType, double >::const_iterator G4VChemistryWorld::begin_const ( )
inline

Definition at line 62 of file G4VChemistryWorld.hh.

63 {
64 return fpChemicalComponent.begin();
65 }

◆ ConstructChemistryBoundary()

virtual void G4VChemistryWorld::ConstructChemistryBoundary ( )
pure virtual

◆ ConstructChemistryComponents()

virtual void G4VChemistryWorld::ConstructChemistryComponents ( )
pure virtual

◆ end()

std::map< MolType, double >::iterator G4VChemistryWorld::end ( )
inline

Definition at line 52 of file G4VChemistryWorld.hh.

53 {
54 return fpChemicalComponent.end();
55 }

◆ end_const()

std::map< MolType, double >::const_iterator G4VChemistryWorld::end_const ( )
inline

Definition at line 67 of file G4VChemistryWorld.hh.

68 {
69 return fpChemicalComponent.end();
70 }

◆ GetChemicalComponent()

std::map< MolType, G4double > G4VChemistryWorld::GetChemicalComponent ( ) const
inline

Definition at line 77 of file G4VChemistryWorld.hh.

78 {
80 }

◆ GetChemistryBoundary()

G4DNABoundingBox * G4VChemistryWorld::GetChemistryBoundary ( ) const
inline

Definition at line 72 of file G4VChemistryWorld.hh.

73 {
74 return fpChemistryBoundary.get();
75 }
std::unique_ptr< G4DNABoundingBox > fpChemistryBoundary

◆ size()

size_t G4VChemistryWorld::size ( )
inline

Definition at line 57 of file G4VChemistryWorld.hh.

58 {
59 return fpChemicalComponent.size();
60 }

Member Data Documentation

◆ fpChemicalComponent

std::map<MolType,G4double> G4VChemistryWorld::fpChemicalComponent
protected

Definition at line 83 of file G4VChemistryWorld.hh.

Referenced by begin(), begin_const(), end(), end_const(), GetChemicalComponent(), and size().

◆ fpChemistryBoundary

std::unique_ptr<G4DNABoundingBox> G4VChemistryWorld::fpChemistryBoundary
protected

Definition at line 82 of file G4VChemistryWorld.hh.

Referenced by GetChemistryBoundary().


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