Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
ROOT::RDF::TH2DModel Class Reference

A struct which stores the parameters of a TH2D.

Definition at line 45 of file HistoModels.hxx.

Public Member Functions

 TH2DModel ()=default
 
 TH2DModel (const ::TH2D &h)
 
 TH2DModel (const char *name, const char *title, int nbinsx, const double *xbins, int nbinsy, const double *ybins)
 
 TH2DModel (const char *name, const char *title, int nbinsx, const double *xbins, int nbinsy, double ylow, double yup)
 
 TH2DModel (const char *name, const char *title, int nbinsx, const float *xbins, int nbinsy, const float *ybins)
 
 TH2DModel (const char *name, const char *title, int nbinsx, double xlow, double xup, int nbinsy, const double *ybins)
 
 TH2DModel (const char *name, const char *title, int nbinsx, double xlow, double xup, int nbinsy, double ylow, double yup)
 
 TH2DModel (const TH2DModel &)=default
 
 ~TH2DModel ()
 
std::shared_ptr<::TH2DGetHistogram () const
 

Public Attributes

std::vector< doublefBinXEdges
 
std::vector< doublefBinYEdges
 
TString fName
 
int fNbinsX = 128
 
int fNbinsY = 128
 
TString fTitle
 
double fXLow = 0.
 
double fXUp = 64.
 
double fYLow = 0.
 
double fYUp = 64.
 

#include <ROOT/RDF/HistoModels.hxx>

Constructor & Destructor Documentation

◆ TH2DModel() [1/8]

ROOT::RDF::TH2DModel::TH2DModel ( )
default

◆ TH2DModel() [2/8]

ROOT::RDF::TH2DModel::TH2DModel ( const TH2DModel )
default

◆ ~TH2DModel()

ROOT::RDF::TH2DModel::~TH2DModel ( )

Definition at line 167 of file RDFHistoModels.cxx.

◆ TH2DModel() [3/8]

ROOT::RDF::TH2DModel::TH2DModel ( const ::TH2D h)

Definition at line 113 of file RDFHistoModels.cxx.

◆ TH2DModel() [4/8]

ROOT::RDF::TH2DModel::TH2DModel ( const char *  name,
const char *  title,
int  nbinsx,
double  xlow,
double  xup,
int  nbinsy,
double  ylow,
double  yup 
)

Definition at line 119 of file RDFHistoModels.cxx.

◆ TH2DModel() [5/8]

ROOT::RDF::TH2DModel::TH2DModel ( const char *  name,
const char *  title,
int  nbinsx,
const double xbins,
int  nbinsy,
double  ylow,
double  yup 
)

Definition at line 124 of file RDFHistoModels.cxx.

◆ TH2DModel() [6/8]

ROOT::RDF::TH2DModel::TH2DModel ( const char *  name,
const char *  title,
int  nbinsx,
double  xlow,
double  xup,
int  nbinsy,
const double ybins 
)

Definition at line 130 of file RDFHistoModels.cxx.

◆ TH2DModel() [7/8]

ROOT::RDF::TH2DModel::TH2DModel ( const char *  name,
const char *  title,
int  nbinsx,
const double xbins,
int  nbinsy,
const double ybins 
)

Definition at line 136 of file RDFHistoModels.cxx.

◆ TH2DModel() [8/8]

ROOT::RDF::TH2DModel::TH2DModel ( const char *  name,
const char *  title,
int  nbinsx,
const float *  xbins,
int  nbinsy,
const float *  ybins 
)

Definition at line 143 of file RDFHistoModels.cxx.

Member Function Documentation

◆ GetHistogram()

std::shared_ptr<::TH2D > ROOT::RDF::TH2DModel::GetHistogram ( ) const

Definition at line 150 of file RDFHistoModels.cxx.

Member Data Documentation

◆ fBinXEdges

std::vector<double> ROOT::RDF::TH2DModel::fBinXEdges

Definition at line 54 of file HistoModels.hxx.

◆ fBinYEdges

std::vector<double> ROOT::RDF::TH2DModel::fBinYEdges

Definition at line 55 of file HistoModels.hxx.

◆ fName

TString ROOT::RDF::TH2DModel::fName

Definition at line 46 of file HistoModels.hxx.

◆ fNbinsX

int ROOT::RDF::TH2DModel::fNbinsX = 128

Definition at line 48 of file HistoModels.hxx.

◆ fNbinsY

int ROOT::RDF::TH2DModel::fNbinsY = 128

Definition at line 51 of file HistoModels.hxx.

◆ fTitle

TString ROOT::RDF::TH2DModel::fTitle

Definition at line 47 of file HistoModels.hxx.

◆ fXLow

double ROOT::RDF::TH2DModel::fXLow = 0.

Definition at line 49 of file HistoModels.hxx.

◆ fXUp

double ROOT::RDF::TH2DModel::fXUp = 64.

Definition at line 50 of file HistoModels.hxx.

◆ fYLow

double ROOT::RDF::TH2DModel::fYLow = 0.

Definition at line 52 of file HistoModels.hxx.

◆ fYUp

double ROOT::RDF::TH2DModel::fYUp = 64.

Definition at line 53 of file HistoModels.hxx.

Collaboration diagram for ROOT::RDF::TH2DModel:
[legend]

The documentation for this class was generated from the following files: