Geant4  10.02.p02
G3VolTableEntry Class Reference

#include <G3VolTableEntry.hh>

+ Collaboration diagram for G3VolTableEntry:

Public Member Functions

 G3VolTableEntry (G4String &vname, G4String &shape, G4double *rpar, G4int npar, G4int nmed, G4VSolid *solid, G4bool hasNegPars)
 
virtual ~G3VolTableEntry ()
 
G4bool operator== (const G3VolTableEntry &vte) const
 
void AddG3Pos (G3Pos *aG3Pos)
 
void AddDaughter (G3VolTableEntry *aDaughter)
 
void AddMother (G3VolTableEntry *aDaughter)
 
void AddClone (G3VolTableEntry *aDaughter)
 
void AddOverlap (G3VolTableEntry *aOverlap)
 
void ReplaceDaughter (G3VolTableEntry *vteOld, G3VolTableEntry *vteNew)
 
void ReplaceMother (G3VolTableEntry *vteOld, G3VolTableEntry *vteNew)
 
G3VolTableEntryFindDaughter (const G4String &vname)
 
G3VolTableEntryFindMother (const G4String &vname)
 
G3VolTableEntryFindClone (const G4String &vname)
 
void PrintSolidInfo ()
 
void SetName (G4String name)
 
void SetLV (G4LogicalVolume *lv)
 
void SetSolid (G4VSolid *solid)
 
void SetNmed (G4int nmed)
 
void SetNRpar (G4int npar, G4double *Rpar)
 
void SetDivision (G3Division *division)
 
void SetHasNegPars (G4bool hasNegPars)
 
void SetHasMANY (G4bool hasMANY)
 
void ClearG3PosCopy (G4int copy)
 
void ClearDivision ()
 
G4String GetName ()
 
G4String GetShape ()
 
G4int GetNmed ()
 
G4int GetNpar ()
 
G4doubleGetRpar ()
 
G4int NPCopies ()
 
G3PosGetG3PosCopy (G4int copy=0)
 
G3DivisionGetDivision ()
 
G4bool HasNegPars ()
 
G4bool HasMANY ()
 
G4VSolidGetSolid ()
 
G4LogicalVolumeGetLV ()
 
G4int GetNoDaughters ()
 
G4int GetNoMothers ()
 
G4int GetNoClones ()
 
G4int GetNoOverlaps ()
 
G3VolTableEntryGetDaughter (G4int i)
 
G3VolTableEntryGetMother (G4int i)
 
G3VolTableEntryGetMother ()
 
G3VolTableEntryGetClone (G4int i)
 
G3VolTableEntryGetMasterClone ()
 
std::vector< G3VolTableEntry * > * GetOverlaps ()
 

Private Attributes

G4String fVname
 
G4String fShape
 
G4doublefRpar
 
G4int fNpar
 
G4int fNmed
 
G4VSolidfSolid
 
G4LogicalVolumefLV
 
G4bool fHasNegPars
 
G4bool fHasMANY
 
std::vector< G3VolTableEntry * > fDaughters
 
std::vector< G3VolTableEntry * > fMothers
 
std::vector< G3VolTableEntry * > fClones
 
std::vector< G3VolTableEntry * > fOverlaps
 
std::vector< G3Pos * > fG3Pos
 
G3DivisionfDivision
 

Detailed Description

Definition at line 80 of file G3VolTableEntry.hh.

Constructor & Destructor Documentation

G3VolTableEntry::G3VolTableEntry ( G4String vname,
G4String shape,
G4double rpar,
G4int  npar,
G4int  nmed,
G4VSolid solid,
G4bool  hasNegPars 
)

Definition at line 40 of file G3VolTableEntry.cc.

References fClones, and fRpar.

G3VolTableEntry::~G3VolTableEntry ( )
virtual

Definition at line 54 of file G3VolTableEntry.cc.

References fDivision, and fRpar.

Member Function Documentation

void G3VolTableEntry::AddClone ( G3VolTableEntry aDaughter)

Definition at line 91 of file G3VolTableEntry.cc.

