Changeset 2668 in Sophya for trunk/SophyaPI
- Timestamp:
- Apr 15, 2005, 1:52:47 PM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SophyaPI/PIext/servnobjm.cc
r2615 r2668 900 900 901 901 double xnt[10]; 902 float fxnt[10];903 902 904 903 int i,k; 905 for(i=0; i<10; i++) fxnt[i] =xnt[i] = 0.;904 for(i=0; i<10; i++) xnt[i] = 0.; 906 905 907 906 … … 925 924 xn = objnt->GetLineD(k); 926 925 if (f((int_8_exprf)k, xn, xnt, xnt+1, xnt+2, xnt+3, (int_8_exprf)kstart,(int_8_exprf) kend) != 0) { 927 if (nt) { 928 for(int i=0; i<4; i++) fxnt[i] = xnt[i]; 929 nt->Fill(fxnt); 930 } 926 if (nt) nt->Fill(xnt); 931 927 } 932 928 } … … 1179 1175 1180 1176 double xnt[10]; 1181 float fxnt[10];1182 1177 1183 1178 int_8 k; … … 1196 1191 xn = objnt->GetLineD(k); 1197 1192 if (f((int_8_exprf)k,xn, xnt, xnt+1, xnt+2, xnt+3) != 0) { 1198 if (nt) { 1199 for(int i=0; i<4; i++) fxnt[i] = xnt[i]; 1200 nt->Fill(fxnt); 1201 } 1193 if (nt) nt->Fill(xnt); 1202 1194 if (h1) h1->Add(xnt[0], xnt[3]); 1203 1195 if (h2) h2->Add(xnt[0], xnt[1], xnt[3]);
Note:
See TracChangeset
for help on using the changeset viewer.