Changeset 1672 for branches/alma/src


Ignore:
Timestamp:
01/08/10 12:16:09 (15 years ago)
Author:
Takeshi Nakazato
Message:

New Development: No

JIRA Issue: Yes CAS-1799

Ready to Release: Yes

Interface Changes: No

What Interface Changed: Please list interface changes

Test Programs: List test programs

Put in Release Notes: Yes/No

Module(s): Module Names change impacts.

Description: Describe your changes here...

Bug fix.
Direction informations are correctly stored when a scan contains several
cycles with different direction.


File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/alma/src/STWriter.cpp

    r1661 r1672  
    168168    while (!beamit.pastEnd() ) {
    169169      Table btable = beamit.table();
    170       MDirection::ScalarColumn dirCol(btable, "DIRECTION");
    171       pksrec.direction = dirCol(0).getAngle("rad").getValue();
     170      //MDirection::ScalarColumn dirCol(btable, "DIRECTION");
     171      //pksrec.direction = dirCol(0).getAngle("rad").getValue();
    172172      TableIterator cycit(btable, "CYCLENO");
    173173      ROArrayColumn<Double> srateCol(btable, "SCANRATE");
     
    190190        Table ctable = cycit.table();
    191191        TableIterator ifit(ctable, "IFNO");
    192         //MDirection::ScalarColumn dirCol(ctable, "DIRECTION");
    193         //pksrec.direction = dirCol(0).getAngle("rad").getValue();
     192        MDirection::ScalarColumn dirCol(ctable, "DIRECTION");
     193        pksrec.direction = dirCol(0).getAngle("rad").getValue();
    194194        pksrec.IFno = 1;
    195195        while (!ifit.pastEnd() ) {
Note: See TracChangeset for help on using the changeset viewer.