Subversion Repositories f9daq

Compare Revisions

Ignore whitespace Rev 191 → Rev 192

/drs/drs.C
238,7 → 238,7
for (i=0; i<DWIDTH; i++) {
if (version) t[i]-=(tccalib[ich]-tccalib[0]); // assume ich 0 is connected and always first in the data
y[i]=-0.5+(float)ichdat[ich][i]/0xFFFF;
if (version) y[i]+=evrec.rc;
if (version) y[i]+=evrec.rc/1000.;
h2_dpo[ich]->Fill(t[i],y[i]);
gr_wfm[ich]->SetPoint(i,t[i],y[i]+0.05*(ich-1));
}