27 std::vector<double> binLim(nbins + 1);
29 const double expMax = std::log(
max /
min);
30 const double binWidth = expMax / nbins;
35 for (Int_t
i = 1;
i < nbins; ++
i) {
36 binLim[
i] =
min * std::exp(
i * binWidth);
51 for (
auto& hist : histos) {
59 histo.SetOption(
"colz");
61 histo.SetMinimum(0.9);
67 for (
auto& hist : histos) {
78 if (histo.InheritsFrom(TH2::Class())) {
79 histo.SetOption(
"colz");
81 histo.SetMinimum(0.9);
88 for (
const auto& keyValue : mapOfvectors) {
89 for (
auto& hist : keyValue.second) {
98 for (
const auto& keyValue : mapOfHisto) {
106 for (
const auto& keyValue : mapOfvectors) {
107 for (
auto& hist : keyValue.second) {
116 for (
const auto& keyValue : mapOfHisto) {
129 for (
int irow = 0; irow < nrows; ++irow) {
131 for (
int ipad = 0; ipad < npads; ++ipad) {
const T getValue(const int sec, const int globalPadInSector) const
int getNumberOfRowsROC(ROC roc) const
int getNumberOfPadsInRowROC(int roc, int row) const
static Mapper & instance(const std::string mappingDir="")
bool looped() const
if increment operator went above MaxROC
std::vector< double > makeLogBinning(const int nbins, const double min, const double max)
get a vector containing binning info for constant sized bins on a log axis
void setStyleHistogram2D(TH2 &histo)
Set nice style for 2D histograms.
void setStyleHistogram(TH1 &histo)
set nice style for 1D histograms ptr
void setStyleHistogram1D(TH1 &histo)
Set nice style for single 1D histograms.
bool newZSCalib(const o2::tpc::CalDet< float > &refPedestal, const o2::tpc::CalDet< float > &refNoise, const o2::tpc::CalDet< float > &pedestal)
void setStyleHistogramsInMap(std::unordered_map< std::string_view, std::vector< std::unique_ptr< TH1 > > > &mapOfvectors)