[Gate-users] Beam profiles with ROOT
Stathis Kamperis
ekamperi at gmail.com
Sun Mar 23 23:36:35 CET 2014
On Sun, Mar 23, 2014 at 2:23 PM, Stathis Kamperis <ekamperi at gmail.com> wrote:
> The closest I could get was to:
>
> 1. Set the resolution of my dose actor like:
> /gate/actor/doseDistribution/setResolution 1 100 100
>
> 2. Run the simulation
>
> 3. Run root
>
> 4. Type in the root cli:
> TBrowser *b = new TBrowser()
>
> 5. Open the .root file with the browser
>
> But what I got was a plot with nothing in it except for the ticks in axes.
>
Actually, if I right click -> Draw Panel -> Plot 3D, I see that there
are some bars
but they don't seem like proper histograms.
Anyway, I worked arouned it by using .txt files with many 1D dose actors :)
Still, if anyone is familiar with ROOT I'd like to learn how s/he did it.
Cheers,
Stathis
> Best regards,
> Stathis
>
> On Sun, Mar 23, 2014 at 1:12 PM, Stathis Kamperis <ekamperi at gmail.com> wrote:
>> Hello people,
>>
>> Does anyone have ROOT code to draw the profile of a beam from a .root
>> file ? Or do you have any document describing the format of a .root
>> file ?
>>
>> Thank you.
>>
>> Best regards,
>> Stathis
More information about the Gate-users
mailing list