[no commit message]
This commit is contained in:
parent
ce626fdb25
commit
3a10cc0672
@ -16,8 +16,8 @@ dependencies {
|
|||||||
compile group: 'commons-io', name: 'commons-io', version:'2.+'
|
compile group: 'commons-io', name: 'commons-io', version:'2.+'
|
||||||
compile project(':dataforge-fitting:dataforge-minuit')
|
compile project(':dataforge-fitting:dataforge-minuit')
|
||||||
compile project(':dataforge-fx')
|
compile project(':dataforge-fx')
|
||||||
compile project(':dataforge-grind')
|
|
||||||
compile project(':dataforge-plots')
|
compile project(':dataforge-plots')
|
||||||
|
compile project(':numass-storage')
|
||||||
}
|
}
|
||||||
|
|
||||||
task runNumass(dependsOn: classes, type : JavaExec){
|
task runNumass(dependsOn: classes, type : JavaExec){
|
||||||
|
@ -1,15 +0,0 @@
|
|||||||
#
|
|
||||||
# Copyright 2015 Alexander Nozik.
|
|
||||||
#
|
|
||||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
||||||
# you may not use this file except in compliance with the License.
|
|
||||||
# You may obtain a copy of the License at
|
|
||||||
#
|
|
||||||
# http://www.apache.org/licenses/LICENSE-2.0
|
|
||||||
#
|
|
||||||
# Unless required by applicable law or agreed to in writing, software
|
|
||||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
||||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
||||||
# See the License for the specific language governing permissions and
|
|
||||||
# limitations under the License.
|
|
||||||
#
|
|
@ -20,9 +20,9 @@ import hep.dataforge.data.binary.Binary;
|
|||||||
import hep.dataforge.io.BasicIOManager;
|
import hep.dataforge.io.BasicIOManager;
|
||||||
import hep.dataforge.meta.Meta;
|
import hep.dataforge.meta.Meta;
|
||||||
import hep.dataforge.names.Name;
|
import hep.dataforge.names.Name;
|
||||||
import inr.numass.data.NumassDataReader;
|
import inr.numass.storage.NumassDataReader;
|
||||||
import inr.numass.data.NumassPawReader;
|
import inr.numass.data.NumassPawReader;
|
||||||
import inr.numass.data.RawNMFile;
|
import inr.numass.storage.RawNMFile;
|
||||||
import java.io.File;
|
import java.io.File;
|
||||||
import java.io.FileNotFoundException;
|
import java.io.FileNotFoundException;
|
||||||
import java.io.FileOutputStream;
|
import java.io.FileOutputStream;
|
||||||
|
32
numass-main/src/main/java/inr/numass/WorkspaceTest.java
Normal file
32
numass-main/src/main/java/inr/numass/WorkspaceTest.java
Normal file
@ -0,0 +1,32 @@
|
|||||||
|
/*
|
||||||
|
* To change this license header, choose License Headers in Project Properties.
|
||||||
|
* To change this template file, choose Tools | Templates
|
||||||
|
* and open the template in the editor.
|
||||||
|
*/
|
||||||
|
package inr.numass;
|
||||||
|
|
||||||
|
import hep.dataforge.meta.MetaBuilder;
|
||||||
|
import hep.dataforge.storage.commons.StorageDataFactory;
|
||||||
|
import hep.dataforge.workspace.BasicWorkspace;
|
||||||
|
import hep.dataforge.workspace.Workspace;
|
||||||
|
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
* @author Alexander Nozik
|
||||||
|
*/
|
||||||
|
public class WorkspaceTest {
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param args the command line arguments
|
||||||
|
*/
|
||||||
|
public static void main(String[] args) {
|
||||||
|
|
||||||
|
String storagepath = "D:\\Work\\Numass\\data\\";
|
||||||
|
Workspace workspace = BasicWorkspace.builder()
|
||||||
|
.setContext(new NumassContext())
|
||||||
|
.loadData("", new StorageDataFactory(), new MetaBuilder("storage").putValue("path", storagepath))
|
||||||
|
|
||||||
|
.build();
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
@ -18,8 +18,8 @@ package inr.numass.actions;
|
|||||||
import hep.dataforge.tables.MapPoint;
|
import hep.dataforge.tables.MapPoint;
|
||||||
import hep.dataforge.tables.SimplePointSource;
|
import hep.dataforge.tables.SimplePointSource;
|
||||||
import hep.dataforge.values.Value;
|
import hep.dataforge.values.Value;
|
||||||
import inr.numass.data.NMFile;
|
import inr.numass.storage.NMFile;
|
||||||
import inr.numass.data.NMPoint;
|
import inr.numass.storage.NMPoint;
|
||||||
import java.util.HashMap;
|
import java.util.HashMap;
|
||||||
import java.util.Map;
|
import java.util.Map;
|
||||||
|
|
||||||
|
@ -22,8 +22,8 @@ import hep.dataforge.description.ValueDef;
|
|||||||
import hep.dataforge.exceptions.ContentException;
|
import hep.dataforge.exceptions.ContentException;
|
||||||
import hep.dataforge.io.reports.Reportable;
|
import hep.dataforge.io.reports.Reportable;
|
||||||
import hep.dataforge.meta.Laminate;
|
import hep.dataforge.meta.Laminate;
|
||||||
import inr.numass.data.RawNMFile;
|
import inr.numass.storage.RawNMFile;
|
||||||
import inr.numass.data.RawNMPoint;
|
import inr.numass.storage.RawNMPoint;
|
||||||
import inr.numass.debunch.DebunchReport;
|
import inr.numass.debunch.DebunchReport;
|
||||||
import inr.numass.debunch.FrameAnalizer;
|
import inr.numass.debunch.FrameAnalizer;
|
||||||
import java.io.PrintWriter;
|
import java.io.PrintWriter;
|
||||||
|
@ -22,8 +22,8 @@ import hep.dataforge.exceptions.ContentException;
|
|||||||
import hep.dataforge.io.ColumnedDataWriter;
|
import hep.dataforge.io.ColumnedDataWriter;
|
||||||
import hep.dataforge.io.reports.Reportable;
|
import hep.dataforge.io.reports.Reportable;
|
||||||
import hep.dataforge.meta.Laminate;
|
import hep.dataforge.meta.Laminate;
|
||||||
import inr.numass.data.NMFile;
|
import inr.numass.storage.NMFile;
|
||||||
import inr.numass.data.NMPoint;
|
import inr.numass.storage.NMPoint;
|
||||||
import java.io.OutputStream;
|
import java.io.OutputStream;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -30,9 +30,9 @@ import hep.dataforge.tables.ListTable;
|
|||||||
import hep.dataforge.tables.MapPoint;
|
import hep.dataforge.tables.MapPoint;
|
||||||
import hep.dataforge.tables.Table;
|
import hep.dataforge.tables.Table;
|
||||||
import hep.dataforge.tables.TableFormat;
|
import hep.dataforge.tables.TableFormat;
|
||||||
import inr.numass.data.NMFile;
|
import inr.numass.storage.NMFile;
|
||||||
import inr.numass.data.NMPoint;
|
import inr.numass.storage.NMPoint;
|
||||||
import inr.numass.data.RawNMPoint;
|
import inr.numass.storage.RawNMPoint;
|
||||||
import java.io.OutputStream;
|
import java.io.OutputStream;
|
||||||
import java.time.Instant;
|
import java.time.Instant;
|
||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
||||||
|
@ -25,8 +25,8 @@ import hep.dataforge.exceptions.ContentException;
|
|||||||
import hep.dataforge.io.reports.Reportable;
|
import hep.dataforge.io.reports.Reportable;
|
||||||
import hep.dataforge.meta.Laminate;
|
import hep.dataforge.meta.Laminate;
|
||||||
import static inr.numass.NumassIO.getNumassData;
|
import static inr.numass.NumassIO.getNumassData;
|
||||||
import inr.numass.data.NMFile;
|
import inr.numass.storage.NMFile;
|
||||||
import inr.numass.data.RawNMFile;
|
import inr.numass.storage.RawNMFile;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
|
@ -26,8 +26,8 @@ import hep.dataforge.meta.Meta;
|
|||||||
import hep.dataforge.plots.fx.FXPlotUtils;
|
import hep.dataforge.plots.fx.FXPlotUtils;
|
||||||
import hep.dataforge.plots.jfreechart.JFreeChartFrame;
|
import hep.dataforge.plots.jfreechart.JFreeChartFrame;
|
||||||
import inr.numass.data.ESpectrum;
|
import inr.numass.data.ESpectrum;
|
||||||
import inr.numass.data.NMFile;
|
import inr.numass.storage.NMFile;
|
||||||
import inr.numass.data.NMPoint;
|
import inr.numass.storage.NMPoint;
|
||||||
import java.awt.Color;
|
import java.awt.Color;
|
||||||
import java.io.OutputStream;
|
import java.io.OutputStream;
|
||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
||||||
|
@ -19,8 +19,8 @@ import hep.dataforge.tables.MapPoint;
|
|||||||
import hep.dataforge.tables.SimplePointSource;
|
import hep.dataforge.tables.SimplePointSource;
|
||||||
import hep.dataforge.tables.TableFormat;
|
import hep.dataforge.tables.TableFormat;
|
||||||
import hep.dataforge.values.Value;
|
import hep.dataforge.values.Value;
|
||||||
import inr.numass.data.NMFile;
|
import inr.numass.storage.NMFile;
|
||||||
import inr.numass.data.NMPoint;
|
import inr.numass.storage.NMPoint;
|
||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
||||||
import java.util.HashMap;
|
import java.util.HashMap;
|
||||||
import java.util.Map;
|
import java.util.Map;
|
||||||
|
@ -23,8 +23,8 @@ import hep.dataforge.io.ColumnedDataWriter;
|
|||||||
import hep.dataforge.io.reports.Reportable;
|
import hep.dataforge.io.reports.Reportable;
|
||||||
import hep.dataforge.meta.Laminate;
|
import hep.dataforge.meta.Laminate;
|
||||||
import hep.dataforge.meta.Meta;
|
import hep.dataforge.meta.Meta;
|
||||||
import inr.numass.data.NMFile;
|
import inr.numass.storage.NMFile;
|
||||||
import inr.numass.data.RawNMPoint;
|
import inr.numass.storage.RawNMPoint;
|
||||||
import java.io.OutputStream;
|
import java.io.OutputStream;
|
||||||
import java.util.LinkedHashMap;
|
import java.util.LinkedHashMap;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
@ -15,6 +15,7 @@
|
|||||||
*/
|
*/
|
||||||
package inr.numass.data;
|
package inr.numass.data;
|
||||||
|
|
||||||
|
import inr.numass.storage.NMPoint;
|
||||||
import hep.dataforge.io.ColumnedDataWriter;
|
import hep.dataforge.io.ColumnedDataWriter;
|
||||||
import hep.dataforge.tables.MapPoint;
|
import hep.dataforge.tables.MapPoint;
|
||||||
import hep.dataforge.tables.SimplePointSource;
|
import hep.dataforge.tables.SimplePointSource;
|
||||||
|
@ -15,6 +15,7 @@
|
|||||||
*/
|
*/
|
||||||
package inr.numass.data;
|
package inr.numass.data;
|
||||||
|
|
||||||
|
import inr.numass.storage.RawNMFile;
|
||||||
import hep.dataforge.data.binary.Binary;
|
import hep.dataforge.data.binary.Binary;
|
||||||
import java.io.FileInputStream;
|
import java.io.FileInputStream;
|
||||||
import java.io.FileNotFoundException;
|
import java.io.FileNotFoundException;
|
||||||
|
@ -15,8 +15,8 @@
|
|||||||
*/
|
*/
|
||||||
package inr.numass.debunch;
|
package inr.numass.debunch;
|
||||||
|
|
||||||
import inr.numass.data.NMEvent;
|
import inr.numass.storage.NMEvent;
|
||||||
import inr.numass.data.RawNMPoint;
|
import inr.numass.storage.RawNMPoint;
|
||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
||||||
import java.util.Collections;
|
import java.util.Collections;
|
||||||
import java.util.Comparator;
|
import java.util.Comparator;
|
||||||
|
@ -15,7 +15,7 @@
|
|||||||
*/
|
*/
|
||||||
package inr.numass.debunch;
|
package inr.numass.debunch;
|
||||||
|
|
||||||
import inr.numass.data.NMEvent;
|
import inr.numass.storage.NMEvent;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
|
@ -15,8 +15,8 @@
|
|||||||
*/
|
*/
|
||||||
package inr.numass.debunch;
|
package inr.numass.debunch;
|
||||||
|
|
||||||
import inr.numass.data.NMEvent;
|
import inr.numass.storage.NMEvent;
|
||||||
import inr.numass.data.RawNMPoint;
|
import inr.numass.storage.RawNMPoint;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -15,8 +15,8 @@
|
|||||||
*/
|
*/
|
||||||
package inr.numass.debunch;
|
package inr.numass.debunch;
|
||||||
|
|
||||||
import inr.numass.data.NMEvent;
|
import inr.numass.storage.NMEvent;
|
||||||
import inr.numass.data.RawNMPoint;
|
import inr.numass.storage.RawNMPoint;
|
||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
|
@ -15,7 +15,7 @@
|
|||||||
*/
|
*/
|
||||||
package inr.numass.debunch;
|
package inr.numass.debunch;
|
||||||
|
|
||||||
import inr.numass.data.RawNMPoint;
|
import inr.numass.storage.RawNMPoint;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
|
@ -15,7 +15,7 @@
|
|||||||
*/
|
*/
|
||||||
package inr.numass.debunch;
|
package inr.numass.debunch;
|
||||||
|
|
||||||
import inr.numass.data.NMEvent;
|
import inr.numass.storage.NMEvent;
|
||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
import org.apache.commons.math3.distribution.PoissonDistribution;
|
import org.apache.commons.math3.distribution.PoissonDistribution;
|
||||||
|
@ -15,7 +15,7 @@
|
|||||||
*/
|
*/
|
||||||
package inr.numass.debunch;
|
package inr.numass.debunch;
|
||||||
|
|
||||||
import inr.numass.data.RawNMPoint;
|
import inr.numass.storage.RawNMPoint;
|
||||||
import org.apache.commons.math3.analysis.UnivariateFunction;
|
import org.apache.commons.math3.analysis.UnivariateFunction;
|
||||||
import org.apache.commons.math3.analysis.interpolation.LinearInterpolator;
|
import org.apache.commons.math3.analysis.interpolation.LinearInterpolator;
|
||||||
import org.apache.commons.math3.util.FastMath;
|
import org.apache.commons.math3.util.FastMath;
|
||||||
|
@ -15,8 +15,8 @@
|
|||||||
*/
|
*/
|
||||||
package inr.numass.generators;
|
package inr.numass.generators;
|
||||||
|
|
||||||
import inr.numass.data.NMEvent;
|
import inr.numass.storage.NMEvent;
|
||||||
import inr.numass.data.RawNMPoint;
|
import inr.numass.storage.RawNMPoint;
|
||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
||||||
import org.apache.commons.math3.random.MersenneTwister;
|
import org.apache.commons.math3.random.MersenneTwister;
|
||||||
import org.apache.commons.math3.random.RandomGenerator;
|
import org.apache.commons.math3.random.RandomGenerator;
|
||||||
|
@ -15,8 +15,8 @@
|
|||||||
*/
|
*/
|
||||||
package inr.numass.generators;
|
package inr.numass.generators;
|
||||||
|
|
||||||
import inr.numass.data.NMEvent;
|
import inr.numass.storage.NMEvent;
|
||||||
import inr.numass.data.RawNMPoint;
|
import inr.numass.storage.RawNMPoint;
|
||||||
import static java.lang.Math.max;
|
import static java.lang.Math.max;
|
||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
@ -15,8 +15,8 @@
|
|||||||
*/
|
*/
|
||||||
package inr.numass.generators;
|
package inr.numass.generators;
|
||||||
|
|
||||||
import inr.numass.data.NMEvent;
|
import inr.numass.storage.NMEvent;
|
||||||
import inr.numass.data.RawNMPoint;
|
import inr.numass.storage.RawNMPoint;
|
||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
import java.util.Map;
|
import java.util.Map;
|
||||||
|
@ -1,10 +1,4 @@
|
|||||||
configurations{
|
|
||||||
all*.exclude module: 'commons-math3'
|
|
||||||
all*.exclude group: 'org.jfree'
|
|
||||||
}
|
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
compile(project(':numass-main')){transitive = false}
|
|
||||||
compile project(':dataforge-storage')
|
compile project(':dataforge-storage')
|
||||||
compile project(':dataforge-grind')
|
compile project(':dataforge-grind')
|
||||||
}
|
}
|
||||||
|
@ -18,8 +18,7 @@ task runClient(type: JavaExec) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
compile(project(':numass-storage')){transitive = false}
|
compile(project(':numass-storage'))
|
||||||
compile project(':dataforge-storage')
|
|
||||||
compile 'commons-cli:commons-cli:1.3.1'
|
compile 'commons-cli:commons-cli:1.3.1'
|
||||||
compile 'org.zeroturnaround:zt-zip:1.9'
|
compile 'org.zeroturnaround:zt-zip:1.9'
|
||||||
}
|
}
|
@ -13,7 +13,7 @@
|
|||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
package inr.numass.data;
|
package inr.numass.storage;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
@ -13,7 +13,7 @@
|
|||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
package inr.numass.data;
|
package inr.numass.storage;
|
||||||
|
|
||||||
import hep.dataforge.description.ValueDef;
|
import hep.dataforge.description.ValueDef;
|
||||||
import hep.dataforge.meta.Meta;
|
import hep.dataforge.meta.Meta;
|
@ -13,7 +13,7 @@
|
|||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
package inr.numass.data;
|
package inr.numass.storage;
|
||||||
|
|
||||||
import hep.dataforge.tables.DataPoint;
|
import hep.dataforge.tables.DataPoint;
|
||||||
import hep.dataforge.tables.MapPoint;
|
import hep.dataforge.tables.MapPoint;
|
@ -3,8 +3,9 @@
|
|||||||
* To change this template file, choose Tools | Templates
|
* To change this template file, choose Tools | Templates
|
||||||
* and open the template in the editor.
|
* and open the template in the editor.
|
||||||
*/
|
*/
|
||||||
package inr.numass.data;
|
package inr.numass.storage;
|
||||||
|
|
||||||
|
import inr.numass.storage.NMPoint;
|
||||||
import hep.dataforge.meta.Meta;
|
import hep.dataforge.meta.Meta;
|
||||||
import hep.dataforge.names.Named;
|
import hep.dataforge.names.Named;
|
||||||
import java.time.Instant;
|
import java.time.Instant;
|
@ -24,10 +24,6 @@ import hep.dataforge.meta.MetaBuilder;
|
|||||||
import hep.dataforge.storage.api.ObjectLoader;
|
import hep.dataforge.storage.api.ObjectLoader;
|
||||||
import hep.dataforge.storage.api.Storage;
|
import hep.dataforge.storage.api.Storage;
|
||||||
import hep.dataforge.storage.loaders.AbstractLoader;
|
import hep.dataforge.storage.loaders.AbstractLoader;
|
||||||
import inr.numass.data.NMEvent;
|
|
||||||
import inr.numass.data.NMPoint;
|
|
||||||
import inr.numass.data.NumassData;
|
|
||||||
import inr.numass.data.RawNMPoint;
|
|
||||||
import java.io.File;
|
import java.io.File;
|
||||||
import java.io.IOException;
|
import java.io.IOException;
|
||||||
import java.io.InputStream;
|
import java.io.InputStream;
|
||||||
|
@ -13,8 +13,11 @@
|
|||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
package inr.numass.data;
|
package inr.numass.storage;
|
||||||
|
|
||||||
|
import inr.numass.storage.NMEvent;
|
||||||
|
import inr.numass.storage.RawNMFile;
|
||||||
|
import inr.numass.storage.RawNMPoint;
|
||||||
import hep.dataforge.data.FileDataFactory;
|
import hep.dataforge.data.FileDataFactory;
|
||||||
import hep.dataforge.data.binary.Binary;
|
import hep.dataforge.data.binary.Binary;
|
||||||
import hep.dataforge.meta.Meta;
|
import hep.dataforge.meta.Meta;
|
@ -22,8 +22,6 @@ import hep.dataforge.meta.Meta;
|
|||||||
import hep.dataforge.meta.MetaBuilder;
|
import hep.dataforge.meta.MetaBuilder;
|
||||||
import hep.dataforge.storage.filestorage.FileStorage;
|
import hep.dataforge.storage.filestorage.FileStorage;
|
||||||
import hep.dataforge.storage.filestorage.VFSUtils;
|
import hep.dataforge.storage.filestorage.VFSUtils;
|
||||||
import inr.numass.data.NMFile;
|
|
||||||
import inr.numass.data.NumassData;
|
|
||||||
import java.io.File;
|
import java.io.File;
|
||||||
import java.io.IOException;
|
import java.io.IOException;
|
||||||
import java.io.InputStream;
|
import java.io.InputStream;
|
||||||
|
@ -13,7 +13,7 @@
|
|||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
package inr.numass.data;
|
package inr.numass.storage;
|
||||||
|
|
||||||
import hep.dataforge.names.NamedMetaHolder;
|
import hep.dataforge.names.NamedMetaHolder;
|
||||||
import java.io.BufferedOutputStream;
|
import java.io.BufferedOutputStream;
|
||||||
@ -109,7 +109,7 @@ public class RawNMFile extends NamedMetaHolder {
|
|||||||
return points;
|
return points;
|
||||||
}
|
}
|
||||||
|
|
||||||
void putEvent(double U, short chanel, double time) {
|
public void putEvent(double U, short chanel, double time) {
|
||||||
for (RawNMPoint point : this.getData()) {
|
for (RawNMPoint point : this.getData()) {
|
||||||
if (U == point.getUread()) {
|
if (U == point.getUread()) {
|
||||||
point.putEvent(new NMEvent(chanel, time));
|
point.putEvent(new NMEvent(chanel, time));
|
@ -13,7 +13,7 @@
|
|||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
package inr.numass.data;
|
package inr.numass.storage;
|
||||||
|
|
||||||
import java.time.Instant;
|
import java.time.Instant;
|
||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
@ -11,8 +11,6 @@ description = "The viewer for numass data"
|
|||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
compile project(':numass-main')
|
compile project(':numass-main')
|
||||||
// compile project(':dataforge-storage')
|
|
||||||
compile project(':numass-storage')
|
|
||||||
compile project(':dataforge-fx')
|
compile project(':dataforge-fx')
|
||||||
compile 'com.jcraft:jsch:0.1.53'
|
compile 'com.jcraft:jsch:0.1.53'
|
||||||
}
|
}
|
||||||
|
@ -21,7 +21,7 @@ import hep.dataforge.context.ProcessManager;
|
|||||||
import hep.dataforge.exceptions.StorageException;
|
import hep.dataforge.exceptions.StorageException;
|
||||||
import hep.dataforge.fx.ConsoleFragment;
|
import hep.dataforge.fx.ConsoleFragment;
|
||||||
import hep.dataforge.fx.ProcessManagerFragment;
|
import hep.dataforge.fx.ProcessManagerFragment;
|
||||||
import inr.numass.data.NumassData;
|
import inr.numass.storage.NumassData;
|
||||||
import inr.numass.storage.NumassStorage;
|
import inr.numass.storage.NumassStorage;
|
||||||
import java.io.File;
|
import java.io.File;
|
||||||
import java.net.URL;
|
import java.net.URL;
|
||||||
|
@ -19,7 +19,7 @@ import hep.dataforge.context.ProcessManager;
|
|||||||
import hep.dataforge.exceptions.StorageException;
|
import hep.dataforge.exceptions.StorageException;
|
||||||
import hep.dataforge.storage.api.Loader;
|
import hep.dataforge.storage.api.Loader;
|
||||||
import hep.dataforge.storage.api.Storage;
|
import hep.dataforge.storage.api.Storage;
|
||||||
import inr.numass.data.NumassData;
|
import inr.numass.storage.NumassData;
|
||||||
import inr.numass.storage.NumassStorage;
|
import inr.numass.storage.NumassStorage;
|
||||||
import java.time.Instant;
|
import java.time.Instant;
|
||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
||||||
|
@ -37,8 +37,8 @@ import hep.dataforge.tables.ListTable;
|
|||||||
import hep.dataforge.tables.MapPoint;
|
import hep.dataforge.tables.MapPoint;
|
||||||
import hep.dataforge.tables.Table;
|
import hep.dataforge.tables.Table;
|
||||||
import hep.dataforge.tables.XYAdapter;
|
import hep.dataforge.tables.XYAdapter;
|
||||||
import inr.numass.data.NMPoint;
|
import inr.numass.storage.NMPoint;
|
||||||
import inr.numass.data.NumassData;
|
import inr.numass.storage.NumassData;
|
||||||
import java.io.File;
|
import java.io.File;
|
||||||
import java.io.IOException;
|
import java.io.IOException;
|
||||||
import java.net.URL;
|
import java.net.URL;
|
||||||
|
Loading…
Reference in New Issue
Block a user