File tree Expand file tree Collapse file tree
src/main/java/org/jlab/clas/timeline/histograms Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11package org .jlab .clas .timeline .histograms ;
22
33import java .util .*;
4- // import org.jlab.clas.pdg.PhysicsConstants;
54
65import 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;
106import org .jlab .io .base .DataBank ;
117import org .jlab .io .base .DataEvent ;
128import org .jlab .groot .data .TDirectory ;
13- // import org.jlab.clas.physics.Particle;
149import org .jlab .utils .groups .IndexedTable ;
15- // import org.jlab.detector.calib.utils.CalibrationConstants;
1610import org .jlab .detector .calib .utils .ConstantsManager ;
1711/**
1812 *
Original file line number Diff line number Diff line change 1414import org .jlab .utils .groups .IndexedTable ;
1515import org .jlab .detector .calib .utils .CalibrationConstants ;
1616import 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
2118public 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 ;
You can’t perform that action at this time.
0 commit comments