Dear rooters, The attached macro, anifibr1.C, crashes ROOT. This macro is an exercise in ROOT geometry. A TTUBE is put on top of a TTRD2 with a varying angle. The junction between the TTUBE and the TTRD2 is done by mean of a TTRAP which adapts itsself to the varying angle of the TTUBE. The angle varies from run 96 to run 105, but the macro crashes at run 103 (after having worked perfectly for the preceeding runs). It crashes at line : matrixfib = new TRotMatrix("Matrixfib","Matrixfib",90.0,0.0,deltaD+90.0,90.0,deltaD,90.0); I do not know what may be wrong in this macro, so I suspect a bug from ROOT. I am also astonished by the fact that during the first run, all the "delete" at the end of the loop [delete node5, delete matrixfib, etc ] result in a pointer being 0, but NOT for the following runs ??? I have put outputs in the macro to illustrate this. I do not understand this behaviour. I am using ROOT 2.22/10 on Windows NT. Thanks in advance for your help. F.X. Gentit DAPNIA/SPP CEN Saclay tel : 01 69 08 30 38 fax : 01 69 08 64 28 web : http://home.cern.ch/~gentit/ <<anifibr1.C>>
This archive was generated by hypermail 2b29 : Tue Jan 04 2000 - 00:43:40 MET