]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
Rejection of all events having parity, glitch or padding errors
authorivana <ivana@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 22 Nov 2007 09:48:42 +0000 (09:48 +0000)
committerivana <ivana@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 22 Nov 2007 09:48:42 +0000 (09:48 +0000)
(Jean-Luc)

MUON/AliMUONPayloadTracker.cxx

index 6fdf9285e42ce9cac91e15ae6af4137d51401f88..6ab6cb28067350274d54d3478c84497138c17a48 100644 (file)
@@ -176,9 +176,15 @@ Bool_t AliMUONPayloadTracker::Decode(UInt_t* buffer, Int_t totalDDLSize)
            fBusStruct->SetBlockId(iBlock); // could be usefull in future applications ?
            fBusStruct->SetDspId(iDsp);
 
-           // check parity
-           if(!CheckDataParity())
-               AddParityErrBus(fBusStruct->GetBusPatchId());
+           // check parity (old version)
+//         if(!CheckDataParity())
+//             AddParityErrBus(fBusStruct->GetBusPatchId());
+
+           // check parity  // JLC (modified Chistian 10/10/07)
+           if(!CheckDataParity()) {
+             AddParityErrBus(fBusStruct->GetBusPatchId());
+             return kFALSE;
+           } 
 
            // copy in TClonesArray
            fDDLTracker->AddBusPatch(*fBusStruct, iBlock, iDsp);