Changeset ebf057e in git for examples/Validation.cpp
- Timestamp:
- Aug 26, 2016, 2:17:11 PM (8 years ago)
- Branches:
- ImprovedOutputFile, Timing, dual_readout, llp, master
- Children:
- 058006a
- Parents:
- 1160e4f (diff), 7da1826 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
examples/Validation.cpp
r1160e4f rebf057e 740 740 std::pair<TH1D*,TH1D*> histos_el = GetEff<Electron>(branchElectron, branchParticleElectron, "Electron", elID, treeReaderElectron); 741 741 742 histos_el.second->SaveAs("test1.pdf");743 744 742 // tracking reconstruction efficiency 745 743 std::pair <TH1D*,TH1D*> histos_eltrack = GetEff<Track>(branchTrackElectron, branchParticleElectron, "electronTrack", elID, treeReaderElectron); … … 841 839 DrawAxis(mg_elFwd, leg_elFwd, 0.2); 842 840 843 C_el1->Print(" validation.pdf(","pdf");844 C_el2->Print(" validation.pdf","pdf");841 C_el1->Print("delphes_validation.pdf(","pdf"); 842 C_el2->Print("delphes_validation.pdf","pdf"); 845 843 846 844 gDirectory->cd(0); … … 942 940 DrawAxis(mg_muFwd, leg_muFwd, 0.3); 943 941 944 //C_mu1->SaveAs(muEff+".eps"); 945 //C_mu->SaveAs(muRes+".eps"); 946 947 C_mu1->Print("validation.pdf","pdf"); 948 C_mu->Print("validation.pdf","pdf"); 942 C_mu1->Print("delphes_validation.pdf","pdf"); 943 C_mu->Print("delphes_validation.pdf","pdf"); 949 944 950 945 gDirectory->cd(0); … … 1013 1008 leg_ph2->Draw(); 1014 1009 1015 C_ph1->SaveAs(phEff+".eps");1016 1017 1010 TString phRes = "phERes"; 1018 1011 TString phResFwd = "phEResFwd"; … … 1048 1041 DrawAxis(mg_phFwd, leg_phFwd, 0.3); 1049 1042 1050 C_ph->SaveAs(phRes+".eps"); 1051 1052 C_ph1->Print("validation.pdf","pdf"); 1053 C_ph->Print("validation.pdf","pdf"); 1043 C_ph1->Print("delphes_validation.pdf","pdf"); 1044 C_ph->Print("delphes_validation.pdf","pdf"); 1054 1045 1055 1046 gDirectory->cd(0); … … 1182 1173 DrawAxis(mg_jetFwd, leg_jetFwd, 0.25); 1183 1174 1184 C_btag1->SaveAs(btagEff+".eps");1185 C_jet->SaveAs(jetRes+".eps");1186 1187 1175 TString metRes = "MetRes"; 1188 1176 TCanvas *C_met = new TCanvas(metRes,metRes, 800, 600); … … 1204 1192 mg_met->GetYaxis()->SetTitle("#sigma(ME_{x}) [GeV]"); 1205 1193 1206 C_met->SaveAs(metRes+".eps"); 1207 1208 C_jet->Print("validation.pdf","pdf"); 1209 C_btag1->Print("validation.pdf","pdf"); 1210 C_tautag1->Print("validation.pdf","pdf"); 1211 C_met->Print("validation.pdf)","pdf"); 1194 C_jet->Print("delphes_validation.pdf","pdf"); 1195 C_btag1->Print("delphes_validation.pdf","pdf"); 1196 C_tautag1->Print("delphes_validation.pdf","pdf"); 1197 C_met->Print("delphes_validation.pdf)","pdf"); 1212 1198 1213 1199 TFile *fout = new TFile(outputFile,"recreate");
Note:
See TracChangeset
for help on using the changeset viewer.