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; }
public LMRawDataTransform() { state = new LMProcessingState(); }
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; }
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; }