Message: Re: Creating the output file in format .dat using AIDA (Hadrontherapy) Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Idea Re: Creating the output file in format .dat using AIDA (Hadrontherapy) 

Forum: Analysis
Re: Question Creating the output file in format .dat using AIDA (Hadrontherapy) (Zhanna Lebedeva)
Date: 13 Apr, 2011
From: G.A.P.Cirrone <G.A.P.Cirrone>

Hi Zhanna, sorry for this my late answer.

Hadrontherapy, by default, generate a .root file is system is correctly configured. By the way it also offers the possibility to directly generate an ASCII file. To do this you should use the macro command "/analysis/writeDoseFile" just after the "/run/beamOn command".

If everything is ok, in fact, at the end of the run you should see a "Dose.out" file containing 4 columns: the first three representing the voxel number, and the last one the dose accumulated in each voxel.

You should also have a look into the HadrontherapyAnalysisFileMessenger.cc and .hh class files to better study these options.

Regards, Pablo Cirrone

On Tue, 05 Apr 2011 19:33:19 GMT, Zhanna Lebedeva wrote:

> Hello,
> 
> I'm not so much expirienced in AIDA and have a question. I try to
> emplement Hadrontherapy example to my case and I would like to have
> output files not only in .aida format and so on, but in .dat, .ascii,
> shortly someting, which is possible to use for example in Origin.
> 
> I use Geant4 9.2. I checked the forum and found the suggestion to change
> file HadrontherapyMatrix.cc to the file from 9.4 beta relise. I did it
> and either change HadrontherapyMatrix.hh. Of cause I found the
> compilation error dealt with Hadrontherapy.cc as
> HadrontherapyEventAction need variable "matrix", which is a private
> variable in a new variant. Making it the public leads to logical error.
> What is wrong in my actions?
> 
> The second idea was to make xml format and create an invertor. It is
> good suggestion, but I'm not so good at programming. Did somebody try to
> do the same?
> 
> I would be strongly appreciate fot any help, Zhanna
> 

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

1 None: Re: Creating the output file in format .dat using AIDA (Hadrontherapy)   (Zhanna Lebedeva - 18 Apr, 2011)
 Add Message Add Message
to: "Re: Creating the output file in format .dat using AIDA (Hadrontherapy)"

 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 ]