13 const std::string& sDir,
14 const std::string& sType,
15 bool doBinnedResolutionPlots)
20 const int sizeOf_ptBins = 7;
21 Double_t ptBins[sizeOf_ptBins] = {5, 15, 30, 45, 60, 100, 200};
22 const int sizeOf_etaBins = 10;
23 Double_t etaBins[sizeOf_etaBins] = {-2.7, -2.5, -1.7, -1.05, -0.1,
24 0.1, 1.05, 1.7, 2.5, 2.7};
25 const int sizeOf_phiBins = 9;
26 Double_t phiBins[sizeOf_phiBins] = {-3.15, -2.4, -1.6, -0.8, 0,
32 "Res" +
m_sType +
"_pT_vs_lowpT",
33 "Res" +
m_sType +
"_pT vs low pT;pT [GeV];(pT-pTtruth)/pTtruth", 16,
34 2., 10., 100, -0.5, 0.5);
36 "Res" +
m_sType +
"_pT_vs_highpT",
37 "Res" +
m_sType +
"_pT vs high pT;pT [GeV];(pT-pTtruth)/pTtruth",
38 10, 100., 1000., 100, -0.5, 0.5);
42 "Res" +
m_sType +
"_pT vs pT;pT [GeV];(pT-pTtruth)/pTtruth",
43 sizeOf_ptBins - 1, &ptBins[0], 100, -0.5, 0.5);
45 "Res" +
m_sType +
"_pT vs eta;eta,eta-etatruth",
46 sizeOf_etaBins - 1, &etaBins[0], 100, -0.5, 0.5);
48 "Res" +
m_sType +
"_pT vs phi;phi,phi-phitruth",
49 sizeOf_phiBins - 1, &phiBins[0], 100, -0.5, 0.5);
53 "Res" +
m_sType +
"_eta vs pT;pT [GeV];eta-etatruth",
54 sizeOf_ptBins - 1, &ptBins[0], 100, -0.5, 0.5);
57 "Res" +
m_sType +
"_phi vs pT;pT [GeV];phi-phitruth",
58 sizeOf_ptBins - 1, &ptBins[0], 100, -0.5, 0.5);
TH2F * Book2D(std::string_view name, std::string_view labels, int nBinsX, float startX, float endX, int nBinsY, float startY, float endY, bool prependDir=true)
Book a TH2F histogram.
virtual double phi() const override final
The azimuthal angle ( ) of the particle (has range to .).
virtual double pt() const override final
The transverse momentum ( ) of the particle.
virtual double eta() const override final
The pseudorapidity ( ) of the particle.
virtual double pt() const override final
The transverse momentum ( ) of the particle.
virtual double eta() const override final
The pseudorapidity ( ) of the particle.
virtual double phi() const override final
The azimuthal angle ( ) of the particle.