43 : fVname(vname), fShape(shape), fRpar(0), fNpar(npar), fNmed(nmed),
44 fSolid(solid), fLV(0), fHasNegPars(hasNegPars), fHasMANY(false),
47 if (npar>0 && rpar!=0) {
49 for (
G4int i=0; i<npar; i++)
fRpar[i] = rpar[i];
61 return (
this==&lv) ?
true :
false;
112 +
" does not exist.";
113 G4Exception(
"G3VolTableEntry::ReplaceDaughter()",
"G3toG40007",
130 +
" does not exist.";
131 G4Exception(
"G3VolTableEntry::ReplaceMother()",
"G3toG40008",
150 if (mvte->
GetName() == Mname)
return mvte;
159 if (cvte->
GetName() == Cname)
return cvte;
169 G4cout <<
"Parameters (npar = " <<
fNpar <<
") fRpar: ";
174 G4cout <<
"================================= " <<
G4endl;
215 std::vector<G3Pos*>::iterator it=
fG3Pos.begin();
216 for(
G4int j=0;j<copy;j++) it++;
260 if (
fG3Pos.size()>0 && copy>=0)
353 std::vector<G3VolTableEntry*>*
G4LogicalVolume * GetLV()
G3VolTableEntry * GetClone(G4int i)
void ReplaceDaughter(G3VolTableEntry *vteOld, G3VolTableEntry *vteNew)
void SetLV(G4LogicalVolume *lv)
G3VolTableEntry * FindDaughter(const G4String &vname)
void SetSolid(G4VSolid *solid)
G3VolTableEntry * FindMother(const G4String &vname)
G3Pos * GetG3PosCopy(G4int copy=0)
G3VolTableEntry * GetDaughter(G4int i)
G3VolTableEntry * GetMother()
G3VolTableEntry(G4String &vname, G4String &shape, G4double *rpar, G4int npar, G4int nmed, G4VSolid *solid, G4bool hasNegPars)
void AddMother(G3VolTableEntry *aDaughter)
void AddClone(G3VolTableEntry *aDaughter)
std::vector< G3VolTableEntry * > * GetOverlaps()
std::vector< G3VolTableEntry * > fClones
void ClearG3PosCopy(G4int copy)
std::vector< G3VolTableEntry * > fOverlaps
void AddDaughter(G3VolTableEntry *aDaughter)
void ReplaceMother(G3VolTableEntry *vteOld, G3VolTableEntry *vteNew)
G4bool contains(const std::string &) const
void AddOverlap(G3VolTableEntry *aOverlap)
void AddG3Pos(G3Pos *aG3Pos)
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *description)
virtual ~G3VolTableEntry()
G4bool operator==(const G3VolTableEntry &vte) const
void SetHasMANY(G4bool hasMANY)
std::vector< G3VolTableEntry * > fMothers
void SetNRpar(G4int npar, G4double *Rpar)
void SetName(G4String name)
G3G4DLL_API G3VolTable G3Vol
G4GLOB_DLL std::ostream G4cout
G3G4DLL_API char gSeparator
std::vector< G3Pos * > fG3Pos
std::vector< G3VolTableEntry * > fDaughters
G3VolTableEntry * GetVTE(const G4String &Vname)
G3VolTableEntry * FindClone(const G4String &vname)
void SetHasNegPars(G4bool hasNegPars)
G3VolTableEntry * GetMasterClone()