#include <G4GeometryCellComp.hh>
Public Member Functions | |
G4GeometryCellComp () | |
G4bool | operator() (const G4GeometryCell &g1, const G4GeometryCell &g2) const |
Definition at line 45 of file G4GeometryCellComp.hh.
G4GeometryCellComp::G4GeometryCellComp | ( | ) |
G4bool G4GeometryCellComp::operator() | ( | const G4GeometryCell & | g1, | |
const G4GeometryCell & | g2 | |||
) | const |
Definition at line 43 of file G4GeometryCellComp.cc.
References G4GeometryCell::GetPhysicalVolume(), and G4GeometryCell::GetReplicaNumber().
00045 { 00046 G4bool smaler=false; 00047 if (&(k1.GetPhysicalVolume()) != &(k2.GetPhysicalVolume())) { 00048 smaler = &(k1.GetPhysicalVolume()) < &(k2.GetPhysicalVolume()); 00049 } else { 00050 smaler = k1.GetReplicaNumber() < k2.GetReplicaNumber(); 00051 } 00052 return smaler; 00053 }