Hi Malcolm,
try "theta==25" (C/C++ convention).
Cheers, Fons.
On Tue, Dec 05, 2000 at 02:13:58PM +0000, Malcolm Davidson wrote:
> Hello,
>
> I'm using the TTree Draw method for displaying histograms and was very
> surprised that the following
> worked:
>
> iem_data->Draw("shh:reps","theta <=25") // Draw all coefficients for
> incidence angles le to 25 degrees
>
> whereas the following did not (I do have theta's = 25 in the ntuple)
>
> root [7] iem_data->Draw("shh:reps","theta=25")
> iem_data->Draw("shh:reps","theta=25")
> *ERROR 26 :
> Unknown name : "theta=25"
> (Int_t)(-1)
>
> Is this normal ? It seems to me that the equal condition is quite
> important as well ?
>
> Many thanks in advance.
>
> Malcolm
>
> p.s. I am using root compiled on Linux Mandrake 7.2 (i386).
>
> <>------------------------------------------------<>
> Malcolm W. J. Davidson
>
> Centre D'Etudes Spatiales de la Biosphere (CESBIO)
> UMR 5639 CNES-CNRS-UPS
> 18, Avenue Edouard Belin
> F-31401 Toulouse Cedex 4
> FRANCE
>
> e-mail : davidson@cesbio.cnes.fr
> phone (33)(0)5.61.55.85.84
> fax (33)(0)5.61.55.85.00
> <>------------------------------------------------<>
>
>
--
Org: CERN, European Laboratory for Particle Physics.
Mail: 1211 Geneve 23, Switzerland
E-Mail: Fons.Rademakers@cern.ch Phone: +41 22 7679248
WWW: http://root.cern.ch/~rdm/ Fax: +41 22 7677910
This archive was generated by hypermail 2b29 : Tue Jan 02 2001 - 11:50:38 MET