Geant4
10.03
|
#include <G3VolTableEntry.hh>
Private Attributes | |
G4String | fVname |
G4String | fShape |
G4double * | fRpar |
G4int | fNpar |
G4int | fNmed |
G4VSolid * | fSolid |
G4LogicalVolume * | fLV |
G4bool | fHasNegPars |
G4bool | fHasMANY |
std::vector< G3VolTableEntry * > | fDaughters |
std::vector< G3VolTableEntry * > | fMothers |
std::vector< G3VolTableEntry * > | fClones |
std::vector< G3VolTableEntry * > | fOverlaps |
std::vector< G3Pos * > | fG3Pos |
G3Division * | fDivision |
Definition at line 80 of file G3VolTableEntry.hh.
G3VolTableEntry::G3VolTableEntry | ( | G4String & | vname, |
G4String & | shape, | ||
G4double * | rpar, | ||
G4int | npar, | ||
G4int | nmed, | ||
G4VSolid * | solid, | ||
G4bool | hasNegPars | ||
) |
Definition at line 40 of file G3VolTableEntry.cc.
|
virtual |
Definition at line 54 of file G3VolTableEntry.cc.
void G3VolTableEntry::AddClone | ( | G3VolTableEntry * | aDaughter | ) |
Definition at line 91 of file G3VolTableEntry.cc.
References fClones, FindClone(), and GetName().
Referenced by G4CloneDaughters(), G4CreateCloneVTE(), and G4CreateCloneVTEWithDivision().
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().
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().
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().
void G3VolTableEntry::AddOverlap | ( | G3VolTableEntry * | aOverlap | ) |
Definition at line 98 of file G3VolTableEntry.cc.
References fOverlaps.
Referenced by G4gsbool().
void G3VolTableEntry::ClearDivision | ( | ) |
Definition at line 223 of file G3VolTableEntry.cc.
References fDivision.
Referenced by G3toG4BuildPVTree().
void G3VolTableEntry::ClearG3PosCopy | ( | G4int | copy | ) |
Definition at line 213 of file G3VolTableEntry.cc.
References fG3Pos.
Referenced by G3toG4BuildPVTree().
G3VolTableEntry * G3VolTableEntry::FindClone | ( | const G4String & | vname | ) |
Definition at line 156 of file G3VolTableEntry.cc.
References GetClone(), GetName(), and GetNoClones().
Referenced by AddClone().
G3VolTableEntry * G3VolTableEntry::FindDaughter | ( | const G4String & | vname | ) |
Definition at line 139 of file G3VolTableEntry.cc.
References GetDaughter(), GetName(), and GetNoDaughters().
Referenced by AddDaughter().
G3VolTableEntry * G3VolTableEntry::FindMother | ( | const G4String & | vname | ) |
Definition at line 147 of file G3VolTableEntry.cc.
References GetMother(), GetName(), and GetNoMothers().
Referenced by AddMother(), and G3toG4BuildPVTree().
G3VolTableEntry * G3VolTableEntry::GetClone | ( | G4int | i | ) |
Definition at line 332 of file G3VolTableEntry.cc.
References fClones.
Referenced by FindClone(), G4CreateCloneVTE(), G4CreateCloneVTEWithDivision(), G4gspos(), and MakeBooleanSolids().
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().
|
inline |
Definition at line 165 of file G3VolTableEntry.hh.
References fDivision.
Referenced by G3toG4BuildLVTree(), G3toG4BuildPVTree(), G4CloneDaughters(), and G4ProcessDaughters().
Definition at line 259 of file G3VolTableEntry.cc.
References fG3Pos.
Referenced by G3toG4BuildPVTree(), G3toG4MANY(), G4CloneDaughters(), and SubstractSolids().
G4LogicalVolume * G3VolTableEntry::GetLV | ( | ) |
Definition at line 282 of file G3VolTableEntry.cc.
References fLV.
Referenced by G3Division::CreatePVReplica(), G3toG4BuildLVTree(), G3toG4BuildPVTree(), and G4BuildGeom().
G3VolTableEntry * G3VolTableEntry::GetMasterClone | ( | ) |
Definition at line 340 of file G3VolTableEntry.cc.
References G4String::contains(), G4String::first(), fVname, G3Vol, G3VolTable::GetVTE(), gSeparator, and G4InuclParticleNames::name().
Referenced by G3Division::CreateEnvelope(), G3toG4BuildLVTree(), G3toG4BuildPVTree(), G4CloneDaughters(), and MakeBooleanSolids().
G3VolTableEntry * G3VolTableEntry::GetMother | ( | G4int | i | ) |
Definition at line 315 of file G3VolTableEntry.cc.
References fMothers.
Referenced by G3toG4BuildPVTree(), and G3VolTable::SetFirstVTE().
G3VolTableEntry * G3VolTableEntry::GetMother | ( | ) |
Definition at line 324 of file G3VolTableEntry.cc.
References fMothers.
Referenced by FindMother().
G4String G3VolTableEntry::GetName | ( | void | ) |
Definition at line 229 of file G3VolTableEntry.cc.
References fVname.
Referenced by AddClone(), AddDaughter(), AddMother(), G3Division::CreateEnvelope(), G3Division::CreatePVReplica(), G3Division::CreateSolid(), FindClone(), FindDaughter(), FindMother(), G3toG4BuildLVTree(), G3toG4BuildPVTree(), G3toG4MANY(), G4BuildGeom(), G4CloneDaughters(), G4CreateCloneVTE(), G4CreateCloneVTEWithDivision(), G4ProcessDaughters(), MakeBooleanSolids(), G3VolTable::PrintAll(), G3VolTable::PutVTE(), ReplaceDaughter(), ReplaceMother(), G3VolTable::SetFirstVTE(), and SubstractSolids().
G4int G3VolTableEntry::GetNmed | ( | ) |
Definition at line 239 of file G3VolTableEntry.cc.
References fNmed.
Referenced by G3toG4BuildLVTree(), G4CloneDaughters(), G4CreateCloneVTE(), G4CreateCloneVTEWithDivision(), and G3Division::UpdateVTE().
G4int G3VolTableEntry::GetNoClones | ( | ) |
Definition at line 297 of file G3VolTableEntry.cc.
References fClones.
Referenced by FindClone(), G3toG4BuildLVTree(), G4CloneDaughters(), G4CreateCloneVTE(), G4CreateCloneVTEWithDivision(), G4gspos(), and MakeBooleanSolids().
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().
G4int G3VolTableEntry::GetNoMothers | ( | ) |
Definition at line 292 of file G3VolTableEntry.cc.
References fMothers.
Referenced by FindMother(), G3toG4BuildPVTree(), and ReplaceMother().
G4int G3VolTableEntry::GetNoOverlaps | ( | ) |
Definition at line 302 of file G3VolTableEntry.cc.
References fOverlaps.
Referenced by G3toG4MANY().
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().
std::vector< G3VolTableEntry * > * G3VolTableEntry::GetOverlaps | ( | ) |
Definition at line 354 of file G3VolTableEntry.cc.
References fOverlaps.
Referenced by G3toG4MANY().
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().
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().
G4VSolid * G3VolTableEntry::GetSolid | ( | ) |
Definition at line 277 of file G3VolTableEntry.cc.
References fSolid.
Referenced by G3toG4BuildLVTree(), G3toG4BuildPVTree(), and SubstractSolids().
G4bool G3VolTableEntry::HasMANY | ( | ) |
Definition at line 272 of file G3VolTableEntry.cc.
References fHasMANY.
Referenced by G3toG4MANY().
G4bool G3VolTableEntry::HasNegPars | ( | ) |
Definition at line 267 of file G3VolTableEntry.cc.
References fHasNegPars.
Referenced by G4CloneDaughters(), G4gspos(), G4ProcessDaughters(), and G3Division::UpdateVTE().
G4int G3VolTableEntry::NPCopies | ( | ) |
Definition at line 254 of file G3VolTableEntry.cc.
References fG3Pos.
Referenced by G3toG4BuildPVTree(), G3toG4MANY(), G4CloneDaughters(), MakeBooleanSolids(), G3VolTable::SetFirstVTE(), and SubstractSolids().
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().
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().
|
inline |
Definition at line 162 of file G3VolTableEntry.hh.
References fDivision.
Referenced by G4CloneDaughters(), and G4CreateCloneVTEWithDivision().
void G3VolTableEntry::SetHasMANY | ( | G4bool | hasMANY | ) |
Definition at line 209 of file G3VolTableEntry.cc.
References fHasMANY.
Referenced by AddG3Pos().
void G3VolTableEntry::SetHasNegPars | ( | G4bool | hasNegPars | ) |
Definition at line 205 of file G3VolTableEntry.cc.
References fHasNegPars.
Referenced by G3Division::CreateSolid(), G3Division::G3Division(), G4CreateCloneVTE(), and G4ProcessDaughters().
void G3VolTableEntry::SetLV | ( | G4LogicalVolume * | lv | ) |
Definition at line 183 of file G3VolTableEntry.cc.
References fLV.
Referenced by G3toG4BuildLVTree().
void G3VolTableEntry::SetName | ( | G4String | name | ) |
Definition at line 178 of file G3VolTableEntry.cc.
References fVname, and G4InuclParticleNames::name().
Referenced by G4CreateCloneVTE().
void G3VolTableEntry::SetNmed | ( | G4int | nmed | ) |
Definition at line 192 of file G3VolTableEntry.cc.
References fNmed.
Referenced by G3Division::UpdateVTE().
Definition at line 196 of file G3VolTableEntry.cc.
Referenced by G3Division::CreateSolid(), and G4ProcessDaughters().
void G3VolTableEntry::SetSolid | ( | G4VSolid * | solid | ) |
Definition at line 188 of file G3VolTableEntry.cc.
References fSolid.
Referenced by G3Division::CreateSolid(), G4CreateCloneVTE(), G4ProcessDaughters(), and SubstractSolids().
|
private |
Definition at line 154 of file G3VolTableEntry.hh.
Referenced by AddClone(), G3VolTableEntry(), GetClone(), and GetNoClones().
|
private |
Definition at line 152 of file G3VolTableEntry.hh.
Referenced by AddDaughter(), GetDaughter(), GetNoDaughters(), and ReplaceDaughter().
|
private |
Definition at line 157 of file G3VolTableEntry.hh.
Referenced by ClearDivision(), GetDivision(), SetDivision(), and ~G3VolTableEntry().
|
private |
Definition at line 156 of file G3VolTableEntry.hh.
Referenced by AddG3Pos(), ClearG3PosCopy(), GetG3PosCopy(), and NPCopies().
|
private |
Definition at line 151 of file G3VolTableEntry.hh.
Referenced by HasMANY(), PrintSolidInfo(), and SetHasMANY().
|
private |
Definition at line 150 of file G3VolTableEntry.hh.
Referenced by HasNegPars(), PrintSolidInfo(), and SetHasNegPars().
|
private |
Definition at line 149 of file G3VolTableEntry.hh.
|
private |
Definition at line 153 of file G3VolTableEntry.hh.
Referenced by AddMother(), GetMother(), GetNoMothers(), and ReplaceMother().
|
private |
Definition at line 147 of file G3VolTableEntry.hh.
|
private |
Definition at line 146 of file G3VolTableEntry.hh.
Referenced by GetNpar(), PrintSolidInfo(), and SetNRpar().
|
private |
Definition at line 155 of file G3VolTableEntry.hh.
Referenced by AddOverlap(), GetNoOverlaps(), and GetOverlaps().
|
private |
Definition at line 145 of file G3VolTableEntry.hh.
Referenced by G3VolTableEntry(), GetRpar(), PrintSolidInfo(), SetNRpar(), and ~G3VolTableEntry().
|
private |
Definition at line 144 of file G3VolTableEntry.hh.
Referenced by GetShape().
|
private |
Definition at line 148 of file G3VolTableEntry.hh.
Referenced by GetSolid(), PrintSolidInfo(), and SetSolid().
|
private |
Definition at line 143 of file G3VolTableEntry.hh.
Referenced by GetMasterClone(), GetName(), PrintSolidInfo(), and SetName().