Geant4 11.2.2
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.

37#define BuildChemicalMoleculeFinder()\
38std::map<int,PriorityList*>& listMap = G4ITTrackHolder::Instance()->GetLists();\
39auto it = listMap.begin();\
40auto end = listMap.end();\
41std::map<int,G4TrackList*> trackMap;\
42for (; it!= end; it++)\
43{trackMap.insert(std::make_pair(it->first,\
44(it->second->GetMainList())));\
45}\
46G4ChemicalMoleculeFinder::Instance()->BuildTreeMap(trackMap);

Referenced by G4DNAIndependentReactionTimeStepper::Prepare().

Typedef Documentation

◆ G4ChemicalMoleculeFinder