|Message: Re: Using OpenScientist to analyse Geant4 data||Not Logged In (login)|
Click on the Forum title, e.g. on the "Forums by Category" page, to read a sequence of postings to the Forum and its threads all in one page. If you are only interested in one thread or the thread following a specific posting, click the thread or the posting, which takes you to a smaller page, which contains only the part you are interested in and may be easier to navigate.
Messages are "chained" if there are only replies at the first level, i.e. 1/1.html, 1/1/1.html etc. In case of "chained" messages the message number is replaced by the icon and there is no indentation.
Inline: Display the subject line only or also the text of the posting(s); for the choice "All" the "Outline" choices are switched off.
|1||0||1||no text / full text of posting|
|2||1||All||text for level 1 only / text for All postings|
Outline: Choose the depth of the posting thread, successive toggle controls provide increasing detail.
|1||2||1||2 levels / 1 level (original posting)|
|2||3||2||3 levels / 2 levels|
|3||3||All||3 levels / all levels (all postings)|
On Tue, Apr 30, 2002 at 12:30:24AM -0700, Guy Barrand wrote: > > Fine, at least it shows that the task is feasible by someone else > than me... > > > , and now I'm trying to use it to analyse Geant4 data. > > I've compiled an simulation program, collected data within a root > > file, following the example in examples/extended/analysis/... but > > I'm not sure what is the right or better approach to use those data. > > There is multiple ways to work. > > Another way, is to use the "scripting" to manipulate accumulated > analysis data within a file. This avoid you to write a C++ program. I'm trying to do this way. I've edited the python script found in the example but could not find docs explaining how or what I can do! For example, I would like to normalize a spectrum, having the maximum height equals 1. How do I iterate over the tuples/histo, doing a division for each one? I've tried to play with the evaluator but did not succeed, because I couldn't understand well the interface. I'll try to dig deeper into the code but this is a hard way to go further, that is, I couldn't find a straight doc, leading me to the point. > > The OpenScientist/Lab package comes with a Python (but also tcl, CINT) > binding of the AIDA interfaces. Then from there, you can write > Python (tcl, CINT) scripts to do tuple cutting, fitting and > histo+function visualization. > > There is some tutorial of using the Lab scripting accessible > from the OpenScientist/tutorial page ; the URL for Lab/v6 > being : > http://www.lal.in2p3.fr/SI/Lab/v6/tutorial/tutorial.html Ya! I knew that; I even used the example Lab_analysis.py. Thanks for your attention. I'll try harder, with your help, I hope. Best Regards, -- Mario O.de Menezes, Ph.D. "Many are the plans in a man's heart, but IPEN-CNEN/SP is the Lord's purpose that prevails" http://curiango.ipen.br/~mario Prov. 19.21
|Inline Depth:||Outline Depth:||Add message:|