Changeset 8973 for trunk/MagicSoft/Cosy/tpoint/TPointGui.cc
- Timestamp:
- 06/18/08 13:06:48 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Cosy/tpoint/TPointGui.cc
r8971 r8973 33 33 using namespace std; 34 34 35 TPointGui::TPointGui(const char *fname ) : TGMainFrame(gClient->GetRoot(), 750, 435, kHorizontalFrame), fExitLoopOnClose(kFALSE),35 TPointGui::TPointGui(const char *fname, const char *mod) : TGMainFrame(gClient->GetRoot(), 750, 435, kHorizontalFrame), fExitLoopOnClose(kFALSE), 36 36 fAzMin(-180), fAzMax(180), fZdMin(0), fZdMax(90), fLimit(0.05) 37 37 { … … 274 274 MapWindow(); 275 275 276 if ( fname)276 if (!TString(fname).IsNull()) 277 277 LoadStars(fname); 278 if (!TString(mod).IsNull()) 279 fBending.Load(mod); 278 280 279 281 DisplayBending(); … … 310 312 311 313 Double_t err = 0.01; // [deg] = 0.25SE 312 Double_t res = set.GetResidual(); 314 Double_t res = set.GetResidual();//(&err); 313 315 res /= err; 316 317 cout << err << endl; 314 318 315 319 f += res*res;
Note:
See TracChangeset
for help on using the changeset viewer.