#include <PixelRegionContainers.h>
|
void | beautify (const int linecolor=kBlack, const int fillcolor=kRed) |
|
void | bookAll (std::string title_label, std::string x_label, std::string y_label, const int nbins, const float xmin, const float xmax) |
|
void | draw (TCanvas &canv, bool isBarrel, const char *option="bar2", bool isPhase1Comparison=false) |
|
void | fill (const unsigned int detid, const float value) |
|
std::shared_ptr< TH1F > & | getHistoFromMap (const PixelRegions::PixelId &theId) |
|
| PixelRegionContainers (const TrackerTopology *t_topo, const bool isPhase1) |
|
void | rescaleMax (PixelRegionContainers &the2ndContainer) |
|
void | setLogScale () |
|
void | stats (int index=0) |
|
| ~PixelRegionContainers () |
|
Definition at line 160 of file PixelRegionContainers.h.
◆ PixelRegionContainers()
PixelRegions::PixelRegionContainers::PixelRegionContainers |
( |
const TrackerTopology * |
t_topo, |
|
|
const bool |
isPhase1 |
|
) |
| |
|
inline |
◆ ~PixelRegionContainers()
PixelRegions::PixelRegionContainers::~PixelRegionContainers |
( |
| ) |
|
|
inline |
◆ beautify()
void PixelRegions::PixelRegionContainers::beautify |
( |
const int |
linecolor = kBlack , |
|
|
const int |
fillcolor = kRed |
|
) |
| |
|
inline |
◆ bookAll()
void PixelRegions::PixelRegionContainers::bookAll |
( |
std::string |
title_label, |
|
|
std::string |
x_label, |
|
|
std::string |
y_label, |
|
|
const int |
nbins, |
|
|
const float |
xmin, |
|
|
const float |
xmax |
|
) |
| |
|
inline |
◆ draw()
void PixelRegions::PixelRegionContainers::draw |
( |
TCanvas & |
canv, |
|
|
bool |
isBarrel, |
|
|
const char * |
option = "bar2" , |
|
|
bool |
isPhase1Comparison = false |
|
) |
| |
|
inline |
Definition at line 203 of file PixelRegionContainers.h.
205 for (
int j = 1;
j <= 4;
j++) {
209 canv.cd(
j)->SetLogy();
211 if ((
j == 4) && !
m_isPhase1 && !isPhase1Comparison) {
218 t2.SetTextColor(kBlack);
219 t2.DrawLatexNDC(0.5, 0.5,
"Not in Phase-0!");
225 for (
int j = 1;
j <= 12;
j++) {
229 canv.cd(
j)->SetLogy();
231 if ((
j % 6 == 5 ||
j % 6 == 0) && !
m_isPhase1 && !isPhase1Comparison) {
238 t2.SetTextColor(kBlack);
239 t2.DrawLatexNDC(0.5, 0.5,
"Not in Phase-0!");
References PixelPluginsPhase0_cfi::isBarrel, dqmiolumiharvest::j, m_isLog, m_isPhase1, m_theMap, fileinputsource_cfi::option, PixelRegions::PixelIDs, and RandomServiceHelper::t2.
◆ fill()
void PixelRegions::PixelRegionContainers::fill |
( |
const unsigned int |
detid, |
|
|
const float |
value |
|
) |
| |
|
inline |
◆ getHistoFromMap()
std::shared_ptr<TH1F>& PixelRegions::PixelRegionContainers::getHistoFromMap |
( |
const PixelRegions::PixelId & |
theId | ) |
|
|
inline |
◆ rescaleMax()
◆ setLogScale()
void PixelRegions::PixelRegionContainers::setLogScale |
( |
| ) |
|
|
inline |
◆ stats()
void PixelRegions::PixelRegionContainers::stats |
( |
int |
index = 0 | ) |
|
|
inline |
◆ m_isLog
bool PixelRegions::PixelRegionContainers::m_isLog |
|
private |
◆ m_isPhase1
bool PixelRegions::PixelRegionContainers::m_isPhase1 |
|
private |
◆ m_nbins
int PixelRegions::PixelRegionContainers::m_nbins |
|
private |
◆ m_theMap
std::map<PixelId, std::shared_ptr<TH1F> > PixelRegions::PixelRegionContainers::m_theMap |
|
private |
◆ m_trackerTopo
◆ m_xim
float PixelRegions::PixelRegionContainers::m_xim |
|
private |
◆ m_xmax
float PixelRegions::PixelRegionContainers::m_xmax |
|
private |