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 124 of file HistoDef.cpp.

127 {
128  return svc ? svc -> book( path , hist.title() , hist.bins() ,
129  hist.lowEdge() , hist.lowEdge() )
130  : nullptr;
131 }
GAUDI_API AIDA::IHistogram1D * book(IHistogramSvc *svc, const std::string &path, const Gaudi::Histo1DDef &hist)
helper function to book 1D-histogram
Definition: HistoDef.cpp:124
double lowEdge() const
get the low edge
Definition: HistoDef.h:64
const std::string & title() const
get the title
Definition: HistoDef.h:70
int bins() const
get the number of bins
Definition: HistoDef.h:68
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 142 of file HistoDef.cpp.

146 {
147  return svc ? svc -> book ( dir , id , hist.title() , hist.bins() ,
148  hist.lowEdge() , hist.lowEdge() )
149  : nullptr;
150 }
GAUDI_API AIDA::IHistogram1D * book(IHistogramSvc *svc, const std::string &path, const Gaudi::Histo1DDef &hist)
helper function to book 1D-histogram
Definition: HistoDef.cpp:124
double lowEdge() const
get the low edge
Definition: HistoDef.h:64
const std::string & title() const
get the title
Definition: HistoDef.h:70
int bins() const
get the number of bins
Definition: HistoDef.h:68
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 161 of file HistoDef.cpp.

165 {
166  return svc ? svc -> book ( dir , id , hist.title() , hist.bins() ,
167  hist.lowEdge() , hist.lowEdge() )
168  : nullptr;
169 }
GAUDI_API AIDA::IHistogram1D * book(IHistogramSvc *svc, const std::string &path, const Gaudi::Histo1DDef &hist)
helper function to book 1D-histogram
Definition: HistoDef.cpp:124
double lowEdge() const
get the low edge
Definition: HistoDef.h:64
const std::string & title() const
get the title
Definition: HistoDef.h:70
int bins() const
get the number of bins
Definition: HistoDef.h:68