Skip to content

Commit a1d519e

Browse files
committed
fix(ALERT, FT): unused imports and variables
Fix compiler warnings
1 parent 8e1aedb commit a1d519e

2 files changed

Lines changed: 0 additions & 11 deletions

File tree

src/main/java/org/jlab/clas/timeline/histograms/ALERT.java

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,12 @@
11
package org.jlab.clas.timeline.histograms;
22

33
import java.util.*;
4-
// import org.jlab.clas.pdg.PhysicsConstants;
54

65
import org.jlab.groot.data.H1F;
7-
// import org.jlab.groot.data.H2F;
8-
import org.jlab.groot.math.F1D;
9-
// import org.jlab.groot.fitter.DataFitter;
106
import org.jlab.io.base.DataBank;
117
import org.jlab.io.base.DataEvent;
128
import org.jlab.groot.data.TDirectory;
13-
// import org.jlab.clas.physics.Particle;
149
import org.jlab.utils.groups.IndexedTable;
15-
// import org.jlab.detector.calib.utils.CalibrationConstants;
1610
import org.jlab.detector.calib.utils.ConstantsManager;
1711
/**
1812
*

src/main/java/org/jlab/clas/timeline/histograms/FT.java

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,6 @@
1414
import org.jlab.utils.groups.IndexedTable;
1515
import org.jlab.detector.calib.utils.CalibrationConstants;
1616
import org.jlab.detector.calib.utils.ConstantsManager;
17-
import org.jlab.groot.base.GStyle;
18-
import org.jlab.groot.ui.TCanvas;
19-
import org.jlab.io.hipo.HipoDataSource;
2017

2118
public class FT {
2219

@@ -323,13 +320,11 @@ public void fillFTCalo(DataBank ftPart, DataBank CalClusters) {
323320
int calID = ftPart.getShort("calID", loop);
324321
double theta = Math.toDegrees(Math.acos(cz));
325322

326-
double energyR = 0;
327323
int size = 0;
328324
double path = 0;
329325
vz = triggerVZ;
330326
for (int i = 0; i < CalClusters.rows(); i++) {
331327
if (calID == CalClusters.getShort("id", i)) {
332-
energyR = CalClusters.getFloat("recEnergy", i);
333328
size = CalClusters.getInt("size", i);
334329
double x = CalClusters.getFloat("x", i) - vx;
335330
double y = CalClusters.getFloat("y", i) - vy;

0 commit comments

Comments
 (0)