Geant4 11.2.2
Toolkit for the simulation of the passage of particles through matter
Loading...
Searching...
No Matches
G4Molecule.hh File Reference
#include "G4IT.hh"
#include "G4Allocator.hh"
#include "G4MoleculeDefinition.hh"

Go to the source code of this file.

Classes

class  G4Molecule
 

Functions

G4MoleculeGetMolecule (const G4Track &track)
 
G4MoleculeGetMolecule (const G4Track *track)
 
G4DLLIMPORT G4Allocator< G4Molecule > *& aMoleculeAllocator ()
 

Function Documentation

◆ aMoleculeAllocator()

G4DLLIMPORT G4Allocator< G4Molecule > *& aMoleculeAllocator ( )
extern

Definition at line 59 of file G4Molecule.cc.

60{
62 return _instance;
63}
#define G4ThreadLocalStatic
Definition tls.hh:76

Referenced by G4Molecule::operator delete(), and G4Molecule::operator new().

◆ GetMolecule() [1/2]

◆ GetMolecule() [2/2]

G4Molecule * GetMolecule ( const G4Track * track)

Definition at line 81 of file G4Molecule.cc.

82{
83 return (G4Molecule*)(GetIT(track));
84}