Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
package org.jlab.rec.ai.dcCluster;


public class DCCluster{
int id;
int sector;
int superlayer;
float avgWire;
float fitSlope;

public DCCluster(int id, int sector, int superlayer, float avgWire, float fitSlope){
this.id = id;
this.sector = sector;
this.superlayer = superlayer;
this.avgWire = avgWire;
this.fitSlope = fitSlope;
}

public int getId(){
return id;
}

public int getSector(){
return sector;
}

public int getSuperlayer(){
return superlayer;
}

public float getAvgWire(){
return avgWire;
}

public float getFitSlope(){
return fitSlope;
}

}
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
package org.jlab.rec.ai.dcCluster;

import java.util.List;
import java.util.ArrayList;

public class DCClusterCombo extends ArrayList<DCCluster> {

private int id = -1;
private int missingSL = -1;
private float probability = -1;

public DCClusterCombo(List<DCCluster> clsList) {
super(clsList);
}

public DCClusterCombo(List<DCCluster> clsList, int missingSL) {
super(clsList);
this.missingSL = missingSL;
}

public int getMissingSL() {
return missingSL;
}

public void setProbability(float probability){
this.probability = probability;
}

public float getProbability(){
return probability;
}

public void setId(int id){
this.id = id;
}

public int getId(){
return id;
}
}
Loading