13 #ifndef ROOT_TGeoMCGeometry
14 #define ROOT_TGeoMCGeometry
34 Bool_t g3CompatibleVolumeNames =
false);
66 virtual void Gsdvn(
const char *name,
const char *mother,
Int_t ndiv,
68 virtual void Gsdvn2(
const char *name,
const char *mother,
Int_t ndiv,
70 virtual void Gsdvt(
const char *name,
const char *mother,
Double_t step,
72 virtual void Gsdvt2(
const char *name,
const char *mother,
Double_t step,
74 virtual void Gsord(
const char *name,
Int_t iax);
75 virtual void Gspos(
const char *name,
Int_t nr,
const char *mother,
78 virtual void Gsposp(
const char *name,
Int_t nr,
const char *mother,
81 virtual void Gsposp(
const char *name,
Int_t nr,
const char *mother,
84 virtual void Gsbool(
const char* ,
const char* ) {}
125 virtual Int_t VolId(
const char* volName)
const;
141 void Vname(
const char *name,
char *vname)
const;
virtual void Gsdvn2(const char *name, const char *mother, Int_t ndiv, Int_t iaxis, Double_t c0i, Int_t numed)
Create a new volume by dividing an existing one.
virtual ~TGeoMCGeometry()
Destructor.
virtual Int_t MediumId(const char *mediumName) const
Return the unique numeric identifier for medium name.
virtual void Gsdvt2(const char *name, const char *mother, Double_t step, Int_t iaxis, Double_t c0, Int_t numed, Int_t ndvmx)
Create a new volume by dividing an existing one.
virtual Bool_t GetShape(const TString &volumePath, TString &shapeType, TArrayD &par)
Returns the shape and its parameters for the volume specified by volumeName.
void Vname(const char *name, char *vname) const
convert name to upper case.
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)
kmed tracking medium number assigned name tracking medium name nmat material number isvol sensitive v...
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)
Position a volume into an existing one.
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)
Returns the Medium and its parameters for the volume specified by volumeName.
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)
Returns the Material and its parameters for the volume specified by volumeName.
virtual Int_t NofVolDaughters(const char *volName) const
Return number of daughters of the volume specified by volName According to A.
virtual void Gsbool(const char *, const char *)
virtual void Gsdvn(const char *name, const char *mother, Int_t ndiv, Int_t iaxis)
Create a new volume by dividing an existing one.
virtual Int_t NofVolumes() const
Return total number of volumes in the geometry.
#define ClassDef(name, id)
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)
Defines a Material.
virtual Int_t VolId2Mate(Int_t id) const
Return material number for a given volume id.
virtual const char * VolName(Int_t id) const
Return the volume name given the volume identifier.
virtual Int_t VolDaughterCopyNo(const char *volName, Int_t i) const
Return the copyNo of i-th daughters of the volume specified by volName According to A...
virtual Int_t Gsvolu(const char *name, const char *shape, Int_t nmed, Float_t *upar, Int_t np)
NAME Volume name SHAPE Volume type NUMED Tracking medium number NPAR Number of shape parameters UPAR ...
TGeoManager * GetTGeoManager() const
Return TGeoManager global pointer.
virtual void Gsord(const char *name, Int_t iax)
Flags volume CHNAME whose contents will have to be ordered along axis IAX, by setting the search flag...
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)
Place a copy of generic volume NAME with user number NR inside MOTHER, with its parameters UPAR(1...
virtual void Gsdvt(const char *name, const char *mother, Double_t step, Int_t iaxis, Int_t numed, Int_t ndvmx)
Create a new volume by dividing an existing one.
virtual Bool_t GetTransformation(const TString &volumePath, TGeoHMatrix &matrix)
Returns the Transformation matrix between the volume specified by the path volumePath and the Top or ...
Double_t * CreateDoubleArray(Float_t *array, Int_t size) const
Converts Float_t* array to Double_t*, !! The new array has to be deleted by user. ...
static TGeoMCGeometry * fgInstance
Array of doubles (64 bits per element).
TGeoMCGeometry()
Default constructor.
virtual void Mixture(Int_t &kmat, const char *name, Float_t *a, Float_t *z, Double_t dens, Int_t nlmat, Float_t *wmat)
Defines mixture OR COMPOUND IMAT as composed by THE BASIC NLMAT materials defined by arrays A...
TGeoMCGeometry & operator=(const TGeoMCGeometry &)
virtual const char * VolDaughterName(const char *volName, Int_t i) const
Return the name of i-th daughters of the volume specified by volName According to A...
Bool_t fG3CompatibleVolumeNames
virtual void Matrix(Int_t &krot, Double_t thetaX, Double_t phiX, Double_t thetaY, Double_t phiY, Double_t thetaZ, Double_t phiZ)
krot rotation matrix number assigned theta1 polar angle for axis i phi1 azimuthal angle for axis i th...
virtual Int_t VolId(const char *volName) const
Return the unique numeric identifier for volume name.