Ignore:
Timestamp:
06/18/08 13:06:48 (16 years ago)
Author:
tbretz
Message:
*** empty log message ***
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Cosy/tpoint/TPointGui.cc

    r8971 r8973  
    3333using namespace std;
    3434
    35 TPointGui::TPointGui(const char *fname) : TGMainFrame(gClient->GetRoot(), 750, 435, kHorizontalFrame), fExitLoopOnClose(kFALSE),
     35TPointGui::TPointGui(const char *fname, const char *mod) : TGMainFrame(gClient->GetRoot(), 750, 435, kHorizontalFrame), fExitLoopOnClose(kFALSE),
    3636   fAzMin(-180), fAzMax(180), fZdMin(0), fZdMax(90), fLimit(0.05)
    3737{
     
    274274    MapWindow();
    275275
    276     if (fname)
     276    if (!TString(fname).IsNull())
    277277        LoadStars(fname);
     278    if (!TString(mod).IsNull())
     279        fBending.Load(mod);
    278280
    279281    DisplayBending();
     
    310312
    311313        Double_t err = 0.01; // [deg] = 0.25SE
    312         Double_t res = set.GetResidual(); //(&err);
     314        Double_t res = set.GetResidual();//(&err);
    313315        res /= err;
     316
     317        cout << err << endl;
    314318
    315319        f += res*res;
Note: See TracChangeset for help on using the changeset viewer.