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

A struct which stores the parameters of a TH1D.

Definition at line 30 of file HistoModels.hxx.

Public Member Functions

 TH1DModel ()=default
 
 TH1DModel (const ::TH1D &h)
 
 TH1DModel (const char *name, const char *title, int nbinsx, const double *xbins)
 
 TH1DModel (const char *name, const char *title, int nbinsx, const float *xbins)
 
 TH1DModel (const char *name, const char *title, int nbinsx, double xlow, double xup)
 
 TH1DModel (const TH1DModel &)=default
 
 ~TH1DModel ()
 
std::shared_ptr<::TH1DGetHistogram () const
 

Public Attributes

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

#include <ROOT/RDF/HistoModels.hxx>

Constructor & Destructor Documentation

◆ TH1DModel() [1/6]

ROOT::RDF::TH1DModel::TH1DModel ( )
default

◆ TH1DModel() [2/6]

ROOT::RDF::TH1DModel::TH1DModel ( const TH1DModel )
default

◆ ~TH1DModel()

ROOT::RDF::TH1DModel::~TH1DModel ( )

Definition at line 114 of file RDFHistoModels.cxx.

◆ TH1DModel() [3/6]

ROOT::RDF::TH1DModel::TH1DModel ( const ::TH1D h)

Definition at line 85 of file RDFHistoModels.cxx.

◆ TH1DModel() [4/6]

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

Definition at line 89 of file RDFHistoModels.cxx.

◆ TH1DModel() [5/6]

ROOT::RDF::TH1DModel::TH1DModel ( const char *  name,
const char *  title,
int  nbinsx,
const float *  xbins 
)

Definition at line 93 of file RDFHistoModels.cxx.

◆ TH1DModel() [6/6]

ROOT::RDF::TH1DModel::TH1DModel ( const char *  name,
const char *  title,
int  nbinsx,
const double xbins 
)

Definition at line 98 of file RDFHistoModels.cxx.

Member Function Documentation

◆ GetHistogram()

std::shared_ptr<::TH1D > ROOT::RDF::TH1DModel::GetHistogram ( ) const

Definition at line 103 of file RDFHistoModels.cxx.

Member Data Documentation

◆ fBinXEdges

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

Definition at line 36 of file HistoModels.hxx.

◆ fName

TString ROOT::RDF::TH1DModel::fName

Definition at line 31 of file HistoModels.hxx.

◆ fNbinsX

int ROOT::RDF::TH1DModel::fNbinsX = 128

Definition at line 33 of file HistoModels.hxx.

◆ fTitle

TString ROOT::RDF::TH1DModel::fTitle

Definition at line 32 of file HistoModels.hxx.

◆ fXLow

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

Definition at line 34 of file HistoModels.hxx.

◆ fXUp

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

Definition at line 35 of file HistoModels.hxx.

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

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