[gate-users] ROOT Histogram

Philippe Després pdespres at radiology.ucsf.edu
Sun Feb 27 22:36:07 CET 2005


Hi,

this constructor seems to do what you want (2D histogram)

TH2D(const char* name, const char* title, Int_t nbinsx, Axis_t xlow, 
Axis_t xup, Int_t nbinsy, Axis_t ylow, Axis_t yup)

Philippe


Nicolas Sakelios wrote:
>  
> 
>  
> 
> Hello All
> 
>  
> 
> I am trying to create the "pixelID" histogram of a g-camera with a 
> pixelized scintillator of around 1300 pixels,
> 
> As a default property, the number of bins in the ROOT histogram is 100 
> or few more than that...
> 
> On the other hand, I want to store the number of counts in each of the 
> pixel in a seperate bin in the histogram,
> 
> I search in the ROOT manual several methods or commands but I haven't 
> done it yet...
> 
> Does anyone know how to create such a histogram?
> 
>  
> 
> Thanks, Nicolas 
> 
>  
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> gate-users mailing list
> gate-users at lphe1pet1.epfl.ch
> http://lphe1pet1.epfl.ch/mailman/listinfo/gate-users

-- 
Philippe Després
Associate Specialist
UCSF Physics Research Lab
185 Berry Street suite 350
San Francisco CA 94107
(415) 353-4501 (office)
(650) 497-2261 (home)
pdespres at radiology.ucsf.edu
PGP PUBLIC KEY  http://itsa.ucsf.edu/~despres/publickey.txt



More information about the Gate-users mailing list