Ignore:
Timestamp:
06/18/08 13:06:48 (17 years ago)
Author:
tbretz
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Cosy/tpoint
Files:
2 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;
  • trunk/MagicSoft/Cosy/tpoint/TPointGui.h

    r8971 r8973  
    8686
    8787public:
    88     TPointGui(const char *fname=NULL);
     88    TPointGui(const char *fname=NULL, const char *mod=NULL);
    8989    ~TPointGui();
    9090
Note: See TracChangeset for help on using the changeset viewer.