References fClones, FindClone(), and GetName().

Referenced by G4CloneDaughters(), G4CreateCloneVTE(), and G4CreateCloneVTEWithDivision().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void G3VolTableEntry::AddDaughter ( G3VolTableEntry aDaughter)

Definition at line 77 of file G3VolTableEntry.cc.

References fDaughters, FindDaughter(), and GetName().

Referenced by G4CloneDaughters(), G4CreateCloneVTE(), G4CreateCloneVTEWithDivision(), G4gspos(), and G3Division::UpdateVTE().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void G3VolTableEntry::AddG3Pos ( G3Pos aG3Pos)

Definition at line 65 of file G3VolTableEntry.cc.

References G3VolTable::CountG3Pos(), fG3Pos, G3Vol, G3Pos::GetOnly(), and SetHasMANY().

Referenced by G3Division::CreateEnvelope(), G4CloneDaughters(), G4CreateCloneVTE(), and G4gspos().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void G3VolTableEntry::AddMother ( G3VolTableEntry aDaughter)

Definition at line 84 of file G3VolTableEntry.cc.

References FindMother(), fMothers, and GetName().

Referenced by G4CloneDaughters(), G4CreateCloneVTE(), G4CreateCloneVTEWithDivision(), G4gspos(), and G3Division::UpdateVTE().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void G3VolTableEntry::AddOverlap ( G3VolTableEntry aOverlap)

Definition at line 98 of file G3VolTableEntry.cc.

References fOverlaps.

Referenced by G4gsbool().

+ Here is the caller graph for this function:

void G3VolTableEntry::ClearDivision ( )

Definition at line 223 of file G3VolTableEntry.cc.

References fDivision.

Referenced by G3toG4BuildPVTree().

+ Here is the caller graph for this function:

void G3VolTableEntry::ClearG3PosCopy ( G4int  copy)

Definition at line 213 of file G3VolTableEntry.cc.

References fG3Pos.

Referenced by G3toG4BuildPVTree().

+ Here is the caller graph for this function:

G3VolTableEntry * G3VolTableEntry::FindClone ( const G4String vname)

Definition at line 156 of file G3VolTableEntry.cc.

References GetClone(), GetName(), and GetNoClones().

Referenced by AddClone().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G3VolTableEntry * G3VolTableEntry::FindDaughter ( const G4String vname)

Definition at line 139 of file G3VolTableEntry.cc.

References GetDaughter(), GetName(), and GetNoDaughters().

Referenced by AddDaughter().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G3VolTableEntry * G3VolTableEntry::FindMother ( const G4String vname)

Definition at line 147 of file G3VolTableEntry.cc.

References GetMother(), GetName(), and GetNoMothers().

Referenced by AddMother(), and G3toG4BuildPVTree().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G3VolTableEntry * G3VolTableEntry::GetClone ( G4int  i)

Definition at line 332 of file G3VolTableEntry.cc.

References fClones.

Referenced by FindClone(), G4CreateCloneVTE(), G4CreateCloneVTEWithDivision(), G4gspos(), and MakeBooleanSolids().

+ Here is the caller graph for this function:

G3VolTableEntry * G3VolTableEntry::GetDaughter ( G4int  i)

Definition at line 307 of file G3VolTableEntry.cc.

References fDaughters.

Referenced by FindDaughter(), G3toG4BuildLVTree(), G3toG4BuildPVTree(), G3toG4MANY(), G4CloneDaughters(), G4ProcessDaughters(), and SubstractSolids().

+ Here is the caller graph for this function:

G3Division * G3VolTableEntry::GetDivision ( )
inline

Definition at line 165 of file G3VolTableEntry.hh.

References fDivision.

Referenced by G3toG4BuildLVTree(), G3toG4BuildPVTree(), G4CloneDaughters(), and G4ProcessDaughters().

+ Here is the caller graph for this function:

G3Pos * G3VolTableEntry::GetG3PosCopy ( G4int  copy = 0)

Definition at line 259 of file G3VolTableEntry.cc.

References fG3Pos.

