Skip to content
Snippets Groups Projects
Commit d80bf31f authored by John Matter's avatar John Matter Committed by Eric Pooser
Browse files

TH2Fs in calorimeter calibration script are now drawn as colz (#357)

parent 0e7f6346
No related branches found
No related tags found
No related merge requests found
......@@ -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;
......
......@@ -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));
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment