Geant4-11
Public Member Functions
compReactionPerTime Struct Reference

#include <G4ITReaction.hh>

Public Member Functions

G4bool operator() (G4ITReactionPtr rhs, G4ITReactionPtr lhs) const
 

Detailed Description

Definition at line 71 of file G4ITReaction.hh.

Member Function Documentation

◆ operator()()

G4bool compReactionPerTime::operator() ( G4ITReactionPtr  rhs,
G4ITReactionPtr  lhs 
) const

Definition at line 40 of file G4ITReaction.cc.

42{
43 G4double time1 = rhs->GetTime();
44 G4double time2 = lhs->GetTime();
45 if (time1 == time2)
46 {
47 return rhs->GetHash() < lhs->GetHash();
48 }
49 return rhs->GetTime() < lhs->GetTime();
50}
double G4double
Definition: G4Types.hh:83

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