Geant4  10.03.p03
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
G3Division.cc File Reference
#include <assert.h>
#include "G3Division.hh"
#include "G3VolTableEntry.hh"
#include "G3toG4MakeSolid.hh"
#include "G4Para.hh"
#include "G3Pos.hh"
#include "G4SystemOfUnits.hh"
#include "G4LogicalVolume.hh"
#include "G4VPhysicalVolume.hh"
#include "G4PVPlacement.hh"
#include "G4PVReplica.hh"
#include "G4ReflectionFactory.hh"
Include dependency graph for G3Division.cc:

Go to the source code of this file.

Functions

G3VolTableEntryG4CreateVTE (G4String vname, G4String shape, G4int nmed, G4double Rpar[], G4int npar)
 

Function Documentation

G3VolTableEntry* G4CreateVTE ( G4String  vname,
G4String  shape,
G4int  nmed,
G4double  Rpar[],
G4int  npar 
)

Definition at line 51 of file G4gsvolu.cc.

53 {
54  // create the solid
55  G4bool hasNegPars;
56  G4bool deferred;
57  G4bool okAxis[3];
58  G4VSolid* solid
59  = G3toG4MakeSolid(vname, shape, rpar, npar, hasNegPars, deferred, okAxis);
60 
61  // if solid has been deferred
62  // VTE is created with hasNegPars = true
63  if (deferred) hasNegPars = true;
64 
65  // create VTE
66  G3VolTableEntry* vte
67  = new G3VolTableEntry(vname, shape, rpar, npar, nmed, solid, hasNegPars);
68  G3Vol.PutVTE(vte);
69 
70  return vte;
71 }
bool G4bool
Definition: G4Types.hh:79
G4VSolid * G3toG4MakeSolid(const G4String &vname, const G4String &shape, const G4double *Rpar, const G4int npar, G4bool &NegVolPars, G4bool &Deferred, G4bool *OKAxis)
G3VolTableEntry * PutVTE(G3VolTableEntry *aVTE)
Definition: G3VolTable.cc:76
G3G4DLL_API G3VolTable G3Vol
Definition: clparse.cc:54

Here is the call graph for this function:

Here is the caller graph for this function: