62 G4gsposp(name, num, moth, x, y, z, irot, only, pars, npar);
71 G4cerr <<
" G4ProcessDaughters: Ignored (vte has negative parameters)."
93 G4String text =
"G3NegVolPars still returns negative parameters!";
105 hasNegPars, deferred, okAxis);
107 G4String text =
"G3toG4MakeSolid still returns negative parameters!";
133 for (
G4int id=0;
id<nofDaughters;
id++) {
147 newName = newName + std::to_string(cloneNo);
157 dvteNmed, 0, hasNegPars);
169 for (
G4int ip=0; ip<nofPositions; ip++)
176 =
new G3Division(dvteClone, vteClone, *dvteDivision);
220 =
G3NegVolPars(clonePars, &cloneNpar, vteClone, mvteClone,
"GSPOS");
233 if (checkNpar != cloneNpar)
237 for (
G4int ip=0; ip<cloneNpar; ip++)
238 if (checkPars[ip] != clonePars[ip]) {
243 if (isSame) { vteSameClone = checkClone;
break; }
262 hasNegPars, deferred, okAxis);
266 if ( negpars || !(vteSameClone)) {
271 newName = newName + std::to_string(cloneNo);
305 G4String err_message1 =
"G4gsposp: '" + vname +
"' has no VolTableEntry";
310 G4String err_message2 =
"G4gsposp: '" + vmoth +
"' has no VolTableEntry";
G3G4DLL_API G3VolTable G3Vol
G4VSolid * G3toG4MakeSolid(const G4String &vname, const G4String &shape, const G4double *Rpar, const G4int npar, G4bool &NegVolPars, G4bool &Deferred, G4bool *OKAxis)
G3G4DLL_API G4int Ipar[1000]
void G3fillParams(G4String *tokens, const char *ptypes)
G3G4DLL_API G4double Rpar[1000]
G3G4DLL_API G4String Spar[1000]
G3G4DLL_API char gSeparator
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *description)
CLHEP::Hep3Vector G4ThreeVector
void G4CreateCloneVTE(G3VolTableEntry *vte, G3VolTableEntry *mvte, G4double pars[], G4int npar, G4int num, G4double x, G4double y, G4double z, G4int irot, G4String vonly)
void PG4gsposp(G4String *tokens)
void G4CloneDaughters(G3VolTableEntry *vte, G3VolTableEntry *vteClone)
G4bool G3NegVolPars(G4double pars[], G4int *nparpt, G3VolTableEntry *vte, G3VolTableEntry *mvte, const char routine[])
void G4gsposp(G4String vname, G4int num, G4String vmoth, G4double x, G4double y, G4double z, G4int irot, G4String vonly, G4double pars[], G4int npar)
void G4ProcessDaughters(G3VolTableEntry *vte)
G4GLOB_DLL std::ostream G4cerr
void AddClone(G3VolTableEntry *aDaughter)
void AddMother(G3VolTableEntry *aDaughter)
void SetDivision(G3Division *division)
void SetName(G4String name)
G3VolTableEntry * GetMasterClone()
G3Division * GetDivision()
G3VolTableEntry * GetClone(G4int i)
void AddG3Pos(G3Pos *aG3Pos)
void SetHasNegPars(G4bool hasNegPars)
void SetNRpar(G4int npar, G4double *Rpar)
void AddDaughter(G3VolTableEntry *aDaughter)
void SetSolid(G4VSolid *solid)
G3Pos * GetG3PosCopy(G4int copy=0)
G3VolTableEntry * GetDaughter(G4int i)
G3VolTableEntry * PutVTE(G3VolTableEntry *aVTE)
G3VolTableEntry * GetVTE(const G4String &Vname)