From d80bf31fb0f030bb516a28330a3c993cf43a1d22 Mon Sep 17 00:00:00 2001 From: John Matter <matter@virginia.edu> Date: Sat, 13 Jan 2018 18:46:06 -0500 Subject: [PATCH] TH2Fs in calorimeter calibration script are now drawn as colz (#357) --- CALIBRATION/hms_cal_calib/hcal_calib.cpp | 4 ++-- CALIBRATION/shms_cal_calib/pcal_calib.cpp | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/CALIBRATION/hms_cal_calib/hcal_calib.cpp b/CALIBRATION/hms_cal_calib/hcal_calib.cpp index 6594d8c0..57668b78 100644 --- a/CALIBRATION/hms_cal_calib/hcal_calib.cpp +++ b/CALIBRATION/hms_cal_calib/hcal_calib.cpp @@ -43,7 +43,7 @@ void hcal_calib(string RunNumber) { // E(Tail) vs E(Preshower) plot. Canvas->cd(2); - theShowerCalib.hETAvsEPR->Draw(); + theShowerCalib.hETAvsEPR->Draw("colz"); // Normalized energy deposition after calibration. @@ -58,7 +58,7 @@ void hcal_calib(string RunNumber) { // HMS delta(P) versus the calibrated energy deposition. Canvas->cd(4); - theShowerCalib.hDPvsEcal->Draw(); + theShowerCalib.hDPvsEcal->Draw("colz"); // Calculate the analysis rate t = clock() - t; diff --git a/CALIBRATION/shms_cal_calib/pcal_calib.cpp b/CALIBRATION/shms_cal_calib/pcal_calib.cpp index 04114018..c8c8d8b0 100644 --- a/CALIBRATION/shms_cal_calib/pcal_calib.cpp +++ b/CALIBRATION/shms_cal_calib/pcal_calib.cpp @@ -42,7 +42,7 @@ void pcal_calib(string RunNumber, int nstart=0, int nstop=999999999) { theShowerCalib.hEuncSel->DrawCopy("same"); Canvas->cd(2); - theShowerCalib.hESHvsEPR->Draw(); + theShowerCalib.hESHvsEPR->Draw("colz"); // Normalized energy deposition after calibration. @@ -57,7 +57,7 @@ void pcal_calib(string RunNumber, int nstart=0, int nstop=999999999) { // SHMS delta(P) versus the calibrated energy deposition. Canvas->cd(4); - theShowerCalib.hDPvsEcal->Draw(); + theShowerCalib.hDPvsEcal->Draw("colz"); // Save canvas in a pdf format. Canvas->Print(Form("%s_%d-%d.pdf",RunNumber.c_str(),nstart,nstop)); -- GitLab