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

#include <G4ITReaction.hh>

Public Member Functions

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

Detailed Description

Definition at line 70 of file G4ITReaction.hh.

Member Function Documentation

◆ operator()()

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

Definition at line 40 of file G4ITReaction.cc.

42{
43 double time1 = rhs->GetTime();
44 double time2 = lhs->GetTime();
45 if (time1 == time2)
46 {
47 return rhs->GetHash() < lhs->GetHash();
48 }
49 return rhs->GetTime() < lhs->GetTime();
50}

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