Geant4 11.2.2
Toolkit for the simulation of the passage of particles through matter
Loading...
Searching...
No Matches
Extractor< CONTAINER > Class Template Reference

#include <G4OctreeFinder.hh>

Public Member Functions

const G4ThreeVector operator() (typename CONTAINER::iterator it)
 

Public Attributes

std::function< G4bool(const std::pair< typename CONTAINER::iterator, G4double >, const std::pair< typename CONTAINER::iterator, G4double >)> compareInterval
 

Detailed Description

template<typename CONTAINER>
class Extractor< CONTAINER >

Definition at line 58 of file G4OctreeFinder.hh.

Member Function Documentation

◆ operator()()

template<typename CONTAINER >
const G4ThreeVector Extractor< CONTAINER >::operator() ( typename CONTAINER::iterator it)
inline

Definition at line 61 of file G4OctreeFinder.hh.

62 {
63 return (*it)->GetPosition();
64 }

Member Data Documentation

◆ compareInterval

template<typename CONTAINER >
std::function<G4bool(const std::pair<typename CONTAINER::iterator,G4double>, const std::pair<typename CONTAINER::iterator,G4double>)> Extractor< CONTAINER >::compareInterval
Initial value:
= [](const std::pair<typename CONTAINER::iterator,G4double>& iter1,
const std::pair<typename CONTAINER::iterator,G4double>& iter2)
-> G4bool
{
return (std::get<1>(iter1) < std::get<1>(iter2));
}
bool G4bool
Definition G4Types.hh:86

Definition at line 67 of file G4OctreeFinder.hh.

70 {
71 return (std::get<1>(iter1) < std::get<1>(iter2));
72 };

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