Maurizio: you don't want to name your histograms the way you did -
`Q2_1.605', for example, is being interpreted as a reference to a data
member `605' of an object `Q2_1'. This is not allowed by the C++ syntax.
Try changing the name of your histogram to `Q2_1_605' - this should help.
-best, pasha
Maurizio Ungaro writes:
> Maybe I'm dummy,
> I''ve created a out.root file with 50 histograms in it.
> Name like : Q2_1.605 etc etc.
> If I try to read them with the browes I can do it,
> but from the command line I cannot:
> I do
>
> TFile a("out.root");
> a.ls();
>
> and I get the right list.
>
> then if I try
>
> Q2_1.955->Draw();
>
> I get :
>
> root [4] Q2_1.955->Draw();
> Error: No symbol Q2_1.955->Draw() in current scope
> FILE:/tmp/fileCarAcr_cint LINE:1
> Possible candidates are...
> filename line:size busy function type and name
> *** Interpreter error recovered ***
>
> What's going on?
>
> Thanks a lot,
>
> Maurizio Ungaro
This archive was generated by hypermail 2b29 : Tue Jan 04 2000 - 00:43:40 MET