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

A struct which stores some basic parameters of a THnD.

Note
It stores only basic settings such as name, title, bins, bin edges, but not others such as fSumw2.

Definition at line 102 of file HistoModels.hxx.

Public Member Functions

 THnDModel ()=default
 
 THnDModel (const ::THnD &h)
 
 THnDModel (const char *name, const char *title, int dim, const int *nbins, const double *xmin, const double *xmax)
 
 THnDModel (const char *name, const char *title, int dim, const int *nbins, const std::vector< std::vector< double > > &xbins)
 
 THnDModel (const char *name, const char *title, int dim, const std::vector< int > &nbins, const std::vector< double > &xmin, const std::vector< double > &xmax)
 
 THnDModel (const char *name, const char *title, int dim, const std::vector< int > &nbins, const std::vector< std::vector< double > > &xbins)
 
 THnDModel (const THnDModel &)=default
 
 ~THnDModel ()
 
std::shared_ptr<::THnDGetHistogram () const
 

Public Attributes

std::vector< std::vector< double > > fBinEdges
 
int fDim
 
TString fName
 
std::vector< intfNbins
 
TString fTitle
 
std::vector< doublefXmax
 
std::vector< doublefXmin
 

#include <ROOT/RDF/HistoModels.hxx>

Constructor & Destructor Documentation

◆ THnDModel() [1/7]

ROOT::RDF::THnDModel::THnDModel ( )
default

◆ THnDModel() [2/7]

ROOT::RDF::THnDModel::THnDModel ( const THnDModel & )
default

◆ ~THnDModel()

ROOT::RDF::THnDModel::~THnDModel ( )

Definition at line 296 of file RDFHistoModels.cxx.

◆ THnDModel() [3/7]

ROOT::RDF::THnDModel::THnDModel ( const ::THnD & h)

Definition at line 233 of file RDFHistoModels.cxx.

◆ THnDModel() [4/7]

ROOT::RDF::THnDModel::THnDModel ( const char * name,
const char * title,
int dim,
const int * nbins,
const double * xmin,
const double * xmax )

Definition at line 243 of file RDFHistoModels.cxx.

◆ THnDModel() [5/7]

ROOT::RDF::THnDModel::THnDModel ( const char * name,
const char * title,
int dim,
const std::vector< int > & nbins,
const std::vector< double > & xmin,
const std::vector< double > & xmax )

Definition at line 257 of file RDFHistoModels.cxx.

◆ THnDModel() [6/7]

ROOT::RDF::THnDModel::THnDModel ( const char * name,
const char * title,
int dim,
const int * nbins,
const std::vector< std::vector< double > > & xbins )

Definition at line 263 of file RDFHistoModels.cxx.

◆ THnDModel() [7/7]

ROOT::RDF::THnDModel::THnDModel ( const char * name,
const char * title,
int dim,
const std::vector< int > & nbins,
const std::vector< std::vector< double > > & xbins )

Definition at line 273 of file RDFHistoModels.cxx.

Member Function Documentation

◆ GetHistogram()

std::shared_ptr<::THnD > ROOT::RDF::THnDModel::GetHistogram ( ) const

Definition at line 279 of file RDFHistoModels.cxx.

Member Data Documentation

◆ fBinEdges

std::vector<std::vector<double> > ROOT::RDF::THnDModel::fBinEdges

Definition at line 109 of file HistoModels.hxx.

◆ fDim

int ROOT::RDF::THnDModel::fDim

Definition at line 105 of file HistoModels.hxx.

◆ fName

TString ROOT::RDF::THnDModel::fName

Definition at line 103 of file HistoModels.hxx.

◆ fNbins

std::vector<int> ROOT::RDF::THnDModel::fNbins

Definition at line 106 of file HistoModels.hxx.

◆ fTitle

TString ROOT::RDF::THnDModel::fTitle

Definition at line 104 of file HistoModels.hxx.

◆ fXmax

std::vector<double> ROOT::RDF::THnDModel::fXmax

Definition at line 108 of file HistoModels.hxx.

◆ fXmin

std::vector<double> ROOT::RDF::THnDModel::fXmin

Definition at line 107 of file HistoModels.hxx.

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

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