Changeset 2029 in Sophya
- Timestamp:
- May 30, 2002, 2:32:45 PM (23 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/ArchTOIPipe/ProcWSophya/simoffset.cc
r2014 r2029 82 82 83 83 bool fgoffset = checkOutputTOIIndex(0); 84 bool fgbgal = checkOutputTOIIndex(1); 84 85 bool fgout = checkOutputTOIIndex(1); 85 86 bool fgincopie = checkOutputTOIIndex(2); … … 94 95 throw ParmError("SimpleOffsetEstimator::run() Input TOI (in) not connected!"); 95 96 } 96 if (bgalcut && ! checkInputTOIIndex(1)) {97 if (bgalcut && !fgbgal) { 97 98 cerr << " SimpleOffsetEstimator::run() - Input TOI bgal not connected! " 98 99 << endl; 99 100 throw ParmError("SimpleOffsetEstimator::run() Input TOI bgal not connected!"); 100 101 } 102 if (fgbgalcopie && !fgbgal) { 103 cerr << " SimpleOffsetEstimator::run() - Output TOI bgalcopie connected without input TOI bgal!" 104 << endl; 105 throw ParmError("SimpleOffsetEstimator::run() Output TOI bgalcopie connected without input TOI bgal!"); 106 } 101 107 if (!fgoffset && !fgout) { 102 cerr << " SimpleOffsetEstimator::run() - No Output TOI (offset/in-offset) connected!"108 cerr << " SimpleOffsetEstimator::run() - No output TOI (offset/in-offset) connected!" 103 109 << endl; 104 110 throw ParmError(" SimpleOffsetEstimator::run() No output TOI (offset/in-offset) connected!"); … … 169 175 170 176 getData(0, k, wsize, vin.Data(), vfg.Data()); 171 if ( bgalcut) {177 if (fgbgal) { 172 178 getData(1, k, wsize, bgal.Data()); 173 179 if (fgbgalcopie) putData(3, k, wsize, bgal.Data()); … … 367 373 getData(0, k, wsize, vin.Data(), vfg.Data()); 368 374 369 if ( bgalcut) {375 if (fgbgal) { 370 376 getData(1, k, wsize, bgal.Data()); 371 377 if (fgbgalcopie) putData(3, k, wsize, bgal.Data());
Note:
See TracChangeset
for help on using the changeset viewer.