- 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 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 Gsbool(const char* onlyVolName, const char* manyVolName);
-
- virtual void SetCerenkov(Int_t itmed, Int_t npckov, Float_t *ppckov,
- Float_t *absco, Float_t *effic, Float_t *rindex);
- virtual void SetCerenkov(Int_t itmed, Int_t npckov, Double_t *ppckov,
- Double_t *absco, Double_t *effic, Double_t *rindex);
-
-
- // functions for drawing
- virtual void DrawOneSpec(const char* name)
- {printf("WARNING: DrawOneSpec not yet implemented !\n");}
- virtual void Gsatt(const char* name, const char* att, Int_t val)
- {printf("WARNING: Gsatt not yet implemented !\n");}
- virtual void Gdraw(const char*,Double_t theta = 30, Double_t phi = 30,
- Double_t psi = 0, Double_t u0 = 10, Double_t v0 = 10,
- Double_t ul = 0.01, Double_t vl = 0.01)
- {printf("WARNING: Gdraw not yet implemented !\n");}
+ 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 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 Gsbool(const char* onlyVolName, const char* manyVolName);
+
+ // functions for access to geometry
+ //
+ // Return the Transformation matrix between the volume specified by
+ // the path volumePath and the top or master volume.
+ virtual Bool_t GetTransformation(const TString& volumePath,
+ TGeoHMatrix& matrix);
+
+ // Return the name of the shape and its parameters for the volume
+ // specified by the volume name.
+ virtual Bool_t GetShape(const TString& volumePath,
+ TString& shapeType, TArrayD& par);
+
+ // Returns the material parameters for the volume specified by
+ // the volume name.
+ 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 medium parameters for the volume specified by the
+ // volume name.
+ 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 void SetCerenkov(Int_t itmed, Int_t npckov, Float_t *ppckov,
+ Float_t *absco, Float_t *effic, Float_t *rindex);
+ virtual void SetCerenkov(Int_t itmed, Int_t npckov, Double_t *ppckov,
+ Double_t *absco, Double_t *effic, Double_t *rindex);
+ virtual void SetCerenkov(Int_t itmed, Int_t npckov, Float_t *ppckov,
+ Float_t *absco, Float_t *effic, Float_t *rindex, Float_t *rfl);
+ virtual void SetCerenkov(Int_t itmed, Int_t npckov, Double_t *ppckov,
+ Double_t *absco, Double_t *effic, Double_t *rindex, Double_t *rfl);
+
+//
+ virtual void DefineOpSurface(const char* name, EMCOpSurfaceModel model, EMCOpSurfaceType surface,
+ EMCOpSurfaceFinish surfaceFinish, Double_t sigmaAlpha);
+
+ virtual void SetBorderSurface(const char* name, const char* vol1Name, int vol1CopyNo, const char* vol2Name, int vol2CopyNo,
+ const char* opSurfaceName);
+
+
+ virtual void SetSkinSurface(const char* name, const char* volName, const char* opSurfaceName);
+
+ virtual void SetMaterialProperty(Int_t itmed, const char* propertyName, Int_t np, Double_t* pp, Double_t* values);
+
+ virtual void SetMaterialProperty(Int_t itmed, const char* propertyName, Double_t value);
+
+ virtual void SetMaterialProperty(const char* surfaceName, const char* propertyName, Int_t np, Double_t* pp, Double_t* values);
+
+ // Functions for drawing
+ virtual void DrawOneSpec(const char* /*name*/)
+ {Warning("DrawOneSpec", "Not yet implemented !\n");}
+ virtual void Gsatt(const char* name, const char* att, Int_t val);
+ virtual void Gdraw(const char*,Double_t /*theta = 30*/, Double_t /*phi = 30*/,
+ Double_t /*psi = 0*/, Double_t /*u0 = 10*/, Double_t /*v0 = 10*/,
+ Double_t /*ul = 0.01*/, Double_t /*vl = 0.01*/)
+ {Warning("Gdraw", "Not yet implemented !\n");}