Skip to content

Commit baff078

Browse files
authored
feat: change ATOF time window to -5,5 (#458)
1 parent aa51cce commit baff078

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

src/main/java/org/jlab/clas/timeline/analysis/alert/alert_atof_time.groovy

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ def has_data = new AtomicBoolean(false)
2424
data[run].put(String.format('atof_time_%02d', component), h1)
2525
def f1 = ALERTFitter.atof_time_fitter(h1,component)
2626
data[run].put(String.format('fit_atof_time_%02d', component), f1)
27-
data[run].put(String.format('peak_location_atof_time_%02d', component), f1.getParameter(1).abs())
27+
data[run].put(String.format('peak_location_atof_time_%02d', component), f1.getParameter(1))
2828
data[run].put(String.format('sigma_atof_time_%02d', component), f1.getParameter(2).abs())
2929
has_data.set(true)
3030
}

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ public ALERT(int reqrunNum, String reqOutputDir, float reqEb, boolean reqTimeBas
6161

6262
for (int component = 0; component < 11; component++) {
6363

64-
ATOF_Time[component] = new H1F(String.format("ATOF_Time_component%02d", component), String.format("ATOF Time component%02d", component), 240, 83, 95);
64+
ATOF_Time[component] = new H1F(String.format("ATOF_Time_component%02d", component), String.format("ATOF Time component%02d", component), 200, -5, 5);
6565
ATOF_Time[component].setTitleX("ATOF Time (ns)");
6666
ATOF_Time[component].setTitleY("Counts");
6767
ATOF_Time[component].setFillColor(4);

0 commit comments

Comments
 (0)