Changeset 3910 in Sophya for trunk/AddOn/TAcq


Ignore:
Timestamp:
Nov 21, 2010, 2:36:06 PM (15 years ago)
Author:
ansari
Message:

Oubli appel a UpdateChanIds() + correction print, Reza 21/11/2010

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/AddOn/TAcq/brviscalc.cc

    r3909 r3910  
    185185  poc << PPFNameTag("chanpairsall") << chanpairsall_;
    186186  poc << PPFNameTag("chanpairnumal") << chanpairnumall_;
    187   cout << "BRVisibilityCalculator::UpdateChanIds() Channel Ids/Pairs saved to PPF file " << filename << endl;
     187  cout << "BRVisibilityCalculator[" << calcid_ << "]::UpdateChanIds() Channel Ids/Pairs saved to PPF file "
     188       << filename << endl;
     189  cout << " ... ChannelPairs= " ;
     190  for(sa_size_t ir=0; ir<chanpairs_.NRows(); ir++) {
     191    if (ir%10)  cout << endl;
     192    cout << "(" << chanpairs_(ir,0) << "," << chanpairs_(ir,1) << ") ";
     193  }
     194  cout << endl;
    188195  return;
    189196}
     
    249256      }
    250257      cts_=memgr_.GetAuxData(mid)->FillTime();   // get associated date/time (DATEOBS)
     258      if (totnbpaq_==0) UpdateChanIds();  // Appele ici pour etre sur que le thread de remplissage a mis l'info a jour.
    251259
    252260      for(size_t fib=0; fib<(size_t)memgr_.NbFibres(); fib++) {
     
    341349int BRVisibilityCalculator::Process()
    342350{
    343    
     351  if (totnbpaq_==0) UpdateChanIds();  // Appele ici pour etre sur que le thread de remplissage a mis l'info a jour.
    344352  for(size_t fib=0; fib<(size_t)memgr_.NbFibres(); fib++) {
    345353    vpdata_[2*fib] = vpaq_[fib].Data1C();
Note: See TracChangeset for help on using the changeset viewer.