add protection against truncated events + coverity - Rachid
[u/mrichter/AliRoot.git] / EMCAL / AliEMCALTriggerRawDigitMaker.cxx
index 41ac1e1..4aa4e7c 100644 (file)
@@ -311,6 +311,8 @@ void AliEMCALTriggerRawDigitMaker::PostProcess()
        
        if (STUin && fSTURawStream && fSTURawStream->ReadPayLoad())
        {
+               fTriggerData->SetL1DataDecoded(1);
+               
                fTriggerData->SetL1GammaThreshold(fSTURawStream->GetL1GammaThreshold());
                fTriggerData->SetL1JetThreshold(  fSTURawStream->GetL1JetThreshold()  );
                
@@ -326,7 +328,7 @@ void AliEMCALTriggerRawDigitMaker::PostProcess()
                        fSTURawStream->GetJC(),
                        fSTURawStream->GetRegionEnable(), 
                        fSTURawStream->GetFwVersion()
-               };
+               };              
                
                fTriggerData->SetL1FrameMask(fSTURawStream->GetFrameReceived());
                fTriggerData->SetL1V0(v0);