Skip to content

Commit 30f7a5d

Browse files
authored
Add the missing upstream fitting in the target window (#465)
1 parent 5d0d333 commit 30f7a5d

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

src/main/java/org/jlab/clas/timeline/analysis/forward/forward_Tracking_EleVz.groovy

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -146,6 +146,12 @@ def write() {
146146

147147
data_upstream.sort{it.key}.each{run,it->
148148
out.cd('/'+it.run)
149+
def h = it.hlist[sec]
150+
def origName = h.getName()
151+
h.setName(origName+'_upstream')
152+
out.addDataSet(h)
153+
h.setName(origName)
154+
it.flist[sec].setName('fit:'+origName+'_upstream')
149155
out.addDataSet(it.flist[sec])
150156
grtl_upstream.addPoint(it.run, it.mean[sec], 0, 0)
151157
def window_length = (data[run].mean[sec] - it.mean[sec]).abs()

0 commit comments

Comments
 (0)