1 #ifndef ROOT_TGeant3TGeo 2 #define ROOT_TGeant3TGeo 38 virtual void LoadAddress();
53 Int_t NextVolUp(Text_t *
name, Int_t &
copy);
54 Int_t CurrentVolID(Int_t ©)
const;
55 Int_t CurrentVolOffID(Int_t off, Int_t ©)
const;
56 const char* CurrentVolName()
const;
57 const char *CurrentVolOffName(Int_t off)
const;
58 const char *CurrentVolPath();
59 Int_t VolId(
const Text_t *name)
const;
60 const char* VolName(Int_t
id)
const;
61 Int_t NofVolumes()
const;
62 Int_t NofVolDaughters(
const char* volName)
const;
63 const char* VolDaughterName(
const char* volName, Int_t
i)
const;
64 Int_t VolDaughterCopyNo(
const char* volName, Int_t i)
const;
65 Int_t VolId2Mate(Int_t
id)
const;
66 const char *GetPath();
67 const char *GetNodeName();
69 virtual void Material(Int_t& kmat,
const char* name, Double_t
a, Double_t
z,
70 Double_t dens, Double_t radl, Double_t absl,
71 Float_t* buf=0, Int_t nwbuf=0);
72 virtual void Material(Int_t& kmat,
const char* name, Double_t a, Double_t z,
73 Double_t dens, Double_t radl, Double_t absl,
74 Double_t* buf, Int_t nwbuf);
76 virtual void Mixture(Int_t& kmat,
const char* name, Float_t* a,Float_t* z,
77 Double_t dens, Int_t nlmat, Float_t* wmat);
78 virtual void Mixture(Int_t& kmat,
const char* name, Double_t* a,Double_t* z,
79 Double_t dens, Int_t nlmat, Double_t* wmat);
81 virtual void Medium(Int_t& kmed,
const char* name, Int_t nmat, Int_t isvol,
82 Int_t ifield, Double_t fieldm, Double_t tmaxfd,
83 Double_t stemax, Double_t deemax, Double_t epsil,
84 Double_t stmin, Float_t* ubuf=0, Int_t nbuf=0);
85 virtual void Medium(Int_t& kmed,
const char* name, Int_t nmat, Int_t isvol,
86 Int_t ifield, Double_t fieldm, Double_t tmaxfd,
87 Double_t stemax, Double_t deemax, Double_t epsil,
88 Double_t stmin, Double_t* ubuf, Int_t nbuf);
90 virtual void Matrix(Int_t& krot, Double_t thex, Double_t phix, Double_t they,
91 Double_t phiy, Double_t thez, Double_t phiz);
93 virtual void SetRootGeometry();
109 virtual void Ggclos();
110 virtual void Gprint(
const char *name);
113 virtual void Gsmate(Int_t imat,
const char *name, Float_t a, Float_t z,
114 Float_t dens, Float_t radl, Float_t absl);
115 virtual void Gsmixt(Int_t imat,
const char *name, Float_t *a, Float_t *z,
116 Float_t dens, Int_t nlmat, Float_t *wmat);
117 virtual void Gstmed(Int_t numed,
const char *name, Int_t nmat, Int_t isvol,
118 Int_t ifield, Float_t fieldm, Float_t tmaxfd,
119 Float_t stemax, Float_t deemax, Float_t epsil,
123 virtual void Gtreve();
124 virtual void GtreveRoot();
127 virtual void Gdtom(Float_t *xd, Float_t *xm, Int_t iflag);
128 virtual void Gdtom(Double_t *xd, Double_t *xm, Int_t iflag);
129 virtual void Gmedia(Float_t *
x, Int_t &numed);
130 virtual void Gmtod(Float_t *xm, Float_t *xd, Int_t iflag);
131 virtual void Gmtod(Double_t *xm, Double_t *xd, Int_t iflag);
132 virtual void Gsdvn(
const char *name,
const char *mother, Int_t ndiv, Int_t iaxis);
133 virtual void Gsdvn2(
const char *name,
const char *mother, Int_t ndiv, Int_t iaxis, Double_t c0i, Int_t numed);
134 virtual void Gsdvs(
const char *name,
const char *mother, Float_t
step, Int_t iaxis, Int_t numed);
135 virtual void Gsdvs2(
const char *name,
const char *mother, Float_t step, Int_t iaxis, Float_t c0, Int_t numed);
136 virtual void Gsdvt(
const char *name,
const char *mother, Double_t step, Int_t iaxis, Int_t numed, Int_t ndvmx);
137 virtual void Gsdvt2(
const char *name,
const char *mother, Double_t step, Int_t iaxis,
138 Double_t c0, Int_t numed, Int_t ndvmx);
139 virtual void Gsord(
const char *name, Int_t iax);
140 virtual void Gspos(
const char *name, Int_t nr,
const char *mother,
141 Double_t x, Double_t
y, Double_t z, Int_t irot,
const char *konly=
"ONLY");
142 virtual void Gsposp(
const char *name, Int_t nr,
const char *mother,
143 Double_t x, Double_t y, Double_t z, Int_t irot,
const char *konly, Float_t *upar, Int_t np);
144 virtual void Gsposp(
const char *name, Int_t nr,
const char *mother,
145 Double_t x, Double_t y, Double_t z, Int_t irot,
const char *konly, Double_t *upar, Int_t np);
146 virtual void Gsrotm(Int_t nmat, Float_t theta1, Float_t phi1, Float_t theta2, Float_t phi2,
147 Float_t theta3, Float_t phi3);
148 virtual void Gprotm(Int_t nmat=0);
149 virtual Int_t Gsvolu(
const char *name,
const char *shape, Int_t nmed,
150 Float_t *upar, Int_t np);
151 virtual Int_t Gsvolu(
const char *name,
const char *shape, Int_t nmed,
152 Double_t *upar, Int_t np);
153 virtual void Gsatt(
const char *name,
const char *att, Int_t
val);
154 virtual Int_t Glvolu(Int_t nlev, Int_t *lnam,Int_t *lnum);
160 virtual Bool_t GetTransformation(
const TString& volumePath,
161 TGeoHMatrix& matrix);
165 virtual Bool_t GetShape(
const TString& volumePath,
166 TString& shapeType, TArrayD& par);
170 virtual Bool_t GetMaterial(
const TString& volumeName,
171 TString& name, Int_t& imat,
172 Double_t& a, Double_t& z, Double_t& density,
173 Double_t& radl, Double_t& inter, TArrayD& par);
177 virtual Bool_t GetMedium(
const TString& volumeName,
178 TString& name, Int_t& imed,
179 Int_t& nmat, Int_t& isvol, Int_t& ifield,
180 Double_t& fieldm, Double_t& tmaxfd, Double_t& stemax,
181 Double_t& deemax, Double_t& epsil, Double_t& stmin,
185 virtual Int_t GetMedium()
const;
189 virtual void Gdshow(Int_t view);
190 virtual void Gdopt(
const char *name,
const char *
value);
191 virtual void Gdraw(
const char *name,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);
192 virtual void Gdrawc(
const char *name,Int_t axis=1, Float_t cut=0,Float_t u0=10,Float_t v0=10,Float_t ul=0.01,Float_t vl=0.01);
193 virtual void Gdrawx(
const char *name,Float_t cutthe, Float_t cutphi, Float_t cutval,
194 Float_t theta=30, Float_t phi=30,Float_t u0=10,Float_t v0=10,Float_t ul=0.01,Float_t vl=0.01);
195 virtual void Gdspec(
const char *name);
196 virtual void DrawOneSpec(
const char *name);
197 virtual void Gdtree(
const char *name,Int_t levmax=15,Int_t ispec=0);
198 virtual void GdtreeParent(
const char *name,Int_t levmax=15,Int_t ispec=0);
202 virtual void FinishGeometry();
205 virtual void SetColors();
218 Int_t ImportMaterial(
const TGeoMaterial* material);
223 #endif //ROOT_TGeant3TGeo
Bool_t fImportRootGeometry
TGeant3TGeo & operator=(const TGeant3TGeo &)
virtual Gcvol1_t * Gcvol1() const
const GenericPointer< typename T::ValueType > T2 T::AllocatorType & a
const GenericPointer< typename T::ValueType > T2 value
virtual Bool_t IsRootGeometrySupported() const
TGeant3TGeo(const TGeant3TGeo &)
GCVOLU common structure.