Changeset 7169 for trunk/MagicSoft/Mars/mjobs
- Timestamp:
- 06/17/05 13:33:56 (19 years ago)
- Location:
- trunk/MagicSoft/Mars/mjobs
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mjobs/MJCut.cc
r7142 r7169 331 331 write->AddContainer("MPointingPos", "Events"); 332 332 write->AddContainer("MHillasSrcAnti", "Events", kFALSE); 333 write->AddContainer("MImagePar", "Events", kFALSE); 333 334 write->AddContainer("MNewImagePar", "Events", kFALSE); 334 335 write->AddContainer("MNewImagePar2", "Events", kFALSE); … … 338 339 write->AddContainer("MMcEvt", "Events", kFALSE); 339 340 write->AddContainer("DataType", "Events"); 340 341 // Should not be the default: Either as option, or as342 // setup from resource file343 // write.AddContainer("MHillasExt", "Events");344 // write.AddContainer("MImagePar", "Events");345 // write.AddContainer("MNewImagePar", "Events");346 341 } 347 342 … … 439 434 // Possible source position (eg. Wobble Mode) 440 435 MPointingPos source("MSourcePos"); 441 if (set.GetSourcePos(source)) 442 { 436 if (set.HasSource()) 437 { 438 if (!set.GetSourcePos(source)) 439 return kFALSE; 443 440 plist.AddToList(&source); 444 441 *fLog << inf << "Using Source Position: " << source.GetTitle() << endl; -
trunk/MagicSoft/Mars/mjobs/MJSpectrum.cc
r7148 r7169 637 637 TString str; 638 638 str += Form("(%.2f#pm%.2f)10^{%d}", p1/exp, e1/exp, np); 639 str += Form("(\\frac{E}{TeV})^{ -%.2f#pm%.2f}", p0, e0);639 str += Form("(\\frac{E}{TeV})^{%.2f#pm%.2f}", p0, e0); 640 640 str += "\\frac{ph}{TeVm^{2}s}"; 641 641 … … 814 814 TLatex tex; 815 815 tex.SetBit(TLatex::kTextNDC); 816 tex.DrawLatex(0.7 , 0.93, Form("P(\\chi^{2})=%.0f", p*100));816 tex.DrawLatex(0.75, 0.93, Form("P(\\chi^{2})=%.0f%%", p*100)); 817 817 } 818 818 } … … 1063 1063 } 1064 1064 1065 gLog.Separator("Energy Estimator"); 1066 if (plist.FindObject("EstimateEnergy")) 1067 plist.FindObject("EstimateEnergy")->Print(); 1068 1069 gLog.Separator("Spectrum"); 1070 1065 1071 // -------------------------- Spectrum ---------------------------- 1066 1072
Note:
See TracChangeset
for help on using the changeset viewer.