Пример #1
0
        public ChannelSet <TOFWithError> TOFAccumulate(uint[] uids, string detector)
        {
            TOFChannelSetAccumulator tcsa = new TOFChannelSetAccumulator();

            for (uint i = 0; i < uids.Length; i++)
            {
                DemodulatedBlock db = (DemodulatedBlock)blockStore.GetDBlock(uids[i]);
                tcsa.Add((ChannelSet <TOFWithError>)db.GetTOFChannelSet(detector));
            }

            return(tcsa.GetResult());
        }