Corrected pragma: no need for newObj to access the target data members
authorhristov <Peter.Hristov@cern.ch>
Thu, 28 Aug 2014 07:14:10 +0000 (09:14 +0200)
committerhristov <Peter.Hristov@cern.ch>
Thu, 28 Aug 2014 07:14:10 +0000 (09:14 +0200)
HLT/BASE/HLTbaseLinkDef.h

index 4e056a6..7da55c6 100644 (file)
 #pragma link C++ class AliHLTMisc+;
 #pragma link C++ class AliHLTCTPData-;
 
-#pragma read sourceClass="AliHLTCTPData" targetClass="AliHLTCTPData" source="AliHLTUInt64_t fMask"  version="[-2]" target="fMask" targetType="AliHLTTriggerMask_t" include="Rtypes.h" code="{newObj->fMask.reset(); for(Int_t i=0; i<64; ++i) newObj->fMask.set(i,TESTBIT(onfile.fMask,i));}"
-#pragma read sourceClass="AliHLTCTPData" targetClass="AliHLTCTPData" source="AliHLTUInt64_t fTriggers"  version="[-2]" target="fTriggers" targetType="AliHLTTriggerMask_t" include="Rtypes.h" code="{newObj->fTriggers.reset(); for(Int_t i=0; i<64; ++i) newObj->fTriggers.set(i,TESTBIT(onfile.fTriggers,i));}"
+#pragma read sourceClass="AliHLTCTPData" targetClass="AliHLTCTPData" source="AliHLTUInt64_t fMask"  version="[-2]" target="fMask" targetType="AliHLTTriggerMask_t" include="Rtypes.h" code="{fMask.reset(); for(Int_t i=0; i<64; ++i) fMask.set(i,TESTBIT(onfile.fMask,i));}"
+#pragma read sourceClass="AliHLTCTPData" targetClass="AliHLTCTPData" source="AliHLTUInt64_t fTriggers"  version="[-2]" target="fTriggers" targetType="AliHLTTriggerMask_t" include="Rtypes.h" code="{fTriggers.reset(); for(Int_t i=0; i<64; ++i) fTriggers.set(i,TESTBIT(onfile.fTriggers,i));}"
 
 #pragma link C++ class AliHLTScalars+;
 #pragma link C++ class AliHLTScalars::AliScalar+;