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

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

130 {
131  if ( 0 == svc ) { return 0 ; }
132  return svc -> book
133  ( path ,
134  hist.title() , hist.bins() , hist.lowEdge() , hist.lowEdge() ) ;
135 }
list path
Definition: __init__.py:15
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
GAUDI_API AIDA::IHistogram1D * book(IHistogramSvc *svc, const std::string &path, const Gaudi::Histo1DDef &hist)
helper function to book 1D-histogram
Definition: HistoDef.cpp:127
GAUDI_API 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 146 of file HistoDef.cpp.

150 {
151  if ( 0 == svc ) { return 0 ; }
152  return svc -> book
153  ( dir , id ,
154  hist.title() , hist.bins() , hist.lowEdge() , hist.lowEdge() ) ;
155 }
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
GAUDI_API AIDA::IHistogram1D * book(IHistogramSvc *svc, const std::string &path, const Gaudi::Histo1DDef &hist)
helper function to book 1D-histogram
Definition: HistoDef.cpp:127
GAUDI_API 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 166 of file HistoDef.cpp.

170 {
171  if ( 0 == svc ) { return 0 ; }
172  return svc -> book
173  ( dir , id ,
174  hist.title() , hist.bins() , hist.lowEdge() , hist.lowEdge() ) ;
175 }
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
GAUDI_API AIDA::IHistogram1D * book(IHistogramSvc *svc, const std::string &path, const Gaudi::Histo1DDef &hist)
helper function to book 1D-histogram
Definition: HistoDef.cpp:127