Geant4 11.2.2
Toolkit for the simulation of the passage of particles through matter
Loading...
Searching...
No Matches
G4::MoleculeCounter::TimePrecision Struct Reference

#include <G4MoleculeCounter.hh>

Public Member Functions

bool operator() (const double &a, const double &b) const
 

Static Public Attributes

static G4ThreadLocal double fPrecision = 0.5 * picosecond
 

Detailed Description

Definition at line 57 of file G4MoleculeCounter.hh.

Member Function Documentation

◆ operator()()

bool G4::MoleculeCounter::TimePrecision::operator() ( const double & a,
const double & b ) const

Definition at line 46 of file G4MoleculeCounter.cc.

47{
48 if (std::fabs(a - b) < fPrecision)
49 {
50 return false;
51 }
52
53 return a < b;
54}
static G4ThreadLocal double fPrecision

Member Data Documentation

◆ fPrecision

G4ThreadLocal double G4::MoleculeCounter::TimePrecision::fPrecision = 0.5 * picosecond
static

The documentation for this struct was generated from the following files: