Changeset 2158 for trunk/external-alma/atnf/PKSIO
- Timestamp:
- 04/27/11 17:28:12 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/external-alma/atnf/PKSIO/NROReader.cc
r2156 r2158 552 552 553 553 // beamno 554 string arryt = string( record->ARRYT ) ; 555 string sbeamno = arryt.substr( 1, arryt.size()-1 ) ; 556 uInt ibeamno = atoi( sbeamno.c_str() ) ; 557 beamno = ibeamno - 1 ; 554 string rxname = dataset_->getRX()[0] ; 555 if ( rxname.find("MULT2") != string::npos ) { 556 string arryt = string( record->ARRYT ) ; 557 string sbeamno = arryt.substr( 1, arryt.size()-1 ) ; 558 uInt ibeamno = atoi( sbeamno.c_str() ) ; 559 beamno = ibeamno - 1 ; 560 } 561 else { 562 beamno = 0 ; 563 } 558 564 //cout << "beamno = " << beamno << endl ; 559 565
Note:
See TracChangeset
for help on using the changeset viewer.