Re: [ROOT] default significant figures

From: Rene Brun (Rene.Brun@cern.ch)
Date: Tue Mar 05 2002 - 04:38:25 MET


Ahmet,

If your Tree variable is declared integer, TTree::Show will print it as an
integer. If it declared double/float, it will be printed with the g
format.

Rene Brun

On Mon, 4 Mar 2002, Ahmet Sedat Ayan wrote:

> 
> hi Rooters,
> My ROOT session prints the value of a variable 
> (say with a commmand,  ntuple->Show(111) ) for an entry in a file
> as 1.80007e+08 with a round-off although I do not explicitly ask it to be
> rounded-off. I think it still retains the actual value as 180006787.  
> 
> Is there a switch/flag/Env_definition somewhere to set ROOT print the
> actual value (no round-off and float) ? 
> 
> thanks,
> ahmet
> 
> ***************
> 
> Ahmet S. Ayan		
> 
> Physics & Astronomy Dept.
> Van Allen Hall    
> University of Iowa
> Iowa City, IA, 52242
>   
> Voice      : (++ 1 319) 335-1941 (W) (GMT-6)      
> Occupation : Ph.D Candidate (But still dreamer!)	
> e-mail     : ayan@cms.physics.uiowa.edu
> web        : http://jazz.physics.uiowa.edu/~ayan
> 
> 



This archive was generated by hypermail 2b29 : Sat Jan 04 2003 - 23:50:44 MET