Thank you Stephan & Marc for your reply.
I am pretty sure that there is no sub directory problem. I just found an interesting thing which might explain my problem. Let say i have two parameters time "dt"(which is always positive) & distance from either side of a vertex"dx"(could be positive or negative)to fill a 2D histogram. In first case i take absolute value of "dx" and in second case i don't,
Case1:
myhist_2D_abs->Fill(dt,fabs(dx));
Case2 :
myhist_2D->Fill(dt,dx);
So, "Draw()" command works for second case but does not work for first case(for absolute value) and gives an error message that i already mentioned.
Cheers, Asif
Quoting asaddiqu_at_ualberta.ca:
>
> Hi,
>
> I can view my 2D histogram by "TBrowser" but whenever i try to see
> it by "Draw()".
> It shows an error message which is following.
>
> ============================================
> root[1] myhist_2D->Draw()
> Error: Symbol myhist_2D is not defined in current scope
> FILE:(tmpfile) LINE:1
> Error: Failed to evaluate myhist_2D->Draw()Possible candidates are...
> filename line:size busy function type and name
> =============================================
>
> Unfortunately, i am using an older version of root{4.00/08 December
> 2004 } but there should be no problem of version with this basic
> thing.
>
> Cheers, Asif
>
>
>
>
>
>
>
>
>
Received on Mon Aug 09 2010 - 19:57:03 CEST
This archive was generated by hypermail 2.2.0 : Mon Aug 09 2010 - 23:50:01 CEST