| The Gaudi Framework v28r2p1 (f1a77ff4)

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Files

- Namespace List
- Namespace Members

Functions
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

  svc | pointer to Histogram Service
  path | full path in Histogram Data Store
  hist | histogram 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::Histos::book
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
Gaudi::Histo1DDef::lowEdge
double lowEdge() const
get the low edge
Definition: HistoDef.h:64
Gaudi::Histo1DDef::title
const std::string & title() const
get the title
Definition: HistoDef.h:70
Gaudi::Histo1DDef::bins
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

  svc | pointer to Histogram Service
  dir | directory path in Histogram Data Store
  id | historgam identifier
  hist | histogram 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::Histos::book
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
Gaudi::Histo1DDef::lowEdge
double lowEdge() const
get the low edge
Definition: HistoDef.h:64
Gaudi::Histo1DDef::title
const std::string & title() const
get the title
Definition: HistoDef.h:70
Gaudi::Histo1DDef::bins
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

  svc | pointer to Histogram Service
  dir | directory path in Histogram Data Store
  id | historgam identifier
  hist | histogram 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::Histos::book
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
Gaudi::Histo1DDef::lowEdge
double lowEdge() const
get the low edge
Definition: HistoDef.h:64
Gaudi::Histo1DDef::title
const std::string & title() const
get the title
Definition: HistoDef.h:70
Gaudi::Histo1DDef::bins
int bins() const
get the number of bins
Definition: HistoDef.h:68