Referenced by G3toG4BuildPVTree(), G3toG4MANY(), G4CloneDaughters(), and SubstractSolids().

+ Here is the caller graph for this function:

G4LogicalVolume * G3VolTableEntry::GetLV ( )

Definition at line 282 of file G3VolTableEntry.cc.

References fLV.

Referenced by G3Division::CreatePVReplica(), G3toG4BuildLVTree(), G3toG4BuildPVTree(), and G4BuildGeom().

+ Here is the caller graph for this function:

G3VolTableEntry * G3VolTableEntry::GetMasterClone ( )

Definition at line 340 of file G3VolTableEntry.cc.

References G4String::contains(), G4String::first(), fVname, G3Vol, G3VolTable::GetVTE(), gSeparator, and name.

Referenced by G3Division::CreateEnvelope(), G3toG4BuildLVTree(), G3toG4BuildPVTree(), G4CloneDaughters(), and MakeBooleanSolids().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G3VolTableEntry * G3VolTableEntry::GetMother ( G4int  i)

Definition at line 315 of file G3VolTableEntry.cc.

References fMothers.

Referenced by G3toG4BuildPVTree(), and G3VolTable::SetFirstVTE().

+ Here is the caller graph for this function:

G3VolTableEntry * G3VolTableEntry::GetMother ( )

Definition at line 324 of file G3VolTableEntry.cc.

References fMothers.

Referenced by FindMother().

+ Here is the caller graph for this function:

G4int G3VolTableEntry::GetNmed ( )

Definition at line 239 of file G3VolTableEntry.cc.

References fNmed.

Referenced by G3toG4BuildLVTree(), G4CloneDaughters(), G4CreateCloneVTE(), G4CreateCloneVTEWithDivision(), and G3Division::UpdateVTE().

+ Here is the caller graph for this function:

G4int G3VolTableEntry::GetNoClones ( )

Definition at line 297 of file G3VolTableEntry.cc.

References fClones.

Referenced by FindClone(), G3toG4BuildLVTree(), G4CloneDaughters(), G4CreateCloneVTE(), G4CreateCloneVTEWithDivision(), G4gspos(), and MakeBooleanSolids().

+ Here is the caller graph for this function:

G4int G3VolTableEntry::GetNoDaughters ( )

Definition at line 287 of file G3VolTableEntry.cc.

References fDaughters.

Referenced by FindDaughter(), G3toG4BuildLVTree(), G3toG4BuildPVTree(), G3toG4MANY(), G4CloneDaughters(), G4ProcessDaughters(), G3VolTable::PrintAll(), ReplaceDaughter(), and SubstractSolids().

+ Here is the caller graph for this function:

G4int G3VolTableEntry::GetNoMothers ( )

Definition at line 292 of file G3VolTableEntry.cc.

References fMothers.

Referenced by FindMother(), G3toG4BuildPVTree(), and ReplaceMother().

+ Here is the caller graph for this function:

G4int G3VolTableEntry::GetNoOverlaps ( )

Definition at line 302 of file G3VolTableEntry.cc.

References fOverlaps.

Referenced by G3toG4MANY().

+ Here is the caller graph for this function:

G4int G3VolTableEntry::GetNpar ( )

Definition at line 244 of file G3VolTableEntry.cc.

References fNpar.

Referenced by G3Division::Dvn(), G3Division::Dvn2(), G3Division::Dvt(), G3Division::Dvt2(), G3NegVolPars(), G4CloneDaughters(), G4CreateCloneVTE(), G4gspos(), and G4ProcessDaughters().

+ Here is the caller graph for this function:

std::vector< G3VolTableEntry * > * G3VolTableEntry::GetOverlaps ( )

Definition at line 354 of file G3VolTableEntry.cc.

References fOverlaps.

Referenced by G3toG4MANY().

+ Here is the caller graph for this function:

G4double * G3VolTableEntry::GetRpar ( )

Definition at line 249 of file G3VolTableEntry.cc.

References fRpar.

