Changeset fa068d3 in git for examples/Validation.cpp
- Timestamp:
- Sep 6, 2016, 11:21:11 AM (8 years ago)
- Branches:
- ImprovedOutputFile, Timing, dual_readout, llp, master
- Children:
- e9971a7
- Parents:
- b9ae4c3
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
examples/Validation.cpp
rb9ae4c3 rfa068d3 551 551 552 552 TF1 *f2 = new TF1("f2", "gaus", f1->GetParameter(1) - 2*f1->GetParameter(2), f1->GetParameter(1) + 2*f1->GetParameter(2)); 553 hist->Fit("f2","RQ"); 553 hist->Fit("f2","RQ"); 554 554 555 555 Double_t sig = f2->GetParameter(2); … … 914 914 DrawAxis(mg_elFwd, leg_elFwd, 0.2); 915 915 916 C_el1->Print("delphes_validation.pdf(","pdf"); 917 C_el2->Print("delphes_validation.pdf","pdf"); 916 TString pdfOutput(outputFile); 917 pdfOutput.ReplaceAll(".root", ".pdf"); 918 919 C_el1->Print(pdfOutput+"(","pdf"); 920 C_el2->Print(pdfOutput,"pdf"); 918 921 919 922 gDirectory->cd(0); … … 1015 1018 DrawAxis(mg_muFwd, leg_muFwd, 0.3, 1); 1016 1019 1017 C_mu1->Print( "delphes_validation.pdf","pdf");1018 C_mu->Print( "delphes_validation.pdf","pdf");1020 C_mu1->Print(pdfOutput,"pdf"); 1021 C_mu->Print(pdfOutput,"pdf"); 1019 1022 1020 1023 gDirectory->cd(0); … … 1116 1119 DrawAxis(mg_phFwd, leg_phFwd, 0.1); 1117 1120 1118 C_ph1->Print( "delphes_validation.pdf","pdf");1119 C_ph->Print( "delphes_validation.pdf","pdf");1121 C_ph1->Print(pdfOutput,"pdf"); 1122 C_ph->Print(pdfOutput,"pdf"); 1120 1123 1121 1124 gDirectory->cd(0); … … 1267 1270 mg_met->GetYaxis()->SetTitle("#sigma(ME_{x}) [GeV]"); 1268 1271 1269 C_jet->Print( "delphes_validation.pdf","pdf");1270 C_btag1->Print( "delphes_validation.pdf","pdf");1271 C_tautag1->Print( "delphes_validation.pdf","pdf");1272 C_met->Print( "delphes_validation.pdf)","pdf");1272 C_jet->Print(pdfOutput,"pdf"); 1273 C_btag1->Print(pdfOutput,"pdf"); 1274 C_tautag1->Print(pdfOutput,"pdf"); 1275 C_met->Print(pdfOutput+")","pdf"); 1273 1276 1274 1277 TFile *fout = new TFile(outputFile,"recreate");
Note:
See TracChangeset
for help on using the changeset viewer.