Remove custom streamer, it was not active in the old Root versions with split level...
authorhristov <Peter.Hristov@cern.ch>
Wed, 5 Nov 2014 16:01:24 +0000 (17:01 +0100)
committerhristov <Peter.Hristov@cern.ch>
Thu, 6 Nov 2014 10:15:30 +0000 (11:15 +0100)
RAW/AliRawEventHeaderBase.cxx
RAW/RAWDatabaseLinkDef.h

index cf1e2c1..bdaa25b 100644 (file)
@@ -73,7 +73,7 @@ void *AliRawEventHeaderBase::HeaderBegin() const
   TIter next(datalist);                           
   TDataMember *member = (TDataMember *)next();
 
-  if(!strcmp(member->GetTypeName(),"TClass"))
+  if(strstr(member->GetTypeName(),"TClass"))
     member = (TDataMember *)next();
 
   void *ptr = (void *)((char *)this+member->GetOffset());
@@ -96,7 +96,7 @@ Int_t AliRawEventHeaderBase::HeaderSize() const
   TIter next(datalist);                           
   TDataMember *member;
   while ((member=(TDataMember *)next()) != 0x0) {
-    if (!strcmp(member->GetTypeName(),"TClass")) continue;
+    if (strstr(member->GetTypeName(),"TClass")) continue;
     UInt_t unitsize = member->GetUnitSize();
     UInt_t ndim = member->GetArrayDim();
     if (ndim == 0)
@@ -463,31 +463,3 @@ void AliRawEventHeaderBase::Reset()
 {
   fFirstEqIndex = fLastEqIndex = -1;
 }
-
-//______________________________________________________________________________
-void AliRawEventHeaderBase::Streamer(TBuffer &R__b)
-{
-   // Stream an object of class AliRawEventHeaderBase.
-
-   if (R__b.IsReading()) {
-      UInt_t R__s, R__c;
-      Version_t R__v = R__b.ReadVersion(&R__s, &R__c);
-      if (R__v > 3) {
-       R__b.ReadClassBuffer(AliRawEventHeaderBase::Class(),this,R__v,R__s,R__c);
-       return;
-      }
-      TObject::Streamer(R__b);
-      R__b >> fSize;
-      R__b >> fMagic;
-      R__b >> fHeadSize;
-      R__b >> fVersion;
-      R__b >> fExtendedDataSize;
-      delete [] fExtendedData;
-      fExtendedData = new char[fExtendedDataSize];
-      R__b.ReadFastArray(fExtendedData,fExtendedDataSize);
-      R__b >> fIsSwapped;
-      R__b.CheckByteCount(R__s, R__c, AliRawEventHeaderBase::IsA());
-   } else {
-      R__b.WriteClassBuffer(AliRawEventHeaderBase::Class(),this);
-   }
-}
index 4c04e40..b6f9dbb 100644 (file)
@@ -7,7 +7,7 @@
 #pragma link C++ class AliRawVEvent+;
 #pragma link C++ class AliRawEvent-;
 #pragma link C++ class AliRawEventV2+;
-#pragma link C++ class AliRawEventHeaderBase-;
+#pragma link C++ class AliRawEventHeaderBase+;
 #pragma link C++ defined_in RAW/AliRawEventHeaderVersions.h;
 #pragma link C++ class AliRawEquipmentHeader;
 #pragma link C++ class AliRawVEquipment+;