Geant4 11.1.1
Toolkit for the simulation of the passage of particles through matter
Loading...
Searching...
No Matches
G4KDTreeResult.cc File Reference
#include "G4KDTreeResult.hh"

Go to the source code of this file.

Classes

struct  ResNode
 

Functions

G4Allocator< G4KDTreeResult > *& aKDTreeAllocator ()
 
bool CompareResNode (const ResNode &left, const ResNode &right)
 

Function Documentation

◆ aKDTreeAllocator()

G4Allocator< G4KDTreeResult > *& aKDTreeAllocator ( )

Definition at line 39 of file G4KDTreeResult.cc.

40{
42 return _instance;
43}
#define G4ThreadLocalStatic
Definition: tls.hh:76

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

◆ CompareResNode()

bool CompareResNode ( const ResNode left,
const ResNode right 
)

Definition at line 81 of file G4KDTreeResult.cc.

83{
84 return left < right;
85}

Referenced by G4KDTreeResult::Sort().