[ROOT] Global variable scope question

From: Edward Chen (edward@SLAC.stanford.edu)
Date: Wed Aug 21 2002 - 03:54:01 MEST


Hi - I have a global variable which shows up when I do .g:


                 11 0x8733bf0  Float_t R2=0


I want to access the value of R2 in TSelector::ProcessCut().  Is that
possible?  I'm getting the following error message:


/data1/babar/edward/root/temp.C:67: `R2' undeclared (first use this
function)

Thanks.  (I'm using ROOT 3.03/06)

-Ed



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