#include <Histograms.h>
Inherits Histograms.
Public Member Functions | |
void | Clear () override |
void | Fill (const double &x, const double &y, const double &a, const double &b) override |
double | Get (const double &x, const double &y) const |
HCovarianceVSxy (const TString &name, const TString &title, const int totBinsX, const double &xMin, const double &xMax, const int totBinsY, const double &yMin, const double &yMax, TDirectory *dir=0, bool varianceCheck=false) | |
HCovarianceVSxy (TFile *inputFile, const TString &name, const TString &dirName) | |
Contructor to read histograms from file. More... | |
void | Write () override |
~HCovarianceVSxy () override | |
Protected Member Functions | |
int | getXindex (const double &x) const |
int | getYindex (const double &y) const |
Protected Attributes | |
Covariance ** | covariances_ |
double | deltaX_ |
double | deltaY_ |
TH2D * | histoCovariance_ |
TH1D *** | histoVarianceCheck_ |
bool | readMode_ |
int | totBinsX_ |
int | totBinsY_ |
int | totBinsZ_ |
bool | varianceCheck_ |
double | xMin_ |
double | yMin_ |
This class can be used to compute the covariance of two variables with respect to other two variables (to see e.g. how does the covariance of ptVSphi vary with respect to (pt,eta).
Definition at line 1818 of file Histograms.h.
|
inline |
Definition at line 1821 of file Histograms.h.
References dir, mps_fire::i, and dataset::name.
|
inline |
Contructor to read histograms from file.
Definition at line 1853 of file Histograms.h.
References gather_cfg::cout, and cmsRelvalreport::exit.
|
inlineoverride |
|
inlineoverride |
|
inlineoverride |
x and y should be the variables VS which we are computing the covariance (pt and eta) a and b should be the variables OF which we are computing the covariance
Definition at line 1893 of file Histograms.h.
Referenced by ResolutionAnalyzer::analyze().
|
inline |
Definition at line 1907 of file Histograms.h.
|
inlineprotected |
|
inlineprotected |
|
inlineoverride |
Definition at line 1919 of file Histograms.h.
References svgfig::canvas(), gather_cfg::cout, and cuy::yBin.
Referenced by ResolutionAnalyzer::writeHistoMap().
|
protected |
Definition at line 1973 of file Histograms.h.
|
protected |
Definition at line 1975 of file Histograms.h.
|
protected |
Definition at line 1975 of file Histograms.h.
|
protected |
Definition at line 1972 of file Histograms.h.
|
protected |
Definition at line 1978 of file Histograms.h.
|
protected |
Definition at line 1976 of file Histograms.h.
|
protected |
Definition at line 1974 of file Histograms.h.
|
protected |
Definition at line 1974 of file Histograms.h.
|
protected |
Definition at line 1974 of file Histograms.h.
|
protected |
Definition at line 1977 of file Histograms.h.
|
protected |
Definition at line 1975 of file Histograms.h.
|
protected |
Definition at line 1975 of file Histograms.h.