14 #include "GaudiKernel/Service.h"
15 #include "GaudiKernel/MsgStream.h"
18 #include "TStreamerInfo.h"
24 m_streamerChecksum (0),
25 m_streamerVersion (0),
38 return(StatusCode::SUCCESS);
40 return(StatusCode::FAILURE);
48 return(StatusCode::FAILURE);
51 return(StatusCode::SUCCESS);
83 const UInt_t kByteCountMask = 0x40000000;
84 const Version_t kByteCountVMask = 0x4000;
86 if (startpos && bcnt) {
88 *startpos = buf->Length();
106 if( !(
v.cnt & kByteCountMask) ) {
108 buf->SetBufferOffset(buf->Length() -
sizeof(UInt_t));
111 *bcnt = (
v.cnt & ~kByteCountMask);
124 TFile* fParent = (TFile*)buf->GetParent();
137 }
else if (fParent && fParent->GetVersion() < 40000) {
141 m_class->GetStreamerInfos()->GetLast() > 1) {
142 const TList*
list = fParent->GetStreamerInfoList();
166 Int_t ninfos =
cl->GetStreamerInfos()->GetEntriesFast();
167 for (Int_t
i = 1;
i < ninfos;
i++) {
170 TStreamerInfo*
info = (TStreamerInfo*)
cl->GetStreamerInfos()->At(
i);
174 if (
info->GetCheckSum() == checksum) {