> h_x pointer should be initialized by ".L". If it wasn't something is > already broken before ".L". The problem does not reproduce on my machine. > The pointer is correctly initialized by ".L". I just tried the following. I created a small file test.cxx : --------------------------------- TH1F *h_tpat= new TH1F("tpat","tpat",100,0.,130.); --------------------------------- then I started root : [holeczek@p2a02 s132]$ root ... * Version 2.21/08 29 March 1999 * ... CINT/ROOT C/C++ Interpreter version 5.13.92, Mar 13 1999 ... root [0] .L t1.cxx root [1] .g 0x805b968 FILE* stdout=0x40927bc0 ... 0x400c6600 TBenchmark* gBenchmark=0x84d20a8 0x853bdf0 TH1F* h_tpat=0x0 --------------------------------- I wasn't initialized ! Jacek.
This archive was generated by hypermail 2b29 : Tue Jan 04 2000 - 00:43:33 MET