Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 13:31:40

0001 {
0002   TFile * file = new TFile("MuonAnalysis/MomentumScaleCalibration/test/Probs_new_Horace_CTEQ_1000.root", "READ");
0003   TH2D * hist;
0004   file->GetObject("GLZ0", hist);
0005   hist->SetTitle("Z shape from Horace x gaussian");
0006 
0007   hist->GetXaxis()->SetTitle("mass (GeV)");
0008   hist->GetXaxis()->SetTitleOffset(1.5);
0009   hist->GetXaxis()->SetRangeUser(80, 100);
0010 
0011   hist->GetYaxis()->SetTitle("resolution #sigma (GeV)");
0012   hist->GetYaxis()->SetTitleOffset(1.5);
0013   hist->GetYaxis()->SetRangeUser(0, 5);
0014 
0015   gStyle->SetPalette(1);
0016   // hist->SetContour(28);
0017   hist->SetContour(50);
0018   hist->Draw("surf5");
0019 }