Referenced by G3Division::Dvn(), G3Division::Dvn2(), G3Division::Dvt(), G3Division::Dvt2(), G3NegVolPars(), G4CloneDaughters(), G4CreateCloneVTE(), G4gspos(), G4ProcessDaughters(), and G3Division::SetRangeAndAxis().

+ Here is the caller graph for this function:

G4String G3VolTableEntry::GetShape ( )

Definition at line 234 of file G3VolTableEntry.cc.

References fShape.

Referenced by G3Division::CreatePVReplica(), G3Division::Dvn(), G3Division::Dvn2(), G3Division::Dvt(), G3Division::Dvt2(), G3NegVolPars(), G4CloneDaughters(), G4CreateCloneVTE(), G4CreateCloneVTEWithDivision(), G4ProcessDaughters(), and G3Division::SetRangeAndAxis().

+ Here is the caller graph for this function:

G4VSolid * G3VolTableEntry::GetSolid ( )

Definition at line 277 of file G3VolTableEntry.cc.

References fSolid.

Referenced by G3toG4BuildLVTree(), G3toG4BuildPVTree(), and SubstractSolids().

+ Here is the caller graph for this function:

G4bool G3VolTableEntry::HasMANY ( )

Definition at line 272 of file G3VolTableEntry.cc.

References fHasMANY.

Referenced by G3toG4MANY().

+ Here is the caller graph for this function:

G4bool G3VolTableEntry::HasNegPars ( )

Definition at line 267 of file G3VolTableEntry.cc.

References fHasNegPars.

Referenced by G4CloneDaughters(), G4gspos(), G4ProcessDaughters(), and G3Division::UpdateVTE().

+ Here is the caller graph for this function:

G4int G3VolTableEntry::NPCopies ( )

Definition at line 254 of file G3VolTableEntry.cc.

References fG3Pos.

Referenced by G3toG4BuildPVTree(), G3toG4MANY(), G4CloneDaughters(), MakeBooleanSolids(), G3VolTable::SetFirstVTE(), and SubstractSolids().

+ Here is the caller graph for this function:

G4bool G3VolTableEntry::operator== ( const G3VolTableEntry vte) const

Definition at line 60 of file G3VolTableEntry.cc.

void G3VolTableEntry::PrintSolidInfo ( )

Definition at line 164 of file G3VolTableEntry.cc.

References fHasMANY, fHasNegPars, fNpar, fRpar, fSolid, fVname, G4cout, and G4endl.

void G3VolTableEntry::ReplaceDaughter ( G3VolTableEntry vteOld,
G3VolTableEntry vteNew 
)

Definition at line 103 of file G3VolTableEntry.cc.

References FatalException, fDaughters, G4Exception(), GetName(), and GetNoDaughters().

Referenced by G3Division::UpdateVTE().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void G3VolTableEntry::ReplaceMother ( G3VolTableEntry vteOld,
G3VolTableEntry vteNew 
)

Definition at line 121 of file G3VolTableEntry.cc.

References FatalException, fMothers, G4Exception(), GetName(), and GetNoMothers().

Referenced by G3Division::UpdateVTE().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void G3VolTableEntry::SetDivision ( G3Division division)
inline

Definition at line 162 of file G3VolTableEntry.hh.

References fDivision.

Referenced by G4CloneDaughters(), and G4CreateCloneVTEWithDivision().

+ Here is the caller graph for this function:

void G3VolTableEntry::SetHasMANY ( G4bool  hasMANY)

Definition at line 209 of file G3VolTableEntry.cc.

References fHasMANY.

Referenced by AddG3Pos().

+ Here is the caller graph for this function:

void G3VolTableEntry::SetHasNegPars ( G4bool  hasNegPars)

Definition at line 205 of file G3VolTableEntry.cc.

References fHasNegPars.

Referenced by G3Division::CreateSolid(), G3Division::G3Division(), G4CreateCloneVTE(), and G4ProcessDaughters().

+ Here is the caller graph for this function:

void G3VolTableEntry::SetLV ( G4LogicalVolume lv)

Definition at line 183 of file G3VolTableEntry.cc.

References fLV.

Referenced by G3toG4BuildLVTree().

+ Here is the caller graph for this function:

