+//______________________________________________________________________
+Bool_t TFluka::GetTransformation(const TString &volumePath,TGeoHMatrix &mat)
+{
+ // Returns the Transformation matrix between the volume specified
+ // by the path volumePath and the Top or mater volume. The format
+ // of the path volumePath is as follows (assuming ALIC is the Top volume)
+ // "/ALIC_1/DDIP_1/S05I_2/S05H_1/S05G_3". Here ALIC is the top most
+ // or master volume which has only 1 instance of. Of all of the daughter
+ // volumes of ALICE, DDIP volume copy #1 is indicated. Similarly for
+ // the daughter volume of DDIP is S05I copy #2 and so on.
+ // Inputs:
+ // TString& volumePath The volume path to the specific volume
+ // for which you want the matrix. Volume name
+ // hierarchy is separated by "/" while the
+ // copy number is appended using a "_".
+ // Outputs:
+ // TGeoHMatrix &mat A matrix with its values set to those
+ // appropriate to the Local to Master transformation
+ // Return:
+ // A logical value if kFALSE then an error occurred and no change to
+ // mat was made.
+
+ // We have to preserve the modeler state
+ return fMCGeo->GetTransformation(volumePath, mat);
+}
+
+//______________________________________________________________________
+Bool_t TFluka::GetShape(const TString &volumePath,TString &shapeType,
+ TArrayD &par)
+{
+ // Returns the shape and its parameters for the volume specified
+ // by volumeName.
+ // Inputs:
+ // TString& volumeName The volume name
+ // Outputs:
+ // TString &shapeType Shape type
+ // TArrayD &par A TArrayD of parameters with all of the
+ // parameters of the specified shape.
+ // Return:
+ // A logical indicating whether there was an error in getting this
+ // information
+ return fMCGeo->GetShape(volumePath, shapeType, par);
+}
+
+//______________________________________________________________________
+Bool_t TFluka::GetMaterial(const TString &volumeName,
+ TString &name,Int_t &imat,
+ Double_t &a,Double_t &z,Double_t &dens,
+ Double_t &radl,Double_t &inter,TArrayD &par)
+{
+ // Returns the Material and its parameters for the volume specified
+ // by volumeName.
+ // Note, Geant3 stores and uses mixtures as an element with an effective
+ // Z and A. Consequently, if the parameter Z is not integer, then
+ // this material represents some sort of mixture.
+ // Inputs:
+ // TString& volumeName The volume name
+ // Outputs:
+ // TSrting &name Material name
+ // Int_t &imat Material index number
+ // Double_t &a Average Atomic mass of material
+ // Double_t &z Average Atomic number of material
+ // Double_t &dens Density of material [g/cm^3]
+ // Double_t &radl Average radiation length of material [cm]
+ // Double_t &inter Average interaction length of material [cm]
+ // TArrayD &par A TArrayD of user defined parameters.
+ // Return:
+ // kTRUE if no errors
+ return fMCGeo->GetMaterial(volumeName,name,imat,a,z,dens,radl,inter,par);
+}
+
+//______________________________________________________________________
+Bool_t TFluka::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.
+ // Inputs:
+ // TString& volumeName The volume name.
+ // Outputs:
+ // TString &name Medium name
+ // Int_t &nmat Material number defined for this medium
+ // Int_t &imed The medium index number
+ // Int_t &isvol volume number defined for this medium
+ // Int_t &iflield Magnetic field flag
+ // Double_t &fieldm Magnetic field strength
+ // Double_t &tmaxfd Maximum angle of deflection per step
+ // Double_t &stemax Maximum step size
+ // Double_t &deemax Maximum fraction of energy allowed to be lost
+ // to continuous process.
+ // Double_t &epsil Boundary crossing precision
+ // Double_t &stmin Minimum step size allowed
+ // TArrayD &par A TArrayD of user parameters with all of the
+ // parameters of the specified medium.
+ // Return:
+ // kTRUE if there where no errors
+ return fMCGeo->GetMedium(volumeName,name,imed,nmat,isvol,ifield,fieldm,tmaxfd,stemax,deemax,epsil,stmin,par);
+}
+