| # Gaudi Framework, version v22r0 |

Home |  | Generated: 9 Feb 2011

# 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
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
GAUDI_API AIDA::IHistogram1D * | book (IHistogramSvc *svc, const std::string &dir, const int id, const Gaudi::Histo1DDef &hist)
| helper function to book 1D-histogram

## Detailed Description

collection of simple utilities to deal with histograms

Author:
  Vanya BELYAEV ibelyaev@physics.syr.edu

Date:
  2007-09-17

## Function Documentation

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

    00172 {
    00173   if ( 0 == svc ) { return 0 ; }
    00174   return svc -> book
    00175     ( dir , id  ,
    00176       hist.title() , hist.bins() , hist.lowEdge() , hist.lowEdge() ) ;
    00177 }

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

    00152 {
    00153   if ( 0 == svc ) { return 0 ; }
    00154   return svc -> book
    00155     ( dir , id  ,
    00156       hist.title() , hist.bins() , hist.lowEdge() , hist.lowEdge() ) ;
    00157 }

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

    00132 {
    00133   if ( 0 == svc ) { return 0 ; }
    00134   return svc -> book
    00135     ( path ,
    00136       hist.title() , hist.bins() , hist.lowEdge() , hist.lowEdge() ) ;
    00137 }

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines