Geant4 VMC Version 6.6
|
Geant4 implementation of the TVirtualMCGeometry interface. More...
#include <TG4MCGeometry.h>
Public Member Functions | |
TG4MCGeometry () | |
virtual | ~TG4MCGeometry () |
virtual void | Material (Int_t &kmat, const char *name, Double_t a, Double_t z, Double_t dens, Double_t radl, Double_t absl, Float_t *buf, Int_t nwbuf) |
virtual void | Material (Int_t &kmat, const char *name, Double_t a, Double_t z, Double_t dens, Double_t radl, Double_t absl, Double_t *buf, Int_t nwbuf) |
virtual void | Mixture (Int_t &kmat, const char *name, Float_t *a, Float_t *z, Double_t dens, Int_t nlmat, Float_t *wmat) |
virtual void | Mixture (Int_t &kmat, const char *name, Double_t *a, Double_t *z, Double_t dens, Int_t nlmat, Double_t *wmat) |
virtual void | Medium (Int_t &kmed, const char *name, Int_t nmat, Int_t isvol, Int_t ifield, Double_t fieldm, Double_t tmaxfd, Double_t stemax, Double_t deemax, Double_t epsil, Double_t stmin, Float_t *ubuf, Int_t nbuf) |
virtual void | Medium (Int_t &kmed, const char *name, Int_t nmat, Int_t isvol, Int_t ifield, Double_t fieldm, Double_t tmaxfd, Double_t stemax, Double_t deemax, Double_t epsil, Double_t stmin, Double_t *ubuf, Int_t nbuf) |
virtual void | Matrix (Int_t &krot, Double_t thetaX, Double_t phiX, Double_t thetaY, Double_t phiY, Double_t thetaZ, Double_t phiZ) |
virtual void | Ggclos () |
virtual Int_t | Gsvolu (const char *name, const char *shape, Int_t nmed, Double_t *upar, Int_t np) |
virtual Int_t | Gsvolu (const char *name, const char *shape, Int_t nmed, Float_t *upar, Int_t np) |
virtual void | Gsdvn (const char *name, const char *mother, Int_t ndiv, Int_t iaxis) |
virtual void | Gsdvn2 (const char *name, const char *mother, Int_t ndiv, Int_t iaxis, Double_t c0i, Int_t numed) |
virtual void | Gsdvt (const char *name, const char *mother, Double_t step, Int_t iaxis, Int_t numed, Int_t ndvmx) |
virtual void | Gsdvt2 (const char *name, const char *mother, Double_t step, Int_t iaxis, Double_t c0, Int_t numed, Int_t ndvmx) |
virtual void | Gsord (const char *name, Int_t iax) |
virtual void | Gspos (const char *name, Int_t nr, const char *mother, Double_t x, Double_t y, Double_t z, Int_t irot, const char *konly) |
virtual void | Gsposp (const char *name, Int_t nr, const char *mother, Double_t x, Double_t y, Double_t z, Int_t irot, const char *konly, Double_t *upar, Int_t np) |
virtual void | Gsposp (const char *name, Int_t nr, const char *mother, Double_t x, Double_t y, Double_t z, Int_t irot, const char *konly, Float_t *upar, Int_t np) |
virtual void | Gsbool (const char *onlyVolName, const char *manyVolName) |
virtual Bool_t | GetTransformation (const TString &volumePath, TGeoHMatrix &matrix) |
virtual Bool_t | GetShape (const TString &volumePath, TString &shapeType, TArrayD &par) |
virtual Bool_t | GetMaterial (const TString &volumeName, TString &name, Int_t &imat, Double_t &a, Double_t &z, Double_t &density, Double_t &radl, Double_t &inter, TArrayD &par) |
virtual Bool_t | GetMedium (const TString &volumeName, TString &name, Int_t &imed, Int_t &nmat, Int_t &isvol, Int_t &ifield, Double_t &fieldm, Double_t &tmaxfd, Double_t &stemax, Double_t &deemax, Double_t &epsil, Double_t &stmin, TArrayD &par) |
virtual Int_t | MediumId (const Text_t *mediumName) const |
virtual Int_t | VolId (const Text_t *volName) const |
virtual const char * | VolName (Int_t id) const |
virtual Int_t | NofVolumes () const |
virtual Int_t | NofVolDaughters (const char *volName) const |
virtual const char * | VolDaughterName (const char *volName, Int_t i) const |
virtual Int_t | VolDaughterCopyNo (const char *volName, Int_t i) const |
virtual Int_t | VolId2Mate (Int_t id) const |
Public Member Functions inherited from TG4Verbose | |
TG4Verbose (const G4String &cmdName) | |
TG4Verbose (const G4String &cmdName, G4int verboseLevel) | |
virtual | ~TG4Verbose () |
virtual void | VerboseLevel (G4int level) |
virtual G4int | VerboseLevel () const |
Private Member Functions | |
TG4MCGeometry (const TG4MCGeometry &right) | |
Not implemented. | |
TG4MCGeometry & | operator= (const TG4MCGeometry &right) |
Not implemented. | |
Private Attributes | |
TG4GeometryServices * | fGeometryServices |
geometry services | |
TG4StringVector | fMaterialNameVector |
vector of material names sorted in the order of materials in G3Mat | |
Geant4 implementation of the TVirtualMCGeometry interface.
This interfaces defines methods for building geometry a la geant3 and is implemented with use og G3toG4
Definition at line 48 of file TG4MCGeometry.h.
TG4MCGeometry::TG4MCGeometry | ( | ) |
Default constructor
Definition at line 66 of file TG4MCGeometry.cxx.
|
virtual |
Destructor
Definition at line 79 of file TG4MCGeometry.cxx.
|
private |
Not implemented.
|
virtual |
Create material.
!! Parameters radl, absl, buf, nwbuf are ignored in G4gsmate.
Definition at line 89 of file TG4MCGeometry.cxx.
Referenced by Material().
|
virtual |
Create material.
Not available without USE_G3TOG4 option.
Definition at line 137 of file TG4MCGeometry.cxx.
|
virtual |
Create material composed of more elements.
!! Parameters radl, absl, buf, nwbuf are ignored in G4gsmate
Definition at line 148 of file TG4MCGeometry.cxx.
Referenced by Mixture().
|
virtual |
Create material composed of more elements.
Not available without USE_G3TOG4 option.
Definition at line 204 of file TG4MCGeometry.cxx.
|
virtual |
Create a temporary "medium" that is used for assigning corresponding parameters to G4 objects:
Definition at line 216 of file TG4MCGeometry.cxx.
Referenced by Medium().
|
virtual |
Create a temporary "medium". Not available without USE_G3TOG4 option.
Definition at line 310 of file TG4MCGeometry.cxx.
|
virtual |
Create rotation matrix. Not available without USE_G3TOG4 option.
Definition at line 333 of file TG4MCGeometry.cxx.
|
virtual |
Set the top VTE in temporary G3 volume table. Close geometry output file (if fWriteGeometry is set true).
Geant3 desription:
==================
close out the geometry
Definition at line 345 of file TG4MCGeometry.cxx.
|
virtual |
It creates a new volume in the JVOLUM data structure. Not available without USE_G3TOG4 option.
Definition at line 384 of file TG4MCGeometry.cxx.
Referenced by Gsvolu().
|
virtual |
Single precision interface.
Definition at line 396 of file TG4MCGeometry.cxx.
|
virtual |
It divides a previously defined volume. Not available without USE_G3TOG4 option.
Definition at line 432 of file TG4MCGeometry.cxx.
|
virtual |
Geant3 desription:
==================
Divides mother into ndiv divisions called name along axis iaxis starting at coordinate value c0. Not available without USE_G3TOG4 option.
Definition at line 459 of file TG4MCGeometry.cxx.
|
virtual |
Divides MOTHER into divisions called NAME along axis IAXIS in steps of STEP. Not available without USE_G3TOG4 option.
Definition at line 492 of file TG4MCGeometry.cxx.
|
virtual |
Divides MOTHER into divisions called NAME along axis IAXIS starting at coordinate value C0 with step size STEP.
Not available without USE_G3TOG4 option.
Definition at line 525 of file TG4MCGeometry.cxx.
|
virtual |
No corresponding action in G4.
Geant3 desription:
==================
Flags volume CHNAME whose contents will have to be ordered along axis IAX, by setting the search flag to -IAX
Definition at line 538 of file TG4MCGeometry.cxx.
|
virtual |
Position a volume into an existing one Not available without USE_G3TOG4 option.
Definition at line 585 of file TG4MCGeometry.cxx.
|
virtual |
Place a copy of generic volume NAME with user number NR inside MOTHER, with its parameters UPAR(1..NP) Not available without USE_G3TOG4 option.
Definition at line 613 of file TG4MCGeometry.cxx.
Referenced by Gsposp().
|
virtual |
Single precision interface.
Definition at line 626 of file TG4MCGeometry.cxx.
|
virtual |
Help for resolving MANY. Not available without USE_G3TOG4 option.
Definition at line 651 of file TG4MCGeometry.cxx.
|
virtual |
Return the transformation matrix between the volume specified by the path volumePath and the first volume in the path.
Definition at line 663 of file TG4MCGeometry.cxx.
|
virtual |
Return the name of the shape and its parameters for the volume specified by the volume name.
Definition at line 721 of file TG4MCGeometry.cxx.
|
virtual |
Return the material parameters for the volume specified by the volume name.
Definition at line 1011 of file TG4MCGeometry.cxx.
|
virtual |
Return the medium parameters for the volume specified by the volume name.
Definition at line 1046 of file TG4MCGeometry.cxx.
|
virtual |
Return the medium id for medium with given name
Definition at line 1088 of file TG4MCGeometry.cxx.
|
virtual |
Not implemented here - not used for geometry building
Definition at line 1109 of file TG4MCGeometry.cxx.
|
virtual |
Not implemented here - not used for geometry building
Definition at line 1118 of file TG4MCGeometry.cxx.
|
virtual |
Not implemented here - not used for geometry building
Definition at line 1127 of file TG4MCGeometry.cxx.
|
virtual |
Not implemented here - not used for geometry building
Definition at line 1136 of file TG4MCGeometry.cxx.
|
virtual |
Not implemented here - not used for geometry building
Definition at line 1145 of file TG4MCGeometry.cxx.
|
virtual |
Not implemented here - not used for geometry building
Definition at line 1155 of file TG4MCGeometry.cxx.
|
virtual |
Not implemented here - not used for geometry building
Definition at line 1166 of file TG4MCGeometry.cxx.
|
private |
Not implemented.
|
private |
geometry services
Definition at line 141 of file TG4MCGeometry.h.
Referenced by GetMaterial(), GetMedium(), GetShape(), GetTransformation(), Gsposp(), Gsvolu(), Material(), Medium(), Mixture(), and TG4MCGeometry().
|
private |
vector of material names sorted in the order of materials in G3Mat
Definition at line 144 of file TG4MCGeometry.h.