| # Gaudi Framework, version v23r1 |

Home |  | Generated: Wed Feb 29 2012

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

    {
      if ( 0 == svc ) { return 0 ; }
      return svc -> book
        ( path ,
          hist.title() , hist.bins() , hist.lowEdge() , hist.lowEdge() ) ;
    }

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

    {
      if ( 0 == svc ) { return 0 ; }
      return svc -> book
        ( dir , id  ,
          hist.title() , hist.bins() , hist.lowEdge() , hist.lowEdge() ) ;
    }

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

    {
      if ( 0 == svc ) { return 0 ; }
      return svc -> book
        ( dir , id  ,
          hist.title() , hist.bins() , hist.lowEdge() , hist.lowEdge() ) ;
    }

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