shire01~/ecdisk/analysis-12/root>root Warning in : couldn't retrieve color LightYellow ******************************************* * * * W E L C O M E to R O O T * * * * Version 3.02/07 8 May 2002 * * * * You are welcome to visit our Web site * * http://root.cern.ch * * * ******************************************* Compiled for solarisCC5. CINT/ROOT C/C++ Interpreter version 5.15.25, Jan 6 2002 Type ? for help. Commands must be C++ statements. Enclose multiple statements between { }. Welcome to the ROOT tutorials Type ".x demos.C" to get a toolbar from which to execute the demos Type ".x demoshelp.C" to see the help window root [0] gROOT.Time() Real time 0:0:5, CP time 0.000 root [1] .x art.C count: 1 count: 1001 count: 2001 count: 3001 count: 4001 count: 5001 count: 6001 count: 7001 count: 8001 count: 9001 count: 10001 count: 11001 count: 12001 count: 13001 count: 14001 count: 15001 count: 16001 total: 16434 (class TNtuple*)0x6b31e0 Real time 0:0:2, CP time 2.050 root [2] root [2] .x art.C+ Warning in : script has already been loaded in interpreted mode Warning in : unloading /a/sulky03/g.ec.u01/users/snyder/analysis-12/root/./art.C and compiling it Info in : creating shared library /a/sulky03/g.ec.u01/users/snyder/analysis-12/root/./art_C.so "/a/sulky03/g.ec.u01/users/snyder/analysis-12/root/./art.C", line 8: Error: ifstream is not defined. "/a/sulky03/g.ec.u01/users/snyder/analysis-12/root/./art.C", line 8: Error: Cannot use const char* to initialize int. "/a/sulky03/g.ec.u01/users/snyder/analysis-12/root/./art.C", line 10: Error: String/char constants may not include line separator. "/a/sulky03/g.ec.u01/users/snyder/analysis-12/root/./art.C", line 10: Error: data is not defined. "/a/sulky03/g.ec.u01/users/snyder/analysis-12/root/./art.C", line 10: Error: evtno is not defined. "/a/sulky03/g.ec.u01/users/snyder/analysis-12/root/./art.C", line 10: Error: Unexpected ":" found. "/a/sulky03/g.ec.u01/users/snyder/analysis-12/root/./art.C", line 15: Error: String/char constants may not include line separator. "/a/sulky03/g.ec.u01/users/snyder/analysis-12/root/./art.C", line 22: Error: array is not defined. "/a/sulky03/g.ec.u01/users/snyder/analysis-12/root/./art.C", line 24: Error: array is not defined. 9 Error(s) detected. ld: fatal: file /a/sulky03/g.ec.u01/users/snyder/analysis-12/root/./caaQKaO2P.o: cannot open file: No such file or directory ld: fatal: File processing errors. No output written to /a/sulky03/g.ec.u01/user9 Error(s) detected. ld: fatal: file /a/sulky03/g.ec.u01/users/snyder/analysis-12/root/./caaQKaO2P.o: cannot open file: No such file or directory ld: fatal: File processing errors. No output written to /a/sulky03/g.ec.u01/users/snyder/analysis-12/root/./art_C.so Error: Function art() is not defined in current scope FILE: LINE:0 Possible candidates are... filename line:size busy function type and name *** Interpreter error recovered *** Real time 0:0:5, CP time 0.040 root [3] --well I don't get too far with .x art.C+ .. it fails to compile apparently ... --second try does the same thing .. --now I'll try old version .. shire01~/ecdisk/analysis-12/root>bbrroot Warning in : couldn't retrieve color LightYellow ******************************************* * * * W E L C O M E to R O O T * * * * Version 2.23/12 21 February 2000 * * * * You are welcome to visit our Web site * * http://root.cern.ch * * * ******************************************* FreeType Engine v1.1 used to render TrueType fonts. CINT/ROOT C/C++ Interpreter version 5.14.25, Nov 25 1999 Type ? for help. Commands must be C++ statements. Enclose multiple statements between { }. Welcome to the ROOT tutorials Type ".x demos.C" to get a toolbar from which to execute the demos Type ".x demoshelp.C" to see the help window root [0] root [0] gROOT.Time() Real time 0:0:3, CP time 0.010 root [1] .x art.C count: 1 count: 1001 count: 2001 count: 3001 count: 4001 count: 5001 count: 6001 count: 7001 count: 8001 count: 9001 count: 10001 count: 11001 count: 12001 count: 13001 count: 14001 count: 15001 count: 16001 total: 16434 (class TNtuple*)0x61f200 Real time 0:0:2, CP time 1.960 root [2] --not that different .. no factor of 2 when timed this way .. root [3] .x art.C+ Creating shared library /a/sulky03/g.ec.u01/users/snyder/analysis-12/root/./art.so ld.so.1: rootcint: fatal: relocation error: file /afs/slac.stanford.edu/g/babar/package/root/2.23-12/SunOS57/lib/libCint.so: symbol __1cHfilebufIopenprot_: referenced symbol not found Killed count: 1 count: 1001 count: 2001 count: 3001 count: 4001 count: 5001 count: 6001 count: 7001 count: 8001 count: 9001 count: 10001 count: 11001 count: 12001 count: 13001 count: 14001 count: 15001 count: 16001 total: 16434 (class TNtuple*)0xc316c0 Real time 0:0:2, CP time 1.810 root [4] -- .x art.C+ works this with old version .. seems to be smidgen faster than .x art.C --now compare art.C with pion-1.612.C .. they should be indentical since I've commented out the includes in art.C root [0] .L art.C root [1] .L pion-1.612.C root [2] gROOT.Time() Real time 0:0:18, CP time 0.010 root [3] TNtuple* t=art() count: 1 count: 1001 count: 2001 count: 3001 count: 4001 count: 5001 count: 6001 count: 7001 count: 8001 count: 9001 count: 10001 count: 11001 count: 12001 count: 13001 count: 14001 count: 15001 count: 16001 total: 16434 Real time 0:0:2, CP time 2.340 root [4] root [4] TNtuple* t=readASCII() count: 1 count: 1001 count: 2001 count: 3001 count: 4001 count: 5001 count: 6001 count: 7001 count: 8001 count: 9001 count: 10001 count: 11001 count: 12001 count: 13001 count: 14001 count: 15001 count: 16001 total: 16434 Real time 0:0:9, CP time 9.050 ---now that's really weird ...