         return 0
     }
     
-    /**
-     Маркер отличающий осколок/альфу (0) от рекойла (4), записывается в первые 3 бита param3.
-     */
-    fileprivate let kFissionOrAlphaMarker: CUnsignedShort = 0b000
-    fileprivate let kRecoilMarker: CUnsignedShort = 0b100
-    
     func isGammaEvent(_ event: ISAEvent) -> Bool {
         let eventId = Int(event.eventId)
         return dataProtocol.Gam(1) == eventId || dataProtocol.Gam(2) == eventId || dataProtocol.Gam == eventId

        let energy = getEnergy(event, type: .recoil)
        let info = [kEnergy: energy,
                    kDeltaTime: deltaTime,
                    kEventNumber: eventNumber()] as [String : Any]
        recoilsFrontPerAct.append(info)
    }
    

    
    func isFront(_ event: ISAEvent, type: SearchType) -> Bool {
        let eventId = Int(event.eventId)
        let searchRecoil = type == .recoil
        let currentRecoil = isRecoil(event)
        let sameType = (searchRecoil && currentRecoil) || (!searchRecoil && !currentRecoil)
        return sameType && (dataProtocol.AFron(1) == eventId || dataProtocol.AFron(2) == eventId || dataProtocol.AFron(3) == eventId || dataProtocol.AdFr(1) == eventId || dataProtocol.AdFr(2) == eventId || dataProtocol.AdFr(3) == eventId)
    }
    
    func isFissionOrAlphaWel(_ event: ISAEvent) -> Bool {
        let eventId = Int(event.eventId)
        return !isRecoil(event) && (dataProtocol.AWel == eventId || dataProtocol.AWel(1) == eventId || dataProtocol.AWel(2) == eventId || dataProtocol.AWel(3) == eventId || dataProtocol.AWel(4) == eventId)
    }
    
    func isBack(_ event: ISAEvent, type: SearchType) -> Bool {
        let eventId = Int(event.eventId)
        let searchRecoil = type == .recoil
        let currentRecoil = isRecoil(event)
        let sameType = (searchRecoil && currentRecoil) || (!searchRecoil && !currentRecoil)
        return sameType && (dataProtocol.ABack(1) == eventId || dataProtocol.ABack(2) == eventId || dataProtocol.ABack(3) == eventId || dataProtocol.AdBk(1) == eventId || dataProtocol.AdBk(2) == eventId || dataProtocol.AdBk(3) == eventId)
    }
    
    func eventNumber() -> CUnsignedLongLong {
