I have been able to create and store these TMap of complex
objects successfully (I think), and I can successfully retrieve any one
of the TMaps using the GetEvent() method. The trouble comes when I
call the GetEvent() method the second time. The TMap returned by
the second call to GetEvent() has some problems:
The objects of type (1) above are always correct.
The objects of type (2) above are always correct but I get the
following warning: "Warning in <TH1::Build>:Replacing existing
histogram: RunOutFloatHistogram".
The objects of types (3) and (4) are slightly mangled. (some of the
TObjNum(s) contain values that are off by +- 1 and sometime the
TObjString(s) are not correct)
Again the problem never occurs on the first call to GetEvent() no
matter what event number I ask for and it always occurs on subsequent
calls to GetEvent().
I'm not sure where to look for my problem. Could it be because I'm
having some problems with destructors? When is TH1::Build() called
and should I make the equivalent of it for objects (3) and (4)? I've
looked at the code and I'm not sure exactly what it does. Any help
would be appreciated.
Jim White