59 class iterator :
public std::iterator<std::bidirectional_iterator_tag,
60 TObject, std::ptrdiff_t,
61 TObject **, TObject *&>{
189 THashList*
CreateHistoGroup(
const char *groupname,
const char *parent =
"/");
201 TH1*
CreateTH1(
const char *name,
const char *
title,
int nbins,
double xmin,
double xmax, Option_t *opt =
"");
212 TH1*
CreateTH1(
const char *name,
const char *
title,
int nbins,
const double *xbins, Option_t *opt =
"");
222 TH1*
CreateTH1(
const char *name,
const char *
title,
const TArrayD &xbins, Option_t *opt =
"");
260 TH2*
CreateTH2(
const char *name,
const char *
title,
int nbinsx,
const double *xbins,
int nbinsy,
const double *ybins, Option_t *opt =
"");
270 TH2*
CreateTH2(
const char *name,
const char *
title,
const TArrayD &xbins,
const TArrayD &ybins, Option_t *opt =
"");
294 TH3*
CreateTH3(
const char *name,
const char *
title,
int nbinsx,
double xmin,
double xmax,
int nbinsy,
double ymin,
double ymax,
int nbinsz,
double zmin,
double zmax, Option_t *opt =
"");
308 TH3*
CreateTH3(
const char *name,
const char *
title,
int nbinsx,
const double *xbins,
int nbinsy,
const double *ybins,
int nbinsz,
const double *zbins, Option_t *opt =
"");
319 TH3*
CreateTH3(
const char *name,
const char *
title,
const TArrayD &xbins,
const TArrayD &ybins,
const TArrayD &zbins, Option_t *opt =
"");
342 THnSparse*
CreateTHnSparse(
const char *name,
const char *
title,
int ndim,
const int *
nbins,
const double *min,
const double *max, Option_t *opt =
"");
352 THnSparse*
CreateTHnSparse(
const char *name,
const char *
title,
int ndim,
const TAxis **axes, Option_t *opt =
"");
364 void CreateTProfile(
const char *name,
const char *
title,
int nbinsX,
double xmin,
double xmax, Option_t *opt =
"");
375 void CreateTProfile(
const char *name,
const char *
title,
int nbinsX,
const double *xbins, Option_t *opt =
"");
385 void CreateTProfile(
const char *name,
const char *
title,
const TArrayD &xbins, Option_t *opt =
"");
401 void SetObject(TObject *
const o,
const char *group =
"/");
410 void FillTH1(
const char *hname,
double x,
double weight = 1., Option_t *opt =
"");
412 void FillTH1(
const char *name,
const char *label,
double weight = 1., Option_t *opt =
"");
422 void FillTH2(
const char *hname,
double x,
double y,
double weight = 1., Option_t *opt =
"");
431 void FillTH2(
const char *hname,
double *point,
double weight = 1., Option_t *opt =
"");
442 void FillTH3(
const char *hname,
double x,
double y,
double z,
double weight = 1., Option_t *opt =
"");
451 void FillTH3(
const char *hname,
const double *point,
double weight = 1., Option_t *opt =
"");
460 void FillTHnSparse(
const char *name,
const double *x,
double weight = 1., Option_t *opt =
"");
470 void FillProfile(
const char *name,
double x,
double y,
double weight = 1.);
477 inline iterator
begin()
const;
484 inline iterator
end()
const;
491 inline iterator
rbegin()
const;
498 inline iterator
rend()
const;
520 virtual TObject *
FindObject(
const TObject *obj)
const;
532 THashList *
FindGroup(
const char *dirname)
const;
540 void TokenizeFilename(
const char *name,
const char *delim, std::vector<std::string> &listoftokens)
const;
547 TString
basename(
const char *path)
const;
554 TString
histname(
const char *path)
const;
iterator & operator=(const iterator &rhs)
bool fIsOwner
Set the ownership.
THashList * FindGroup(const char *dirname) const
void FillTH2(const char *hname, double x, double y, double weight=1., Option_t *opt="")
void FillTH3(const char *hname, double x, double y, double z, double weight=1., Option_t *opt="")
void TokenizeFilename(const char *name, const char *delim, std::vector< std::string > &listoftokens) const
const THistManager * fkArray
void SetObject(TObject *const o, const char *group="/")
Interface for binnings used by the histogram handler.
THMIDirection_t fDirection
TString histname(const char *path) const
THashList * CreateHistoGroup(const char *groupname, const char *parent="/")
Bool_t operator!=(const iterator &aIter) const
void FillTHnSparse(const char *name, const double *x, double weight=1., Option_t *opt="")
TH2 * CreateTH2(const char *name, const char *title, int nbinsx, double xmin, double xmax, int nbinsy, double ymin, double ymax, Option_t *opt="")
TObject * FindObject(const char *name) const
void CreateTProfile(const char *name, const char *title, int nbinsX, double xmin, double xmax, Option_t *opt="")
THistManager & operator=(const THistManager &)
THashList * GetListOfHistograms() const
TH1 * CreateTH1(const char *name, const char *title, int nbins, double xmin, double xmax, Option_t *opt="")
void FillProfile(const char *name, double x, double y, double weight=1.)
THMIDirection_t
Direction for the iteration.
TString basename(const char *path) const
stl-iterator for the histogram manager
void FillTH1(const char *hname, double x, double weight=1., Option_t *opt="")
TObject * operator*() const
Container class for histograms for the high- charged particle analysis.
THnSparse * CreateTHnSparse(const char *name, const char *title, int ndim, const int *nbins, const double *min, const double *max, Option_t *opt="")
THashList * fHistos
List of histograms.
TH3 * CreateTH3(const char *name, const char *title, int nbinsx, double xmin, double xmax, int nbinsy, double ymin, double ymax, int nbinsz, double zmin, double zmax, Option_t *opt="")