Ignore:
Timestamp:
May 30, 2006, 11:32:37 AM (18 years ago)
Author:
campagne
Message:

new version

File:
1 edited

Legend:

Unmodified
Added
Removed
  • GLBFrejus/HEAD/run/discoCP.C

    r2 r154  
    99  Double_t logSin2EdgeMin = logSin2Min - logSin2BinWidth/2.;
    1010
    11   Int_t nDeltaCP  = 21;
     11  Int_t nDeltaCP  = 41;
    1212  Double_t deltaMin = 0.; //rad/pi
    13   Double_t deltaMax =  1.;
     13  Double_t deltaMax =  2.;
    1414  Double_t deltaBinWidth = (deltaMax - deltaMin)/double(nDeltaCP-1.);
    1515  Double_t deltaEdgeMax = deltaMax + deltaBinWidth/2.;
     
    4646
    4747
    48   TFile f1("./SPLCPDiscovery2p100-h0-o0.root");
     48  TFile f1("./SPLCPDisco-h0-o0.root");
    4949  TTree* tree1 = (TTree*)f1.Get("SplGlb");
    5050  TH2D* histo1 = new TH2D("histo1"," Theta vs Delta",
     
    6060  overlay->cd();
    6161  histo1->Draw("CONT3 SAME");
    62   leg->AddEntry(histo1,"syst. 2\%","l");
     62  leg->AddEntry(histo1,"H^{t} Us","l");
    6363
    6464
    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");
    6666  text->SetBorderSize(0);
    6767  text->SetFillColor(10);
     
    7171
    7272
    73   TFile f2("./SPLCPDiscovery3p100-h0-o0.root");
     73  TFile f2("./SPLCPDiscoRefereeA-h0-o0.root");
    7474  TTree* tree2 = (TTree*)f2.Get("SplGlb");
    7575  TH2D* histo2 = new TH2D("histo2"," Theta vs Delta",
     
    8181  histo2->SetContour(1);
    8282  histo2->SetContourLevel(0,9); //Chi2 for 1 dof and 3sigma
    83   histo2->SetLineColor(5); //yellow
     83  histo2->SetLineColor(2); //red
    8484  overlay->cd();
    8585  histo2->Draw("CONT3 SAME");
    86   leg->AddEntry(histo2,"syst. 3\%","l");
     86  leg->AddEntry(histo2,"H^{t} Ref.A","l");
    8787
    8888
    89   TFile f3("./SPLCPDiscovery5p100-h0-o0.root");
     89  TFile f3("./SPLCPDisco-h1-o0.root");
    9090  TTree* tree3 = (TTree*)f3.Get("SplGlb");
    9191  TH2D* histo3 = new TH2D("histo3"," Theta vs Delta",
     
    9797  histo3->SetContour(1);
    9898  histo3->SetContourLevel(0,9); //Chi2 for 1 dof and 3sigma
    99   //  histo3->SetLineStyle(2); //dashed
    100   histo3->SetLineColor(3); //green
     99  histo3->SetLineStyle(2); //dashed
     100  histo3->SetLineColor(4); //blue
    101101  overlay->cd();
    102102  histo3->Draw("CONT3 SAME");
    103   leg->AddEntry(histo3,"syst. 5%","l");
     103  leg->AddEntry(histo3,"H^{w} Us","l");
    104104
    105105
    106   TFile f4("./SPLCPDiscovery10p100-h0-o0.root");
     106  TFile f4("./SPLCPDiscoRefereeA-h1-o0.root");
    107107  TTree* tree4 = (TTree*)f4.Get("SplGlb");
    108108  TH2D* histo4 = new TH2D("histo4"," Theta vs Delta",
     
    114114  histo4->SetContour(1);
    115115  histo4->SetContourLevel(0,9); //Chi2 for 1 dof and 3sigma
    116   //  histo4->SetLineStyle(2); //dashed
     116  histo4->SetLineStyle(2); //dashed
    117117  histo4->SetLineColor(2); //red
    118118  overlay->cd();
    119119  histo4->Draw("CONT3 SAME");
    120   leg->AddEntry(histo4,"syst. 10%","l");
     120  leg->AddEntry(histo4,"H^{w} Ref. A","l");
    121121
    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");
     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");
    129129
    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");
     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");
    137137
    138138
Note: See TracChangeset for help on using the changeset viewer.