Re: sorting a vecto

From: Roger Mason <rmason_at_esd.mun.ca>
Date: Sun, 7 Dec 2008 09:33:22 -0330


Hello Philipe,

Philippe Canal <pcanal_at_fnal.gov> writes:

>
>> What use is the CINT interpreter, at least for running named scipts?
>
> Despite some unfortunate issues, CINT can interpreter many scripts.
> One advantage of
> CINT over python is that once you reach the limit of CINT (speed
> and/or compliance) you
> can almost seamlessly move to compile code (just add header file,
> correct syntax errors and
> use ACLiC).

I was being unfair to ROOT. This was out of frustration because my knowledge of C++ is weak. That is because I don't use CINT or C++ continuously. Maybe I need to change my ways :).

>> to be little advantage over making a stand alone application using a
> makefile.
>
> Well, 2 advantages of using script (and ACLiC) is that it is in
> general simpler than writing
> Makefile (especially if you want to run on more than one platform); in
> addition and more
> importantly, when using the root executable, once the script is
> executed you can still
> manipulate your objects and fine tune your analysis and/or displays
> ... using the same type
> of syntax.

I have now managed to get my application to extract histograms from trees in large root files and make canvases which I can browse from the command line. Yes, that is very nice.

>> A question: is there a means to make commands like
>> .L MyClass.C or .x MyClass.C actually execute
>> .L MyClass.C+ or .x MyClass.C+ ?
>
> Not at the moment. (In a related development the latest version of ROOT/CINT
> has a feature that will automatically compile template instantiation on demand
> rather than interpret them).

Thanks for taking the trouble to respond.

Best wishes,
Roger Received on Sun Dec 07 2008 - 14:03:53 CET

This archive was generated by hypermail 2.2.0 : Sun Dec 07 2008 - 17:50:01 CET