Ejemplo n.º 1
0
        internal PTRFileProcessingState(uint Max, LMProcessingState src)
        {
            channels     = new UInt32[Max];
            times        = new Double[Max];
            chnInBuffer  = new Byte[Max];
            timeInBuffer = new UInt32[Max];
            Reset();

            // shallow copy src state vars
            hitsPerChn = src.hitsPerChn;
            chnmask    = src.chnmask;
            StartCycle(null);
            assayPending = src.assayPending;

            useAsynch              = src.useAsynch;
            includingGen2          = src.includingGen2;
            usingStreamRawAnalysis = src.usingStreamRawAnalysis;

            eventBufferLength = src.eventBufferLength;
            rawDataBuff       = src.rawDataBuff;
            maxValuesInBuffer = src.maxValuesInBuffer;
            timeArray         = src.timeArray;
            neutronEventArray = src.neutronEventArray;

            Sup = src.Sup;
        }
Ejemplo n.º 2
0
 public LMRawDataTransform()
 {
     state = new LMProcessingState();
 }
Ejemplo n.º 3
0
        internal MCA527FileProcessingState(uint Max, LMProcessingState src)
        {
            timeInBuffer = new ulong[Max];
            Reset();

            // shallow copy src state vars
            hitsPerChn = src.hitsPerChn;
            chnmask = src.chnmask;
            StartCycle(null);
            assayPending = src.assayPending;

            useAsynch = src.useAsynch;
            includingGen2 = src.includingGen2;
            usingStreamRawAnalysis = src.usingStreamRawAnalysis;

            eventBufferLength = src.eventBufferLength;
            rawDataBuff = src.rawDataBuff;
            maxValuesInBuffer = src.maxValuesInBuffer;
            timeArray = src.timeArray;
            neutronEventArray = src.neutronEventArray;

            Sup = src.Sup;
        }
Ejemplo n.º 4
0
        internal PTRFileProcessingState(uint Max, LMProcessingState src)
        {
            NC.App.Loggers.Logger(LMLoggers.AppSection.Data).TraceEvent(LogLevels.Verbose, 3337, "Max is {0} in PTRFileProcessingState; allocating {1} bytes", Max, (Max * 4) + Max + (Max * 8) + (Max * 4));
            channels = new UInt32[Max];
            times = new Double[Max];
            chnInBuffer = new Byte[Max];
            timeInBuffer = new UInt32[Max];
            Reset();

            // shallow copy src state vars
            hitsPerChn = src.hitsPerChn;
            chnmask = src.chnmask;
            StartCycle(null);
            assayPending = src.assayPending;

            useAsynch = src.useAsynch;
            includingGen2 = src.includingGen2;
            usingStreamRawAnalysis = src.usingStreamRawAnalysis;

            eventBufferLength = src.eventBufferLength;
            rawDataBuff = src.rawDataBuff;
            maxValuesInBuffer = src.maxValuesInBuffer;
            timeArray = src.timeArray;
            neutronEventArray = src.neutronEventArray;

            Sup = src.Sup;
        }
Ejemplo n.º 5
0
 public LMRawDataTransform()
 {
     state = new LMProcessingState();
 }