Ignore:
Timestamp:
02/13/09 11:27:42 (15 years ago)
Author:
Malte Marquarding
Message:

Fix for ticket #151: added facilities to help with on/off scan identification/setting

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/STFiller.cpp

    r1467 r1504  
    4444  reader_(0),
    4545  header_(0),
    46   table_(0)
     46  table_(0),
     47  refRx_(".*(e|w|_R)$")
    4748{
    4849}
     
    5152  reader_(0),
    5253  header_(0),
    53   table_(stbl)
     54  table_(stbl),
     55  refRx_(".*(e|w|_R)$")
    5456{
    5557}
     
    5860  reader_(0),
    5961  header_(0),
    60   table_(0)
     62  table_(0),
     63  refRx_(".*(e|w|_R)$")
    6164{
    6265  open(filename, whichIF, whichBeam);
     
    276279    *fieldnCol = pksrec.fieldName;
    277280    // try to auto-identify if it is on or off.
    278     Regex rx(".*(e|w|_R)$");
     281    Regex rx(refRx_);
    279282    Regex rx2("_S$");
    280283    Int match = pksrec.srcName.matches(rx);
Note: See TracChangeset for help on using the changeset viewer.