Changeset 19304 for trunk/Mars/mhflux
- Timestamp:
- 10/25/18 19:42:25 (6 years ago)
- Location:
- trunk/Mars/mhflux
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Mars/mhflux/MHAlpha.cc
r18957 r19304 93 93 fHist.SetXTitle("\\Theta [deg]"); 94 94 //fHist.SetYTitle("E_{est} [GeV]"); 95 fHist.SetZTitle("|\\alpha| [ \\circ]");95 fHist.SetZTitle("|\\alpha| [#circ]"); 96 96 fHist.SetDirectory(NULL); 97 97 fHist.UseCurrentStyle(); … … 99 99 // Main histogram 100 100 fHistTime.SetName("Alpha"); 101 fHistTime.SetXTitle("|\\alpha| [ \\circ]");101 fHistTime.SetXTitle("|\\alpha| [#circ]"); 102 102 fHistTime.SetYTitle("Counts"); 103 103 fHistTime.UseCurrentStyle(); … … 113 113 fHTheta.SetName("ExcessTheta"); 114 114 fHTheta.SetTitle(" N_{exc} vs. \\Theta "); 115 fHTheta.SetXTitle("\\Theta [ \\circ]");115 fHTheta.SetXTitle("\\Theta [#circ]"); 116 116 fHTheta.SetYTitle("N_{exc}"); 117 117 fHTheta.SetDirectory(NULL); … … 800 800 h = (TH1D*)fHist.Project3D("x"); 801 801 h->SetBit(TH1::kNoTitle|TH1::kNoStats); 802 h->SetXTitle("\\theta [ \\circ]");802 h->SetXTitle("\\theta [#circ]"); 803 803 h->SetYTitle("Counts"); 804 804 h->SetDirectory(NULL); -
trunk/Mars/mhflux/MHCollectionArea.cc
r9851 r19304 390 390 /* 391 391 h = fHistAll.ProjectionX("ProjAllX", -1, -1, "E"); 392 h->SetXTitle("\\Theta [ \\circ]");392 h->SetXTitle("\\Theta [#circ]"); 393 393 h->SetDirectory(NULL); 394 394 h->SetLineColor(kGreen); … … 397 397 */ 398 398 h = fHistSel.ProjectionX("ProjSelX", -1, -1, "E"); 399 h->SetXTitle("\\Theta [ \\circ]");399 h->SetXTitle("\\Theta [#circ]"); 400 400 h->SetDirectory(NULL); 401 401 h->SetLineColor(kRed); -
trunk/Mars/mhflux/MHDisp.cc
r19248 r19304 82 82 fHist.SetName("Alpha"); 83 83 fHist.SetTitle("3D-plot of ThetaSq vs x, y"); 84 fHist.SetXTitle("dx [ \\circ]");85 fHist.SetYTitle("dy [ \\circ]");84 fHist.SetXTitle("dx [#circ]"); 85 fHist.SetYTitle("dy [#circ]"); 86 86 fHist.SetZTitle("Eq.cts"); 87 87 … … 624 624 h2->Fit(&func, "IQ", "", 0, 1.0); 625 625 626 h2->SetTitle(MString::Format("P=(%.2f \\circ/%.2f\\circ) \\omega=%.2f\\circ f=%.2f",626 h2->SetTitle(MString::Format("P=(%.2f#circ/%.2f#circ) \\omega=%.2f#circ f=%.2f", 627 627 x0, y0, func.GetParameter(2), TMath::Abs(scale))); 628 628 } … … 709 709 //TH1F *h = new TH1F("RadProf", "Radial Profile", nbin, 0, maxr); 710 710 //h->Sumw2(); 711 h->SetXTitle("\\vartheta [ \\circ]");711 h->SetXTitle("\\vartheta [#circ]"); 712 712 h->SetYTitle("<cts>/\\Delta R"); 713 713 h->SetBit(kCanDelete); -
trunk/Mars/mhflux/MHEffectiveOnTime.cc
r9851 r19304 318 318 fH2DeltaT.SetName("DeltaT"); 319 319 fH2DeltaT.SetXTitle("\\Delta t [s]"); 320 fH2DeltaT.SetYTitle("\\Theta [ \\circ]");320 fH2DeltaT.SetYTitle("\\Theta [#circ]"); 321 321 fH2DeltaT.SetZTitle("Count"); 322 322 fH2DeltaT.UseCurrentStyle(); … … 333 333 fHThetaEffOn.SetName("EffOnTheta"); 334 334 fHThetaEffOn.SetTitle("Effective On Time T_{eff}"); 335 fHThetaEffOn.SetXTitle("\\Theta [ \\circ]");335 fHThetaEffOn.SetXTitle("\\Theta [#circ]"); 336 336 fHThetaEffOn.SetYTitle("T_{eff} [s]"); 337 337 fHThetaEffOn.UseCurrentStyle(); … … 359 359 fHThetaProb.SetName("ProbTheta"); 360 360 fHThetaProb.SetTitle("\\chi^{2} Probability of Fit"); 361 fHThetaProb.SetXTitle("\\Theta [ \\circ]");361 fHThetaProb.SetXTitle("\\Theta [#circ]"); 362 362 fHThetaProb.SetYTitle("p [%]"); 363 363 fHThetaProb.UseCurrentStyle(); … … 386 386 fHThetaLambda.SetName("LambdaTheta"); 387 387 fHThetaLambda.SetTitle("Slope (Rate) vs Theta"); 388 fHThetaLambda.SetXTitle("\\Theta [ \\circ]");388 fHThetaLambda.SetXTitle("\\Theta [#circ]"); 389 389 fHThetaLambda.SetYTitle("\\lambda [s^{-1}]"); 390 390 fHThetaLambda.UseCurrentStyle(); … … 395 395 fHTimeLambda.SetName("LambdaTime"); 396 396 fHTimeLambda.SetTitle("Slope (Rate) vs Time"); 397 fHTimeLambda.SetXTitle("\\Time [ \\circ]");397 fHTimeLambda.SetXTitle("\\Time [#circ]"); 398 398 fHTimeLambda.SetYTitle("\\lambda [s^{-1}]"); 399 399 fHTimeLambda.UseCurrentStyle(); … … 408 408 fHThetaNDF.SetName("NDofTheta"); 409 409 fHThetaNDF.SetTitle("Number of Degrees of freedom vs Theta"); 410 fHThetaNDF.SetXTitle("\\Theta [ \\circ]");410 fHThetaNDF.SetXTitle("\\Theta [#circ]"); 411 411 fHThetaNDF.SetYTitle("NDoF [#]"); 412 412 fHThetaNDF.UseCurrentStyle(); … … 1038 1038 gPad->SetBorderMode(0); 1039 1039 h = fH2DeltaT.ProjectionY("ProjTheta"/*fNameProjTheta*/, -1, -1, "E"); 1040 h->SetTitle("Distribution of \\Theta [ \\circ]");1041 h->SetXTitle("\\Theta [ \\circ]");1040 h->SetTitle("Distribution of \\Theta [#circ]"); 1041 h->SetXTitle("\\Theta [#circ]"); 1042 1042 h->SetYTitle("Counts"); 1043 1043 h->SetDirectory(NULL); -
trunk/Mars/mhflux/MHEnergyEst.cc
r10281 r19304 85 85 fHEnergy.SetXTitle("E_{est} [GeV]"); 86 86 fHEnergy.SetYTitle("E_{mc} [GeV]"); 87 fHEnergy.SetZTitle("\\Theta [ \\circ]");87 fHEnergy.SetZTitle("\\Theta [#circ]"); 88 88 89 89 fHResolutionEst.SetDirectory(NULL); -
trunk/Mars/mhflux/MHFalseSource.cc
r19248 r19304 174 174 fHist.SetName("Alpha"); 175 175 fHist.SetTitle("3D-plot of Alpha vs x, y"); 176 fHist.SetXTitle("x [ \\circ]");177 fHist.SetYTitle("y [ \\circ]");178 fHist.SetZTitle("\\alpha [ \\circ]");176 fHist.SetXTitle("x [#circ]"); 177 fHist.SetYTitle("y [#circ]"); 178 fHist.SetZTitle("\\alpha [#circ]"); 179 179 } 180 180 … … 407 407 const Float_t cut1 = axe.GetBinLowEdge(f); 408 408 const Float_t cut2 = axe.GetBinUpEdge(l); 409 h2->SetTitle(MString::Format("Distribution of %.1f \\circ<|\\alpha|<%.1f\\circ in x,y", cut1, cut2));409 h2->SetTitle(MString::Format("Distribution of %.1f#circ<|\\alpha|<%.1f#circ in x,y", cut1, cut2)); 410 410 411 411 // Get projection for range … … 444 444 axe.SetRangeUser(0, fAlphaCut); 445 445 const Float_t cut = axe.GetBinUpEdge(axe.GetLast()); 446 h3->SetTitle(MString::Format("Distribution of |\\alpha|<%.1f \\circ in x,y", cut));446 h3->SetTitle(MString::Format("Distribution of |\\alpha|<%.1f#circ in x,y", cut)); 447 447 448 448 // Get projection for range … … 932 932 histb->Reset(); 933 933 hist->SetNameTitle("Significance", 934 MString::Format("Fit Region: Signal<%.1f \\circ, %.1f\\circ<Bg<%.1f\\circ",934 MString::Format("Fit Region: Signal<%.1f#circ, %.1f#circ<Bg<%.1f#circ", 935 935 sigmax, bgmin, bgmax)); 936 936 hists->SetName("Excess"); … … 1050 1050 h0b.GetXaxis()->SetRangeUser(0, maxalpha0*1.5); 1051 1051 1052 hists->SetTitle(MString::Format("Excess events for \\alpha<%.0f \\circ (N_{max}=%d)", sigint, (int)hists->GetMaximum()));1053 histb->SetTitle(MString::Format("Background events for \\alpha<%.0f \\circ", sigint));1052 hists->SetTitle(MString::Format("Excess events for \\alpha<%.0f#circ (N_{max}=%d)", sigint, (int)hists->GetMaximum())); 1053 histb->SetTitle(MString::Format("Background events for \\alpha<%.0f#circ", sigint)); 1054 1054 1055 1055 //hists->SetMinimum(GetMinimumGT(*hists)); … … 1150 1150 h->SetNameTitle("Result \\alpha", title); 1151 1151 h->SetBit(kCanDelete); 1152 h->SetXTitle("\\alpha [ \\circ]");1152 h->SetXTitle("\\alpha [#circ]"); 1153 1153 h->SetYTitle("Counts"); 1154 1154 h->Draw(); … … 1167 1167 hof->SetNameTitle("Result \\alpha", title); 1168 1168 hof->SetBit(kCanDelete); 1169 hof->SetXTitle("\\alpha [ \\circ]");1169 hof->SetXTitle("\\alpha [#circ]"); 1170 1170 hof->SetYTitle("Counts"); 1171 1171 hof->Draw("same"); … … 1176 1176 diff->SetNameTitle("Result On-Off \\alpha", title); 1177 1177 diff->SetBit(kCanDelete); 1178 diff->SetXTitle("\\alpha [ \\circ]");1178 diff->SetXTitle("\\alpha [#circ]"); 1179 1179 diff->SetYTitle("Counts"); 1180 1180 diff->Draw("same"); … … 1239 1239 1240 1240 g->SetNameTitle("SigVs\\alpha", "Significance vs \\alpha"); 1241 g->GetHistogram()->SetXTitle("\\alpha_{0} [ \\circ]");1241 g->GetHistogram()->SetXTitle("\\alpha_{0} [#circ]"); 1242 1242 g->GetHistogram()->SetYTitle("Significance"); 1243 1243 g->SetBit(kCanDelete); … … 1247 1247 leg->SetBorderSize(1); 1248 1248 leg->SetTextSize(0.1); 1249 leg->AddText(MString::Format("S_{max}=%.1f\\sigma at \\alpha_{max}=%d \\circ", maxsig, max));1249 leg->AddText(MString::Format("S_{max}=%.1f\\sigma at \\alpha_{max}=%d#circ", maxsig, max)); 1250 1250 leg->SetBit(kCanDelete); 1251 1251 leg->Draw(); … … 1420 1420 tex.SetTextAlign(21); 1421 1421 tex.SetTextSize(0.04); 1422 tex.DrawLatex(-0.79, -0.8, "43.0 \\circ");1423 tex.DrawLatex(-0.78, 0.2, "42.0 \\circ");1422 tex.DrawLatex(-0.79, -0.8, "43.0#circ"); 1423 tex.DrawLatex(-0.78, 0.2, "42.0#circ"); 1424 1424 1425 1425 tex.SetTextAngle(-90); -
trunk/Mars/mhflux/MHPhi.cc
r9576 r19304 86 86 // Init Graphs 87 87 fHPhi.SetNameTitle("Phi", "\\Delta\\Phi-Distribution"); 88 fHPhi.SetXTitle("\\Delta\\Phi' [ \\circ]");88 fHPhi.SetXTitle("\\Delta\\Phi' [#circ]"); 89 89 fHPhi.SetYTitle("Counts"); 90 90 … … 111 111 112 112 fHInhom.SetNameTitle("Inhomogeneity", "\\Delta\\Phi-Distribution"); 113 fHInhom.SetXTitle("\\Delta\\Phi' [ \\circ]");113 fHInhom.SetXTitle("\\Delta\\Phi' [#circ]"); 114 114 fHInhom.SetYTitle("Counts"); 115 115 fHInhom.Sumw2(); … … 432 432 const Double_t S = MMath::SignificanceLiMaSigned(sig, bg, f); 433 433 434 const TString fmt = Form("\\sigma_{L/M}=%.1f (\\sigma_{0}=%.1f) \\Delta\\Phi_{on}<%.1f \\circ E=%.0f B=%.0f f=%.2f",434 const TString fmt = Form("\\sigma_{L/M}=%.1f (\\sigma_{0}=%.1f) \\Delta\\Phi_{on}<%.1f#circ E=%.0f B=%.0f f=%.2f", 435 435 S, S0, cut, sig-bg*f, bg*f, f); 436 436
Note:
See TracChangeset
for help on using the changeset viewer.