Commit e3cb29b2 authored by Muzalevsky I.A's avatar Muzalevsky I.A

script for converting raw data into root file modified

parent 85a2dca8
...@@ -83,13 +83,14 @@ void read1() { ...@@ -83,13 +83,14 @@ void read1() {
line4.ReadLine(myfile4); line4.ReadLine(myfile4);
if( line1.IsNull() ) break; if( line1.IsNull() ) break;
time = 5e-04+ (j-1000*n)*1e-01;
sscanf(line1.Data(), "%lf", &amp1); sscanf(line1.Data(), "%lf", &amp1);
sscanf(line2.Data(), "%lf", &amp2); sscanf(line2.Data(), "%lf", &amp2);
sscanf(line3.Data(), "%lf", &amp3); sscanf(line3.Data(), "%lf", &amp3);
sscanf(line4.Data(), "%lf", &amp4); sscanf(line4.Data(), "%lf", &amp4);
n=j/1000; n=j/1000;
time = 5e-04+ (j-1000*n)*1e-01;
A1[j-1000*n] = amp1; A1[j-1000*n] = amp1;
A2[j-1000*n] = amp2; A2[j-1000*n] = amp2;
A3[j-1000*n] = amp3; A3[j-1000*n] = amp3;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment