Changeset 8973 for trunk/MagicSoft/Cosy/tpoint
- Timestamp:
- 06/18/08 13:06:48 (17 years ago)
- Location:
- trunk/MagicSoft/Cosy/tpoint
- Files:
-
- 2 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; -
trunk/MagicSoft/Cosy/tpoint/TPointGui.h
r8971 r8973 86 86 87 87 public: 88 TPointGui(const char *fname=NULL );88 TPointGui(const char *fname=NULL, const char *mod=NULL); 89 89 ~TPointGui(); 90 90
Note:
See TracChangeset
for help on using the changeset viewer.