void G3VolTableEntry::SetName ( G4String  name)

Definition at line 178 of file G3VolTableEntry.cc.

References fVname, and name.

Referenced by G4CreateCloneVTE().

+ Here is the caller graph for this function:

void G3VolTableEntry::SetNmed ( G4int  nmed)

Definition at line 192 of file G3VolTableEntry.cc.

References fNmed.

Referenced by G3Division::UpdateVTE().

+ Here is the caller graph for this function:

void G3VolTableEntry::SetNRpar ( G4int  npar,
G4double Rpar 
)

Definition at line 196 of file G3VolTableEntry.cc.

References fNpar, and fRpar.

Referenced by G3Division::CreateSolid(), and G4ProcessDaughters().

+ Here is the caller graph for this function:

void G3VolTableEntry::SetSolid ( G4VSolid solid)

Definition at line 188 of file G3VolTableEntry.cc.

References fSolid.

Referenced by G3Division::CreateSolid(), G4CreateCloneVTE(), G4ProcessDaughters(), and SubstractSolids().

+ Here is the caller graph for this function:

Member Data Documentation

std::vector<G3VolTableEntry*> G3VolTableEntry::fClones
private

Definition at line 154 of file G3VolTableEntry.hh.

Referenced by AddClone(), G3VolTableEntry(), GetClone(), and GetNoClones().

std::vector<G3VolTableEntry*> G3VolTableEntry::fDaughters
private

Definition at line 152 of file G3VolTableEntry.hh.

Referenced by AddDaughter(), GetDaughter(), GetNoDaughters(), and ReplaceDaughter().

G3Division* G3VolTableEntry::fDivision
private

Definition at line 157 of file G3VolTableEntry.hh.

Referenced by ClearDivision(), GetDivision(), SetDivision(), and ~G3VolTableEntry().

std::vector<G3Pos*> G3VolTableEntry::fG3Pos
private

Definition at line 156 of file G3VolTableEntry.hh.

Referenced by AddG3Pos(), ClearG3PosCopy(), GetG3PosCopy(), and NPCopies().

G4bool G3VolTableEntry::fHasMANY
private

Definition at line 151 of file G3VolTableEntry.hh.

Referenced by HasMANY(), PrintSolidInfo(), and SetHasMANY().

G4bool G3VolTableEntry::fHasNegPars
private

Definition at line 150 of file G3VolTableEntry.hh.

Referenced by HasNegPars(), PrintSolidInfo(), and SetHasNegPars().

G4LogicalVolume* G3VolTableEntry::fLV
private

Definition at line 149 of file G3VolTableEntry.hh.

Referenced by GetLV(), and SetLV().

std::vector<G3VolTableEntry*> G3VolTableEntry::fMothers
private

Definition at line 153 of file G3VolTableEntry.hh.

Referenced by AddMother(), GetMother(), GetNoMothers(), and ReplaceMother().

G4int G3VolTableEntry::fNmed
private

Definition at line 147 of file G3VolTableEntry.hh.

Referenced by GetNmed(), and SetNmed().

G4int G3VolTableEntry::fNpar
private

Definition at line 146 of file G3VolTableEntry.hh.

Referenced by GetNpar(), PrintSolidInfo(), and SetNRpar().

std::vector<G3VolTableEntry*> G3VolTableEntry::fOverlaps
private

Definition at line 155 of file G3VolTableEntry.hh.

Referenced by AddOverlap(), GetNoOverlaps(), and GetOverlaps().

G4double* G3VolTableEntry::fRpar
private
G4String G3VolTableEntry::fShape
private

Definition at line 144 of file G3VolTableEntry.hh.

Referenced by GetShape().

G4VSolid* G3VolTableEntry::fSolid
private

Definition at line 148 of file G3VolTableEntry.hh.

Referenced by GetSolid(), PrintSolidInfo(), and SetSolid().

G4String G3VolTableEntry::fVname
private

Definition at line 143 of file G3VolTableEntry.hh.

Referenced by GetMasterClone(), GetName(), PrintSolidInfo(), and SetName().


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