Changeset 154 for GLBFrejus/HEAD/run/discoCP.C
- Timestamp:
- May 30, 2006, 11:32:37 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GLBFrejus/HEAD/run/discoCP.C
r2 r154 9 9 Double_t logSin2EdgeMin = logSin2Min - logSin2BinWidth/2.; 10 10 11 Int_t nDeltaCP = 21;11 Int_t nDeltaCP = 41; 12 12 Double_t deltaMin = 0.; //rad/pi 13 Double_t deltaMax = 1.;13 Double_t deltaMax = 2.; 14 14 Double_t deltaBinWidth = (deltaMax - deltaMin)/double(nDeltaCP-1.); 15 15 Double_t deltaEdgeMax = deltaMax + deltaBinWidth/2.; … … 46 46 47 47 48 TFile f1("./SPLCPDisco very2p100-h0-o0.root");48 TFile f1("./SPLCPDisco-h0-o0.root"); 49 49 TTree* tree1 = (TTree*)f1.Get("SplGlb"); 50 50 TH2D* histo1 = new TH2D("histo1"," Theta vs Delta", … … 60 60 overlay->cd(); 61 61 histo1->Draw("CONT3 SAME"); 62 leg->AddEntry(histo1," syst. 2\%","l");62 leg->AddEntry(histo1,"H^{t} Us","l"); 63 63 64 64 65 TPaveLabel* text = new TPaveLabel(-3. 6,1.,-2.5,1.1,"true sin^{2}(#theta_{23})=0.5");65 TPaveLabel* text = new TPaveLabel(-3.0,1.,-2.5,1.1,"true sin^{2}#theta_{23}=0.5"); 66 66 text->SetBorderSize(0); 67 67 text->SetFillColor(10); … … 71 71 72 72 73 TFile f2("./SPLCPDisco very3p100-h0-o0.root");73 TFile f2("./SPLCPDiscoRefereeA-h0-o0.root"); 74 74 TTree* tree2 = (TTree*)f2.Get("SplGlb"); 75 75 TH2D* histo2 = new TH2D("histo2"," Theta vs Delta", … … 81 81 histo2->SetContour(1); 82 82 histo2->SetContourLevel(0,9); //Chi2 for 1 dof and 3sigma 83 histo2->SetLineColor( 5); //yellow83 histo2->SetLineColor(2); //red 84 84 overlay->cd(); 85 85 histo2->Draw("CONT3 SAME"); 86 leg->AddEntry(histo2," syst. 3\%","l");86 leg->AddEntry(histo2,"H^{t} Ref.A","l"); 87 87 88 88 89 TFile f3("./SPLCPDisco very5p100-h0-o0.root");89 TFile f3("./SPLCPDisco-h1-o0.root"); 90 90 TTree* tree3 = (TTree*)f3.Get("SplGlb"); 91 91 TH2D* histo3 = new TH2D("histo3"," Theta vs Delta", … … 97 97 histo3->SetContour(1); 98 98 histo3->SetContourLevel(0,9); //Chi2 for 1 dof and 3sigma 99 //histo3->SetLineStyle(2); //dashed100 histo3->SetLineColor( 3); //green99 histo3->SetLineStyle(2); //dashed 100 histo3->SetLineColor(4); //blue 101 101 overlay->cd(); 102 102 histo3->Draw("CONT3 SAME"); 103 leg->AddEntry(histo3," syst. 5%","l");103 leg->AddEntry(histo3,"H^{w} Us","l"); 104 104 105 105 106 TFile f4("./SPLCPDisco very10p100-h0-o0.root");106 TFile f4("./SPLCPDiscoRefereeA-h1-o0.root"); 107 107 TTree* tree4 = (TTree*)f4.Get("SplGlb"); 108 108 TH2D* histo4 = new TH2D("histo4"," Theta vs Delta", … … 114 114 histo4->SetContour(1); 115 115 histo4->SetContourLevel(0,9); //Chi2 for 1 dof and 3sigma 116 //histo4->SetLineStyle(2); //dashed116 histo4->SetLineStyle(2); //dashed 117 117 histo4->SetLineColor(2); //red 118 118 overlay->cd(); 119 119 histo4->Draw("CONT3 SAME"); 120 leg->AddEntry(histo4," syst. 10%","l");120 leg->AddEntry(histo4,"H^{w} Ref. A","l"); 121 121 122 TFile f5("./SPLCPDiscoveryFake-h1-o0.root");123 TTree* tree5 = (TTree*)f5.Get("SplGlb");124 TH2D* histo5 = new TH2D("histo5"," Theta vs Delta",125 nLogSin22q13,logSin2EdgeMin,logSin2EdgeMax,126 nDeltaCP,deltaEdgeMin,deltaEdgeMax127 );128 tree5->Project(histo5->GetName(),"deltaCP/pi:TMath::Log10(pow(sin(2*theta13),2))","chi2");122 // TFile f5("./SPLCPDiscoveryFake-h1-o0.root"); 123 // TTree* tree5 = (TTree*)f5.Get("SplGlb"); 124 // TH2D* histo5 = new TH2D("histo5"," Theta vs Delta", 125 // nLogSin22q13,logSin2EdgeMin,logSin2EdgeMax, 126 // nDeltaCP,deltaEdgeMin,deltaEdgeMax 127 // ); 128 // tree5->Project(histo5->GetName(),"deltaCP/pi:TMath::Log10(pow(sin(2*theta13),2))","chi2"); 129 129 130 histo5->SetContour(1);131 histo5->SetContourLevel(0,9); //Chi2 for 1 dof and 3sigma132 histo5->SetLineStyle(2); //dashed133 histo5->SetLineColor(4); //red134 overlay->cd();135 histo5->Draw("CONT3 SAME");136 leg->AddEntry(histo5,"syst 2%, Fake Hier","l");130 // histo5->SetContour(1); 131 // histo5->SetContourLevel(0,9); //Chi2 for 1 dof and 3sigma 132 // histo5->SetLineStyle(2); //dashed 133 // histo5->SetLineColor(4); //red 134 // overlay->cd(); 135 // histo5->Draw("CONT3 SAME"); 136 // leg->AddEntry(histo5,"syst 2%, Fake Hier","l"); 137 137 138 138
Note: See TracChangeset
for help on using the changeset viewer.