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

#include <G4GeometryCell.hh>

Public Member Functions

 G4GeometryCell (const G4VPhysicalVolume &aVolume, G4int RepNum)
 
 G4GeometryCell (const G4GeometryCell &rhs)
 
 ~G4GeometryCell ()
 
const G4VPhysicalVolumeGetPhysicalVolume () const
 
G4int GetReplicaNumber () const
 
G4GeometryCelloperator= (const G4GeometryCell &rhs)
 

Detailed Description

Definition at line 49 of file G4GeometryCell.hh.

Constructor & Destructor Documentation

G4GeometryCell::G4GeometryCell ( const G4VPhysicalVolume aVolume,
G4int  RepNum 
)

Definition at line 38 of file G4GeometryCell.cc.

40  : fVPhysicalVolume(&aVolume),
41  fRepNum(RepNum)
42 {}
G4GeometryCell::G4GeometryCell ( const G4GeometryCell rhs)

Definition at line 59 of file G4GeometryCell.cc.

60  : fVPhysicalVolume(rhs.fVPhysicalVolume),
61  fRepNum(rhs.fRepNum)
62 {
63 }
G4GeometryCell::~G4GeometryCell ( )

Definition at line 44 of file G4GeometryCell.cc.

45 {}

Member Function Documentation

const G4VPhysicalVolume & G4GeometryCell::GetPhysicalVolume ( ) const

Definition at line 48 of file G4GeometryCell.cc.

49 {
50  return *fVPhysicalVolume;
51 }

Here is the caller graph for this function:

G4int G4GeometryCell::GetReplicaNumber ( ) const

Definition at line 53 of file G4GeometryCell.cc.

54 {
55  return fRepNum;
56 }

Here is the caller graph for this function:

G4GeometryCell & G4GeometryCell::operator= ( const G4GeometryCell rhs)

Definition at line 65 of file G4GeometryCell.cc.

65  {
66  if (this != &rhs) {
67  fVPhysicalVolume = rhs.fVPhysicalVolume; // this is treated
68  // as identifyer
69  fRepNum = rhs.fRepNum;
70  }
71  return *this;
72 }

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