Message: Re: Using OpenScientist to analyse Geant4 data Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None Re: Using OpenScientist to analyse Geant4 data 

Forum: Analysis
Re: Question Using OpenScientist to analyse Geant4 data (Mario O de Menezes)
Re: None Re: Using OpenScientist to analyse Geant4 data (Guy Barrand)
Date: 30 Apr, 2002
From: Mario O de Menezes <Mario O de Menezes>

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

>   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 :

Ya! I knew that; I even used the example

Thanks for your attention. I'll try harder, with your help, I hope.

Best Regards,

Mario Menezes, Ph.D.     "Many are the plans in a man's heart, but
    IPEN-CNEN/SP                 is the Lord's purpose that prevails"                 Prov. 19.21

Inline Depth:
 1 1
 All All
Outline Depth:
 1 1
 2 2
 All All
Add message: (add)

1 None: Re: Using OpenScientist to analyse Geant4 data   (Guy Barrand - 03 May, 2002)
1 Feedback: Re: Using OpenScientist to analyse Geant4 data   (Mario O de Menezes - 03 May, 2002)
2 None: social security search   (mark - 03 Oct, 2004)
 Add Message Add Message
to: "Re: Using OpenScientist to analyse Geant4 data"

 Subscribe Subscribe

This site runs SLAC HyperNews version 1.11-slac-98, derived from the original HyperNews

[ Geant 4 Home | Geant 4 HyperNews | Search | Request New Forum | Feedback ]