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.

00040  : fVPhysicalVolume(&aVolume),
00041    fRepNum(RepNum)
00042 {}

G4GeometryCell::G4GeometryCell ( const G4GeometryCell rhs  ) 

Definition at line 59 of file G4GeometryCell.cc.

00060  : fVPhysicalVolume(rhs.fVPhysicalVolume),
00061    fRepNum(rhs.fRepNum)
00062 {
00063 }

G4GeometryCell::~G4GeometryCell (  ) 

Definition at line 44 of file G4GeometryCell.cc.

00045 {}


Member Function Documentation

const G4VPhysicalVolume & G4GeometryCell::GetPhysicalVolume (  )  const

Definition at line 48 of file G4GeometryCell.cc.

Referenced by G4IStore::AddImportanceGeometryCell(), G4IStore::ChangeImportance(), G4WeightWindowStore::IsKnown(), G4IStore::IsKnown(), operator!=(), G4GeometryCellComp::operator()(), operator<<(), and operator==().

00049 {
00050   return *fVPhysicalVolume;
00051 }

G4int G4GeometryCell::GetReplicaNumber (  )  const

Definition at line 53 of file G4GeometryCell.cc.

Referenced by operator!=(), G4GeometryCellComp::operator()(), operator<<(), and operator==().

00054 {
00055   return fRepNum;
00056 }

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

Definition at line 65 of file G4GeometryCell.cc.

References fRepNum, and fVPhysicalVolume.

00065                                                                   {
00066   if (this != &rhs) {
00067     fVPhysicalVolume = rhs.fVPhysicalVolume; // this is treated 
00068                                              // as identifyer
00069     fRepNum = rhs.fRepNum;
00070   }
00071   return *this;
00072 }


The documentation for this class was generated from the following files:
Generated on Mon May 27 17:52:04 2013 for Geant4 by  doxygen 1.4.7