The Gaudi Framework  v29r0 (ff2e7097)
Gaudi::Histos Namespace Reference

collection of simple utilities to deal with histograms More...

Functions

GAUDI_API AIDA::IHistogram1D * book (IHistogramSvc *svc, const std::string &path, const Gaudi::Histo1DDef &hist)
 helper function to book 1D-histogram More...
 
GAUDI_API AIDA::IHistogram1D * book (IHistogramSvc *svc, const std::string &dir, const std::string &id, const Gaudi::Histo1DDef &hist)
 helper function to book 1D-histogram More...
 
GAUDI_API AIDA::IHistogram1D * book (IHistogramSvc *svc, const std::string &dir, const int id, const Gaudi::Histo1DDef &hist)
 helper function to book 1D-histogram More...
 

Detailed Description

collection of simple utilities to deal with histograms

Author
Vanya BELYAEV ibely.nosp@m.aev@.nosp@m.physi.nosp@m.cs.s.nosp@m.yr.ed.nosp@m.u
Date
2007-09-17

Function Documentation

AIDA::IHistogram1D * Gaudi::Histos::book ( IHistogramSvc svc,
const std::string path,
const Gaudi::Histo1DDef hist 
)

helper function to book 1D-histogram

Parameters
svcpointer to Histogram Service
pathfull path in Histogram Data Store
histhistogram desctription

Definition at line 105 of file HistoDef.cpp.

106 {
107  return svc ? svc->book( path, hist.title(), hist.bins(), hist.lowEdge(), hist.highEdge() ) : nullptr;
108 }
double highEdge() const
get the high edge
Definition: HistoDef.h:61
double lowEdge() const
get the low edge
Definition: HistoDef.h:59
const std::string & title() const
get the title
Definition: HistoDef.h:65
int bins() const
get the number of bins
Definition: HistoDef.h:63
virtual AIDA::IHistogram1D * book(const std::string &fullPath, const std::string &title, int binsX, double lowX, double highX)=0
Book histogram and register it with the histogram data store.
AIDA::IHistogram1D * Gaudi::Histos::book ( IHistogramSvc svc,
const std::string dir,
const std::string id,
const Gaudi::Histo1DDef hist 
)

helper function to book 1D-histogram

Parameters
svcpointer to Histogram Service
dirdirectory path in Histogram Data Store
idhistorgam identifier
histhistogram desctription

Definition at line 117 of file HistoDef.cpp.

119 {
120  return svc ? svc->book( dir, id, hist.title(), hist.bins(), hist.lowEdge(), hist.highEdge() ) : nullptr;
121 }
double highEdge() const
get the high edge
Definition: HistoDef.h:61
double lowEdge() const
get the low edge
Definition: HistoDef.h:59
const std::string & title() const
get the title
Definition: HistoDef.h:65
int bins() const
get the number of bins
Definition: HistoDef.h:63
virtual AIDA::IHistogram1D * book(const std::string &fullPath, const std::string &title, int binsX, double lowX, double highX)=0
Book histogram and register it with the histogram data store.
AIDA::IHistogram1D * Gaudi::Histos::book ( IHistogramSvc svc,
const std::string dir,
const int  id,
const Gaudi::Histo1DDef hist 
)

helper function to book 1D-histogram

Parameters
svcpointer to Histogram Service
dirdirectory path in Histogram Data Store
idhistorgam identifier
histhistogram desctription

Definition at line 130 of file HistoDef.cpp.

132 {
133  return svc ? svc->book( dir, id, hist.title(), hist.bins(), hist.lowEdge(), hist.highEdge() ) : nullptr;
134 }
double highEdge() const
get the high edge
Definition: HistoDef.h:61
double lowEdge() const
get the low edge
Definition: HistoDef.h:59
const std::string & title() const
get the title
Definition: HistoDef.h:65
int bins() const
get the number of bins
Definition: HistoDef.h:63
virtual AIDA::IHistogram1D * book(const std::string &fullPath, const std::string &title, int binsX, double lowX, double highX)=0
Book histogram and register it with the histogram data store.