filling histograms

Robert Loke (loke@ifh.de)
Fri, 15 Aug 1997 12:46:26 +0200 (MET)


Hi,

probably it's just a silly mistake ...

I try to fill an existent histogram using

TH1F* InvMassSpectrum = new TH1F("invariant mass","invariant mass",500,0,5);
....
InvMassSpectrum->Fill(InvMass);

and receive such a strange strange error message like

Error in <TList::AddBefore>: before not fond, object not added

does anybody has an idea what went wrong? Or even better: how to
repair this?

Thanks, Robert

+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+ Robert Loke +
+ Humboldt University Berlin +
+ Invalidenstr. 110 +
+ 10115 Berlin +
+ Germany +
+ +
+ e-mail : loke@ifh.de +
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++