53 v.assign(
a,
a + (
size_t)(size + 1));
65 const auto size = axis->
GetNbins() + 1;
74 namespace Experimental {
148 if (xEdgesEmpty && yEdgesEmpty) {
150 }
else if (!xEdgesEmpty && yEdgesEmpty) {
152 }
else if (xEdgesEmpty && !yEdgesEmpty) {
170 double yup,
int nbinsz,
double zlow,
double zup)
176 const double *ybins,
int nbinsz,
const double *zbins)
184 const float *ybins,
int nbinsz,
const float *zbins)
194 return std::make_shared<::TH3D>(
fName,
fTitle,
fNbinsX,
fXLow,
fXUp,
fNbinsY,
fYLow,
fYUp,
fNbinsZ,
fZLow,
fZUp);
208 fXUp(h.GetXaxis()->GetXmax()),
fYLow(h.GetYmin()),
fYUp(h.GetYmax()), fOption(h.GetErrorOption())
218 double yup,
const char *option)
236 double yup,
const char *option)
251 fXUp(h.GetXaxis()->GetXmax()), fNbinsY(h.GetNbinsY()),
fYLow(h.GetYaxis()->GetXmin()),
252 fYUp(h.GetYaxis()->GetXmax()), fZLow(h.GetZmin()), fZUp(h.GetZmax()),
fOption(h.GetErrorOption())
256 double ylow,
double yup,
const char *option)
263 double ylow,
double yup,
double zlow,
double zup,
const char *option)
270 double ylow,
double yup,
const char *option)
277 const double *ybins,
const char *option)
284 const double *ybins,
const char *option)
293 return std::make_shared<::TProfile2D>(
fName,
fTitle,
fNbinsX,
fXLow,
fXUp,
fNbinsY,
fYLow,
fYUp,
fZLow,
fZUp,
std::string GetName(const std::string &scope_name)
std::shared_ptr<::TH1D > GetHistogram() const
void FillVector< double >(std::vector< double > &v, int size, double *a)
std::vector< double > fBinXEdges
Namespace for new ROOT classes and functions.
std::shared_ptr<::TH3D > GetHistogram() const
virtual Double_t GetBinLowEdge(Int_t bin) const
Return low edge of bin.
std::vector< double > fBinXEdges
std::vector< double > fBinZEdges
TProfile1DModel()=default
virtual Double_t GetBinUpEdge(Int_t bin) const
Return up edge of bin.
void SetAxisProperties(const TAxis *axis, double &low, double &up, std::vector< double > &edges)
void FillVector(std::vector< double > &v, int size, T *a)
std::vector< double > fBinXEdges
std::vector< double > fBinYEdges
THist< 3, double, THistStatContent, THistStatUncertainty > TH3D
std::vector< double > fBinXEdges
Class to manage histogram axis.
std::vector< double > fBinYEdges
std::shared_ptr<::TProfile > GetProfile() const
TProfile2DModel()=default
A pseudo container class which is a generator of indices.
THist< 2, double, THistStatContent, THistStatUncertainty > TH2D
std::shared_ptr<::TProfile2D > GetProfile() const
std::vector< double > fBinYEdges
THist< 1, double, THistStatContent, THistStatUncertainty > TH1D
std::shared_ptr<::TH2D > GetHistogram() const
std::vector< double > fBinXEdges
const TArrayD * GetXbins() const