| # Gaudi Framework, version v22r2 |

Home |  | Generated: Tue May 10 2011

Classes | Public Types | Public Member Functions

# Gaudi::Parsers::Histo1DGrammar Class Reference

The simple grammar for histogram description/definition: More...

Inheritance diagram for Gaudi::Parsers::Histo1DGrammar:
[legend]
Collaboration diagram for Gaudi::Parsers::Histo1DGrammar:
[legend]

List of all members.

## Classes
struct | definition
## Public Types
typedef Gaudi::Histo1DDef | ResultT
## Public Member Functions
void | matchLow (const double low) const
| callback. Action when we match first value
void | matchHigh (const double high) const
void | matchTitle (const std::string &title) const
void | matchBins (const int bins) const

## Detailed Description

The simple grammar for histogram description/definition:

The valid representations of the histogram descriptor are:

- (0.0,1.0,100,'title')
- (0.0,1.0,100)
- (0.0,1.0)
- ('title',0.0,1.0,100)
- ('title',0.0,1.0)
- (0.0,1.0,'title',100)
- (0.0,1.0,'title')

See also:
  Gaudi::Histo1DDef

Author:
  Alexander MAZUROV Alexander.Mazurov@gmail.com
  Vanya BELYAEV ibelyaev@physics.syr.edu

Date:
  2007-09-17

Definition at line 44 of file ParseHistos.cpp.

## Member Typedef Documentation

typedef Gaudi::Histo1DDef Gaudi::Parsers::Histo1DGrammar::ResultT

Definition at line 50 of file ParseHistos.cpp.

## Member Function Documentation

void Gaudi::Parsers::Histo1DGrammar::matchBins | ( | const int | bins ) | const`[inline]`

Definition at line 59 of file ParseHistos.cpp.

          { this -> val() . setBins     ( bins  ) ; }

void Gaudi::Parsers::Histo1DGrammar::matchHigh | ( | const double | high ) | const`[inline]`

Definition at line 55 of file ParseHistos.cpp.

          { this -> val() . setHighEdge ( high  ) ; }

void Gaudi::Parsers::Histo1DGrammar::matchLow | ( | const double | low ) | const`[inline]`

callback. Action when we match first value

Definition at line 53 of file ParseHistos.cpp.

          { this -> val() . setLowEdge  ( low   ) ; }

void Gaudi::Parsers::Histo1DGrammar::matchTitle | ( | const std::string & | title ) | const`[inline]`

Definition at line 57 of file ParseHistos.cpp.

          { this -> val() . setTitle    ( title ) ; }

The documentation for this class was generated from the following file:

- /afs/.cern.ch/sw/Gaudi/releases/GAUDI/GAUDI_v22r2/GaudiKernel/src/Lib/ParseHistos.cpp

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