G4tgrPlace Class Reference

#include <G4tgrPlace.hh>

Inheritance diagram for G4tgrPlace:

G4tgrPlaceDivRep G4tgrPlaceParameterisation G4tgrPlaceSimple

Public Member Functions

 G4tgrPlace ()
virtual ~G4tgrPlace ()
const G4StringGetParentName () const
G4tgrVolumeGetVolume () const
unsigned int GetCopyNo () const
const G4StringGetType () const
void SetVolume (G4tgrVolume *vol)
void SetType (const G4String &typ)
virtual G4ThreeVector GetPlacement () const

Protected Attributes

G4tgrVolumetheVolume
G4String theParentName
unsigned int theCopyNo
G4String theType

Detailed Description

Definition at line 49 of file G4tgrPlace.hh.


Constructor & Destructor Documentation

G4tgrPlace::G4tgrPlace (  ) 

Definition at line 39 of file G4tgrPlace.cc.

00040    : theVolume(0), theParentName(""), theCopyNo(0), theType("")
00041 {
00042 }

G4tgrPlace::~G4tgrPlace (  )  [virtual]

Definition at line 46 of file G4tgrPlace.cc.

00047 {
00048 }


Member Function Documentation

unsigned int G4tgrPlace::GetCopyNo (  )  const [inline]

Definition at line 60 of file G4tgrPlace.hh.

References theCopyNo.

Referenced by G4tgrVolume::AddPlace(), G4tgbVolume::ConstructG4PhysVol(), G4tgbVolume::ConstructG4Volumes(), and G4tgrVolumeMgr::DumpVolumeLeaf().

00060 { return theCopyNo; }

const G4String& G4tgrPlace::GetParentName (  )  const [inline]

Definition at line 58 of file G4tgrPlace.hh.

References theParentName.

Referenced by G4tgrVolumeAssembly::AddPlace(), G4tgrVolume::AddPlace(), G4tgrVolume::AddPlaceParam(), and G4tgrVolume::AddPlaceReplica().

00058 { return theParentName; }

G4ThreeVector G4tgrPlace::GetPlacement (  )  const [virtual]

Reimplemented in G4tgrPlaceSimple.

Definition at line 52 of file G4tgrPlace.cc.

Referenced by G4tgbVolume::ConstructG4PhysVol().

00053 {
00054   return G4ThreeVector(0,0,0);  // Dummy...
00055 }

const G4String& G4tgrPlace::GetType ( void   )  const [inline]

Definition at line 61 of file G4tgrPlace.hh.

References theType.

Referenced by G4tgrVolumeAssembly::AddPlace(), G4tgrVolume::AddPlace(), G4tgbPlaceParameterisation::CheckNExtraData(), and G4tgbVolume::ConstructG4PhysVol().

00061 { return theType; }

G4tgrVolume* G4tgrPlace::GetVolume (  )  const [inline]

Definition at line 59 of file G4tgrPlace.hh.

References theVolume.

Referenced by G4tgbVolume::ConstructG4Volumes(), and G4tgrVolumeMgr::DumpVolumeLeaf().

00059 { return theVolume; }

void G4tgrPlace::SetType ( const G4String typ  )  [inline]

Definition at line 63 of file G4tgrPlace.hh.

References theType.

Referenced by G4tgrVolume::AddPlaceReplica(), and G4tgrVolumeDivision::G4tgrVolumeDivision().

00063 { theType = typ; }

void G4tgrPlace::SetVolume ( G4tgrVolume vol  )  [inline]

Definition at line 62 of file G4tgrPlace.hh.

References theVolume.

Referenced by G4tgrVolumeAssembly::AddPlace(), G4tgrVolume::AddPlace(), G4tgrVolume::AddPlaceParam(), G4tgrVolume::AddPlaceReplica(), and G4tgrVolumeDivision::G4tgrVolumeDivision().

00062 { theVolume = vol; }


Field Documentation

unsigned int G4tgrPlace::theCopyNo [protected]

Definition at line 76 of file G4tgrPlace.hh.

Referenced by G4tgrPlaceParameterisation::G4tgrPlaceParameterisation(), G4tgrPlaceSimple::G4tgrPlaceSimple(), and GetCopyNo().

G4String G4tgrPlace::theParentName [protected]

Definition at line 72 of file G4tgrPlace.hh.

Referenced by G4tgrPlaceDivRep::G4tgrPlaceDivRep(), G4tgrPlaceParameterisation::G4tgrPlaceParameterisation(), G4tgrPlaceSimple::G4tgrPlaceSimple(), GetParentName(), operator<<(), and G4tgrPlaceDivRep::SetParentName().

G4String G4tgrPlace::theType [protected]

Definition at line 79 of file G4tgrPlace.hh.

Referenced by G4tgrPlaceParameterisation::G4tgrPlaceParameterisation(), G4tgrPlaceSimple::G4tgrPlaceSimple(), GetType(), and SetType().

G4tgrVolume* G4tgrPlace::theVolume [protected]

Definition at line 69 of file G4tgrPlace.hh.

Referenced by GetVolume(), and SetVolume().


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