Skip to content

Commit 828cff8

Browse files
tongtongcaobaltzell
authored andcommitted
recover pruner for DC clustering and apply j4ml v1.0
1 parent 9997847 commit 828cff8

File tree

3 files changed

+6
-13
lines changed

3 files changed

+6
-13
lines changed

common-tools/coat-lib/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,13 +64,13 @@
6464
<dependency>
6565
<groupId>j4ml</groupId>
6666
<artifactId>j4ml-neuroph</artifactId>
67-
<version>0.9-SNAPSHOT</version>
67+
<version>1.0</version>
6868
</dependency>
6969

7070
<dependency>
7171
<groupId>j4ml</groupId>
7272
<artifactId>j4ml-clas12</artifactId>
73-
<version>0.9-SNAPSHOT</version>
73+
<version>1.0</version>
7474
</dependency>
7575

7676
<dependency>

reconstruction/dc/src/main/java/org/jlab/rec/dc/cluster/ClusterFinder.java

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -182,8 +182,7 @@ public List<FittedCluster> FindHitBasedClusters(List<Hit> allhits, ClusterCleane
182182

183183
//find clumps of hits init
184184
List<Cluster> clusters = this.findClumps(allhits, ct);
185-
186-
/*
185+
187186
allhits.clear();
188187

189188
for (Cluster clus : clusters) {
@@ -194,13 +193,7 @@ public List<FittedCluster> FindHitBasedClusters(List<Hit> allhits, ClusterCleane
194193
this.fillHitArray(allhits, 0);
195194
clusters.clear();
196195
clusters = this.findClumps(allhits, ct);
197-
*/
198-
199-
//Sort hits in clusters
200-
for (Cluster clus : clusters) {
201-
Collections.sort(clus);
202-
}
203-
196+
204197
// create cluster list to be fitted
205198
List<FittedCluster> selectedClusList = new ArrayList<>();
206199

reconstruction/mltn/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,13 +22,13 @@
2222
<dependency>
2323
<groupId>j4ml</groupId>
2424
<artifactId>j4ml-neuroph</artifactId>
25-
<version>0.9-SNAPSHOT</version>
25+
<version>1.0</version>
2626
</dependency>
2727

2828
<dependency>
2929
<groupId>j4ml</groupId>
3030
<artifactId>j4ml-clas12</artifactId>
31-
<version>0.9-SNAPSHOT</version>
31+
<version>1.0</version>
3232
</dependency>
3333

3434
<dependency>

0 commit comments

Comments
 (0)