#include "DataQualityUtils/HanOutputFile.h"
#include <TBufferJSON.h>
#include <TCanvas.h>
#include <TDirectory.h>
#include <TEfficiency.h>
#include <TF1.h>
#include <TFile.h>
#include <TGraph.h>
#include <TGraphAsymmErrors.h>
#include <TH1.h>
#include <TH2.h>
#include <THStack.h>
#include <TImage.h>
#include <TIterator.h>
#include <TKey.h>
#include <TLatex.h>
#include <TLegend.h>
#include <TLine.h>
#include <TMath.h>
#include <TProfile.h>
#include <TROOT.h>
#include <TString.h>
#include <TStyle.h>
#include <TText.h>
#include <TImageDump.h>
#include <TFrame.h>
#include <charconv>
#include <cstdlib>
#include <fstream>
#include <sstream>
#include <iostream>
#include <algorithm>
#include <ranges>
#include <tuple>
#include "DataQualityInterfaces/HanUtils.h"
#include "TPluginManager.h"
Go to the source code of this file.
◆ BINLOEDGE
| #define BINLOEDGE |
( |
| h, |
|
|
| n ) |
Value:h->GetXaxis()->GetBinLowEdge(n)
Header file for AthHistogramAlgorithm.
Definition at line 49 of file HanOutputFile.cxx.
◆ BINWIDTH
| #define BINWIDTH |
( |
| h, |
|
|
| n ) |
◆ ClassImp()
Definition at line 52 of file HanOutputFile.cxx.
55{
56
57
58
59
60
61
62
63
64 Double_t getScaleVal(std::string& display) {
66 std::size_t found2 =
display.find_first_of(
',', found + 1);
67
68 std::string valueStr =
display.substr(found + 9, found2 - found - 9);
69 double resultVal = 0.0;
70 auto [
ptr, ec] = std::from_chars(valueStr.data(), valueStr.data() + valueStr.size(), resultVal);
71 if (ec != std::errc()) {
72 std::cerr << "Unable to cast scaling value " << valueStr << " to double" << std::endl;
73 return 1.;
74 }
75 return resultVal;
76 }
77}