#include <Histograms.h>
Public Member Functions | |
void | Clear () override |
void | Fill (const reco::Particle::LorentzVector &p4, const double &resValue, const int charge) override |
HFunctionResolution (TFile *outputFile, const TString &name, const double &ptMax=100, const int totBinsY=300) | |
void | Write () override |
~HFunctionResolution () override | |
Protected Member Functions | |
int | getXindex (const double &x) const |
int | getYindex (const double &y) const |
Protected Attributes | |
double | deltaX_ |
double | deltaY_ |
TH1F * | hReso_ |
TProfile * | hResoVSEta_prof_ |
TProfile * | hResoVSPhi_prof_ |
TProfile * | hResoVSPhiMinus_prof_ |
TProfile * | hResoVSPhiPlus_prof_ |
TProfile * | hResoVSPt_Bar_prof_ |
TProfile * | hResoVSPt_Endc_17_prof_ |
TProfile * | hResoVSPt_Endc_20_prof_ |
TProfile * | hResoVSPt_Endc_24_prof_ |
TProfile * | hResoVSPt_Ovlap_prof_ |
TProfile * | hResoVSPt_prof_ |
TH2F * | hResoVSPtEta_ |
int ** | resoCount_ |
double ** | resoVsPtEta_ |
int | totBinsX_ |
int | totBinsY_ |
double | xMin_ |
double | yMin_ |
This histogram class fills a TProfile with the resolution evaluated from the resolution functions for single muon quantities. The resolution functions are used by MuScleFit to evaluate the mass resolution, which is the value seen by minuit and through it, corrections are evaluated.
In the end we will compare the histograms filled by this class (from the resolution function, reflecting the parameters changes done by minuit) with those filled comparing recoMuons with genMuons (the real resolutions).
Definition at line 1550 of file Histograms.h.
|
inline |
Definition at line 1552 of file Histograms.h.
References deltaX_, deltaY_, hReso_, hResoVSEta_prof_, hResoVSPhi_prof_, hResoVSPhiMinus_prof_, hResoVSPhiPlus_prof_, hResoVSPt_Bar_prof_, hResoVSPt_Endc_17_prof_, hResoVSPt_Endc_20_prof_, hResoVSPt_Endc_24_prof_, hResoVSPt_Ovlap_prof_, hResoVSPt_prof_, hResoVSPtEta_, mps_fire::i, dqmiolumiharvest::j, Skims_PA_cff::name, AlignmentTrackSelector_cfi::ptMax, resoCount_, resoVsPtEta_, totBinsX_, totBinsY_, multiplicitycorr_cfi::xMax, xMin_, multiplicitycorr_cfi::yMax, and yMin_.
|
inlineoverride |
Definition at line 1594 of file Histograms.h.
References hReso_, hResoVSEta_prof_, hResoVSPhi_prof_, hResoVSPhiMinus_prof_, hResoVSPhiPlus_prof_, hResoVSPt_Bar_prof_, hResoVSPt_Endc_17_prof_, hResoVSPt_Endc_20_prof_, hResoVSPt_Endc_24_prof_, hResoVSPt_Ovlap_prof_, hResoVSPt_prof_, hResoVSPtEta_, mps_fire::i, resoCount_, resoVsPtEta_, and totBinsX_.
|
inlineoverride |
Definition at line 1702 of file Histograms.h.
References hReso_, hResoVSEta_prof_, hResoVSPhi_prof_, hResoVSPhiMinus_prof_, hResoVSPhiPlus_prof_, hResoVSPt_Bar_prof_, hResoVSPt_Endc_17_prof_, hResoVSPt_Endc_20_prof_, hResoVSPt_Endc_24_prof_, hResoVSPt_Ovlap_prof_, hResoVSPt_prof_, and hResoVSPtEta_.
|
inlineoverride |
Definition at line 1617 of file Histograms.h.
References ALCARECOTkAlJpsiMuMu_cff::charge, getXindex(), getYindex(), hReso_, hResoVSEta_prof_, hResoVSPhi_prof_, hResoVSPhiMinus_prof_, hResoVSPhiPlus_prof_, hResoVSPt_Bar_prof_, hResoVSPt_Endc_17_prof_, hResoVSPt_Endc_20_prof_, hResoVSPt_Endc_24_prof_, hResoVSPt_Ovlap_prof_, hResoVSPt_prof_, resoCount_, resoVsPtEta_, totBinsX_, and totBinsY_.
Referenced by HFunctionResolutionVarianceCheck::Fill().
|
inlineprotected |
Definition at line 1719 of file Histograms.h.
References deltaX_, createfilelist::int, totBinsX_, x, and xMin_.
Referenced by Fill(), and HFunctionResolutionVarianceCheck::Fill().
|
inlineprotected |
Definition at line 1720 of file Histograms.h.
References deltaY_, createfilelist::int, totBinsY_, y, and yMin_.
Referenced by Fill(), and HFunctionResolutionVarianceCheck::Fill().
|
inlineoverride |
Definition at line 1659 of file Histograms.h.
References svgfig::canvas(), hReso_, hResoVSEta_prof_, hResoVSPhi_prof_, hResoVSPhiMinus_prof_, hResoVSPhiPlus_prof_, hResoVSPt_Bar_prof_, hResoVSPt_Endc_17_prof_, hResoVSPt_Endc_20_prof_, hResoVSPt_Endc_24_prof_, hResoVSPt_Ovlap_prof_, hResoVSPt_prof_, hResoVSPtEta_, mps_fire::i, dqmiolumiharvest::j, N, resoCount_, resoVsPtEta_, totBinsX_, and totBinsY_.
Referenced by HFunctionResolutionVarianceCheck::Write().
|
protected |
Definition at line 1738 of file Histograms.h.
Referenced by getXindex(), and HFunctionResolution().
|
protected |
Definition at line 1738 of file Histograms.h.
Referenced by getYindex(), and HFunctionResolution().
|
protected |
Definition at line 1721 of file Histograms.h.
Referenced by Clear(), Fill(), HFunctionResolution(), Write(), and ~HFunctionResolution().
|
protected |
Definition at line 1731 of file Histograms.h.
Referenced by Clear(), Fill(), HFunctionResolution(), Write(), and ~HFunctionResolution().
|
protected |
Definition at line 1735 of file Histograms.h.
Referenced by Clear(), Fill(), HFunctionResolution(), Write(), and ~HFunctionResolution().
|
protected |
Definition at line 1733 of file Histograms.h.
Referenced by Clear(), Fill(), HFunctionResolution(), Write(), and ~HFunctionResolution().
|
protected |
Definition at line 1734 of file Histograms.h.
Referenced by Clear(), Fill(), HFunctionResolution(), Write(), and ~HFunctionResolution().
|
protected |
Definition at line 1726 of file Histograms.h.
Referenced by Clear(), Fill(), HFunctionResolution(), Write(), and ~HFunctionResolution().
|
protected |
Definition at line 1727 of file Histograms.h.
Referenced by Clear(), Fill(), HFunctionResolution(), Write(), and ~HFunctionResolution().
|
protected |
Definition at line 1728 of file Histograms.h.
Referenced by Clear(), Fill(), HFunctionResolution(), Write(), and ~HFunctionResolution().
|
protected |
Definition at line 1729 of file Histograms.h.
Referenced by Clear(), Fill(), HFunctionResolution(), Write(), and ~HFunctionResolution().
|
protected |
Definition at line 1730 of file Histograms.h.
Referenced by Clear(), Fill(), HFunctionResolution(), Write(), and ~HFunctionResolution().
|
protected |
Definition at line 1725 of file Histograms.h.
Referenced by Clear(), Fill(), HFunctionResolution(), Write(), and ~HFunctionResolution().
|
protected |
Definition at line 1722 of file Histograms.h.
Referenced by Clear(), HFunctionResolution(), Write(), and ~HFunctionResolution().
|
protected |
Definition at line 1724 of file Histograms.h.
Referenced by Fill(), HFunctionResolution(), Write(), and ~HFunctionResolution().
|
protected |
Definition at line 1723 of file Histograms.h.
Referenced by Fill(), HFunctionResolution(), Write(), and ~HFunctionResolution().
|
protected |
Definition at line 1736 of file Histograms.h.
Referenced by Fill(), HFunctionResolutionVarianceCheck::Fill(), getXindex(), HFunctionResolution(), HFunctionResolutionVarianceCheck::HFunctionResolutionVarianceCheck(), Write(), HFunctionResolutionVarianceCheck::Write(), ~HFunctionResolution(), and HFunctionResolutionVarianceCheck::~HFunctionResolutionVarianceCheck().
|
protected |
Definition at line 1736 of file Histograms.h.
Referenced by Fill(), HFunctionResolutionVarianceCheck::Fill(), getYindex(), HFunctionResolution(), HFunctionResolutionVarianceCheck::HFunctionResolutionVarianceCheck(), Write(), HFunctionResolutionVarianceCheck::Write(), and HFunctionResolutionVarianceCheck::~HFunctionResolutionVarianceCheck().
|
protected |
Definition at line 1737 of file Histograms.h.
Referenced by getXindex(), and HFunctionResolution().
|
protected |
Definition at line 1737 of file Histograms.h.
Referenced by getYindex(), and HFunctionResolution().