Geant4  10.03.p03
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
G4GeometryCellComp Class Reference

#include <G4GeometryCellComp.hh>

Public Member Functions

 G4GeometryCellComp ()
 
G4bool operator() (const G4GeometryCell &g1, const G4GeometryCell &g2) const
 

Detailed Description

Definition at line 45 of file G4GeometryCellComp.hh.

Constructor & Destructor Documentation

G4GeometryCellComp::G4GeometryCellComp ( )

Definition at line 40 of file G4GeometryCellComp.cc.

41 {}

Member Function Documentation

G4bool G4GeometryCellComp::operator() ( const G4GeometryCell g1,
const G4GeometryCell g2 
) const

Definition at line 43 of file G4GeometryCellComp.cc.

45 {
46  G4bool smaler=false;
47  if (&(k1.GetPhysicalVolume()) != &(k2.GetPhysicalVolume())) {
48  smaler = &(k1.GetPhysicalVolume()) < &(k2.GetPhysicalVolume());
49  } else {
50  smaler = k1.GetReplicaNumber() < k2.GetReplicaNumber();
51  }
52  return smaler;
53 }
bool G4bool
Definition: G4Types.hh:79

Here is the call graph for this function:


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