Geant4 11.1.1
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 55 of file G4OctreeFinder.hh.

Member Function Documentation

◆ operator()()

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

Definition at line 58 of file G4OctreeFinder.hh.

59 {
60 return (*it)->GetPosition();
61 }

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 64 of file G4OctreeFinder.hh.


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