Detailed Summary of Testing of Root 3.00.06 with various Glast programs
March 7 -
March 8 -
March 20
WARNING, class:Event StreamerInfo read from
file:/nfs/slac/g/glast/users/glground/tlindner/packages2/ROOTWriter_ROOt3/ROOTWriter/v2r5p1/src/test/tb_muons_5_gev_normal.root
has the same version:1 than the active class
but a different checksum.
You should update the version to ClassDef(Event,2).
Do not try to write objects with the current class definition,
the files will not be readable.
March 21
The problem is actually in TBEvent, due to changes in Root 3.00 to become more const correct, see this RootTalk post. So the Compare routines had to be modified in ACDTile, CalHit and TkrLayer.
Running ROOTWriter muon_test produces a Root file without producing any warning messages (on both Windows and Linux).
March 22
March 23
Load the DLL and see the value of checksum for the Event class:
root [1]gSystem->Load("TBEventshr.dll")
(int)0
root [2] Event::Class()->GetCheckSum()
(const unsigned int)929237328
Open the file (without loading the DLL) and then check the StreamerInfo data for the Event class:
root [0] TFile f("I:/tb_muons_5_gev_normal.root")
root [1] gROOT->GetListOfStreamerInfo()->FindObject("Event")->Dump()
fCheckSum 929237328 checksum of original class
If one runs a similar test within the MyEvent constructor - we find the following:
UInt_t eventCheck = Event::Class()->GetCheckSum();
printf("Event checksum = %u\n", eventCheck);
outputs:
Event checksum = 3089147232
gROOT->GetListOfStreamerInfo()->FindObject("Event")->Dump();
outputs:
fCheckSum 929237328 checksum of original class
So somehow, MyEvent sees a different version of the Event class than the version loaded via the DLL....another message was sent to Rene, and we await his reply.
March 27