]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
bugfix
authortkuhr <tkuhr@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 17 Feb 2005 08:28:31 +0000 (08:28 +0000)
committertkuhr <tkuhr@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 17 Feb 2005 08:28:31 +0000 (08:28 +0000)
RAW/AliRawReaderDateV3.cxx

index 7fc77b8bdd62c789b219cd3f80165e2ff43329f3..dd9e6e7bfe081d0192cb946b368c328d5c850f98 100644 (file)
@@ -258,7 +258,7 @@ Bool_t AliRawReaderDateV3::ReadHeader()
 
     // check for end of event data
     if (fPosition >= ((UChar_t*)fEvent)+fEvent->size) return kFALSE;
-    if ((fEvent->detectorId[2] && 0x8000) != 0x8000) {
+    if ((fEvent->detectorId[2] & 0x8000) != 0x8000) {
       fSubEvent = fEvent;   // no super event
     } else if (fSubEvent) {
       fSubEvent = (eventHeaderStruct*) (((UChar_t*)fSubEvent) + 
@@ -436,7 +436,7 @@ Int_t AliRawReaderDateV3::CheckData() const
   while (kTRUE) {
     // check for end of event data
     if (position >= ((UChar_t*)fEvent)+fEvent->size) return result;
-    if ((fEvent->detectorId[2] && 0x8000) != 0x8000) {
+    if ((fEvent->detectorId[2] & 0x8000) != 0x8000) {
       subEvent = fEvent;   // no super event
     } else if (subEvent) {
       subEvent = (eventHeaderStruct*) (((UChar_t*)subEvent) +