Geant4 10.7.0
Toolkit for the simulation of the passage of particles through matter
Loading...
Searching...
No Matches
G4FastPathHadronicCrossSection::G4CrossSectionDataStore_Key_EqualTo Struct Reference

#include <G4FastPathHadronicCrossSection.hh>

Public Member Functions

bool operator() (const G4CrossSectionDataStore_Key &lhs, const G4CrossSectionDataStore_Key &rhs) const
 

Detailed Description

Definition at line 130 of file G4FastPathHadronicCrossSection.hh.

Member Function Documentation

◆ operator()()

bool G4FastPathHadronicCrossSection::G4CrossSectionDataStore_Key_EqualTo::operator() ( const G4CrossSectionDataStore_Key lhs,
const G4CrossSectionDataStore_Key rhs 
) const
inline

Definition at line 131 of file G4FastPathHadronicCrossSection.hh.

131 {
132 //TODO: Verify this: particles are singletons, materials use operator==
133 //TODO: in ref-10, G4Material::operator== becomes deleted, investigating why
134 return (lhs.first==rhs.first)&&(lhs.second == rhs.second);
135 }

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