Geant4 11.1.1
Toolkit for the simulation of the passage of particles through matter
Loading...
Searching...
No Matches
G4ChemicalMoleculeFinder.hh File Reference
#include "G4OctreeFinder.hh"
#include "G4Molecule.hh"
#include "G4ITTrackHolder.hh"
#include <map>

Go to the source code of this file.

Macros

#define BuildChemicalMoleculeFinder()
 

Typedefs

using G4ChemicalMoleculeFinder = G4OctreeFinder< G4Molecule, G4TrackList >
 

Macro Definition Documentation

◆ BuildChemicalMoleculeFinder

#define BuildChemicalMoleculeFinder ( )
Value:
std::map<int,PriorityList*>& listMap = G4ITTrackHolder::Instance()->GetLists();\
auto it = listMap.begin();\
auto end = listMap.end();\
std::map<int,G4TrackList*> trackMap;\
for (; it!= end; it++)\
{trackMap.insert(std::make_pair(it->first,\
(it->second->GetMainList())));\
}\
G4ChemicalMoleculeFinder::Instance()->BuildTreeMap(trackMap);
static G4ITTrackHolder * Instance()
MapOfPriorityLists & GetLists()

Definition at line 37 of file G4ChemicalMoleculeFinder.hh.

Typedef Documentation

◆ G4ChemicalMoleculeFinder