[ROOT] TGeoManager->MakeBox()

From: GENTIT Francois-Xavier DAPNIA (GENTIT@dapnia.cea.fr)
Date: Fri Feb 14 2003 - 10:46:12 MET


 Dear authors of the new geometry package,
 I see that going from ROOT 3.04/02 to ROOT 3.05.02, a non compatible change
has been done in the method TGeoManager::MakeBox(). The arguments are no
more the same. I see that in the new version of the package, it seems that
each time one defines a TGeoMaterial, one has to define a TGeoMedium.  These
2 classes being totally undocumented, it is difficult to understand the
reason why TGeoMaterial needs its twin brother TGeoMedium and the difference
between the two ?

 Looking at the example provided in the class description of TGeoManager, I
also find that there are certainly 2 lines which are wrong

TGeoMedium *Vacuum = new TGeoMedium(1, matVacuum); 
TGeoMedium *Al = newTGeoMedium (2, matAl); 
 there is no constructor for TGeoMedium beginning with an integer. It must
begin with a name.
I am very interested by the new geometry package and I want to check whether
to use it in a new version of my program Litrani
(http://gentit.home.cern.ch/gentit/). It would be very useful to me to see
more documentations within the classes, and also to have more examples of
use, specially an example showing how to transport particles within the
setup. I know that it is in development and that I must be patient.
Thanks a lot for your help.


François-Xavier Gentit
DAPNIA/SPP CEA Saclay
http://gentit.home.cern.ch/gentit/



This archive was generated by hypermail 2b29 : Thu Jan 01 2004 - 17:50:09 MET