| # Gaudi Framework, version v22r4 |

Home |  | Generated: Fri Sep 2 2011

Public Types | Static Public Member Functions

# GaudiPython::HistoDecorator Class Reference

Simple decorator class to allow to reuse the functionality of GaudiHistos<TYPE> class in pythin. More...

`#include <HistoDecorator.h>`

List of all members.

## Public Types
typedef std::vector< GaudiAlg::ID > | IDs
typedef std::vector < AIDA::IHistogram1D * > | Histos1D
typedef std::vector < AIDA::IHistogram2D * > | Histos2D
typedef std::vector < AIDA::IHistogram3D * > | Histos3D
typedef std::vector < AIDA::IProfile1D * > | Profiles1D
typedef std::vector < AIDA::IProfile2D * > | Profiles2D
## Static Public Member Functions
static AIDA::IHistogram1D * | plot1D (const GaudiHistoAlg &algo, const double data, const std::string &title, const double low, const double high, const unsigned long bins=100)
| "plot"(book&fill) a sequence of data from the vector (implicit loop) (Expected to be more efficient)
static AIDA::IHistogram1D * | plot1D (const GaudiHistoAlg &algo, const double data, const GaudiAlg::HistoID &ID, const std::string &title, const double low, const double high, const unsigned long bins=100)
| "plot"(book&fill) a sequence of data from the vector (implicit loop) (Expected to be more efficient)
static AIDA::IHistogram1D * | plot1D (const GaudiHistoAlg &algo, const double data, const long ID, const std::string &title, const double low, const double high, const unsigned long bins=100)
| "plot"(book&fill) a sequence of data from the vector (implicit loop) (Expected to be more efficient)
static AIDA::IHistogram1D * | plot1D (const GaudiHistoAlg &algo, const double data, const std::string &ID, const std::string &title, const double low, const double high, const unsigned long bins=100)
| "plot"(book&fill) a sequence of data from the vector (implicit loop) (Expected to be more efficient)
static AIDA::IHistogram1D * | plot1D (const GaudiHistoAlg &algo, const GaudiPython::Vector &data, const std::string &title, const double low, const double high, const unsigned long bins=100)
| "plot"(book&fill) a sequence of data from the vector (implicit loop) (Expected to be more efficient)
static AIDA::IHistogram1D * | plot1D (const GaudiHistoAlg &algo, const GaudiPython::Vector &data, const GaudiAlg::HistoID &ID, const std::string &title, const double low, const double high, const unsigned long bins=100)
| "plot"(book&fill) a sequence of data from the vector (implicit loop) (Expected to be more efficient)
static AIDA::IHistogram1D * | plot1D (const GaudiHistoAlg &algo, const GaudiPython::Vector &data, const long ID, const std::string &title, const double low, const double high, const unsigned long bins=100)
| "plot"(book&fill) a sequence of data from the vector (implicit loop) (Expected to be more efficient)
static AIDA::IHistogram1D * | plot1D (const GaudiHistoAlg &algo, const GaudiPython::Vector &data, const std::string &ID, const std::string &title, const double low, const double high, const unsigned long bins=100)
| "plot"(book&fill) a sequence of data from the vector (implicit loop) (Expected to be more efficient)
static AIDA::IHistogram2D * | plot2D (const GaudiHistoAlg &algo, const double valueX, const double valueY, const std::string &title, const double lowX, const double highX, const double lowY, const double highY, const unsigned long binsX=50, const unsigned long binsY=50, const double weight=1.0)
| fill the 2D histogram (book on demand)
static AIDA::IHistogram2D * | plot2D (const GaudiHistoAlg &algo, const double valueX, const double valueY, const GaudiAlg::HistoID &ID, const std::string &title, const double lowX, const double highX, const double lowY, const double highY, const unsigned long binsX=50, const unsigned long binsY=50, const double weight=1.0)
| fill the 2D histogram with forced ID assignment (book on demand)
static AIDA::IHistogram2D * | plot2D (const GaudiHistoAlg &algo, const double valueX, const double valueY, const long ID, const std::string &title, const double lowX, const double highX, const double lowY, const double highY, const unsigned long binsX=50, const unsigned long binsY=50, const double weight=1.0)
| fill the 2D histogram with forced ID assignment (book on demand)
static AIDA::IHistogram2D * | plot2D (const GaudiHistoAlg &algo, const double valueX, const double valueY, const std::string &ID, const std::string &title, const double lowX, const double highX, const double lowY, const double highY, const unsigned long binsX=50, const unsigned long binsY=50, const double weight=1.0)
| fill the 2D histogram with forced ID assignment (book on demand)
static AIDA::IHistogram3D * | plot3D (const GaudiHistoAlg &algo, const double valueX, const double valueY, const double valueZ, const std::string &title, const double lowX, const double highX, const double lowY, const double highY, const double lowZ, const double highZ, const unsigned long binsX=10, const unsigned long binsY=10, const unsigned long binsZ=10, const double weight=1.0)
| fill the 3D histogram (book on demand)
static AIDA::IHistogram3D * | plot3D (const GaudiHistoAlg &algo, const double valueX, const double valueY, const double valueZ, const GaudiAlg::HistoID &ID, const std::string &title, const double lowX, const double highX, const double lowY, const double highY, const double lowZ, const double highZ, const unsigned long binsX=10, const unsigned long binsY=10, const unsigned long binsZ=10, const double weight=1.0)
| fill the 3D histogram (book on demand)
static AIDA::IHistogram3D * | plot3D (const GaudiHistoAlg &algo, const double valueX, const double valueY, const double valueZ, const long ID, const std::string &title, const double lowX, const double highX, const double lowY, const double highY, const double lowZ, const double highZ, const unsigned long binsX=10, const unsigned long binsY=10, const unsigned long binsZ=10, const double weight=1.0)
| fill the 3D histogram (book on demand)
static AIDA::IHistogram3D * | plot3D (const GaudiHistoAlg &algo, const double valueX, const double valueY, const double valueZ, const std::string &ID, const std::string &title, const double lowX, const double highX, const double lowY, const double highY, const double lowZ, const double highZ, const unsigned long binsX=10, const unsigned long binsY=10, const unsigned long binsZ=10, const double weight=1.0)
| fill the 3D histogram (book on demand)
static AIDA::IProfile1D * | profile1D (const GaudiHistoAlg &algo, const double valueX, const double valueY, const std::string &title, const double lowX, const double highX, const unsigned long binsX=100, const std::string &opt="", const double lowY=-std::numeric_limits< double >::max(), const double highY=std::numeric_limits< double >::max(), const double weight=1.0)
static AIDA::IProfile1D * | profile1D (const GaudiHistoAlg &algo, const double valueX, const double valueY, const GaudiAlg::HistoID &ID, const std::string &title, const double lowX, const double highX, const unsigned long binsX=100, const std::string &opt="", const double lowY=-std::numeric_limits< double >::max(), const double highY=std::numeric_limits< double >::max(), const double weight=1.0)
static AIDA::IProfile1D * | profile1D (const GaudiHistoAlg &algo, const double valueX, const double valueY, const long ID, const std::string &title, const double lowX, const double highX, const unsigned long binsX=100, const std::string &opt="", const double lowY=-std::numeric_limits< double >::max(), const double highY=std::numeric_limits< double >::max(), const double weight=1.0)
static AIDA::IProfile1D * | profile1D (const GaudiHistoAlg &algo, const double valueX, const double valueY, const std::string &ID, const std::string &title, const double lowX, const double highX, const unsigned long binsX=100, const std::string &opt="", const double lowY=-std::numeric_limits< double >::max(), const double highY=std::numeric_limits< double >::max(), const double weight=1.0)
static AIDA::IProfile2D * | profile2D (const GaudiHistoAlg &algo, const double valueX, const double valueY, const double valueZ, const std::string &title, const double lowX, const double highX, const double lowY, const double highY, const unsigned long binsX=50, const unsigned long binsY=50, const double weight=1.0)
static AIDA::IProfile2D * | profile2D (const GaudiHistoAlg &algo, const double valueX, const double valueY, const double valueZ, const GaudiAlg::HistoID &ID, const std::string &title, const double lowX, const double highX, const double lowY, const double highY, const unsigned long binsX=50, const unsigned long binsY=50, const double weight=1.0)
static AIDA::IProfile2D * | profile2D (const GaudiHistoAlg &algo, const double valueX, const double valueY, const double valueZ, const long ID, const std::string &title, const double lowX, const double highX, const double lowY, const double highY, const unsigned long binsX=50, const unsigned long binsY=50, const double weight=1.0)
static AIDA::IProfile2D * | profile2D (const GaudiHistoAlg &algo, const double valueX, const double valueY, const double valueZ, const std::string &ID, const std::string &title, const double lowX, const double highX, const double lowY, const double highY, const unsigned long binsX=50, const unsigned long binsY=50, const double weight=1.0)
static size_t | _histos_a_ (const GaudiHistoAlg *cmp, IDs &ids, Histos1D &histos)
static size_t | _histos_t_ (const GaudiHistoTool *cmp, IDs &ids, Histos1D &histos)
static size_t | _histos_a_ (const IAlgorithm *cmp, IDs &ids, Histos1D &histos)
static size_t | _histos_t_ (const IAlgTool *cmp, IDs &ids, Histos1D &histos)
static size_t | _histos_a_ (const GaudiHistoAlg *cmp, IDs &ids, Histos2D &histos)
static size_t | _histos_t_ (const GaudiHistoTool *cmp, IDs &ids, Histos2D &histos)
static size_t | _histos_a_ (const IAlgorithm *cmp, IDs &ids, Histos2D &histos)
static size_t | _histos_t_ (const IAlgTool *cmp, IDs &ids, Histos2D &histos)
static size_t | _histos_a_ (const GaudiHistoAlg *cmp, IDs &ids, Histos3D &histos)
static size_t | _histos_t_ (const GaudiHistoTool *cmp, IDs &ids, Histos3D &histos)
static size_t | _histos_a_ (const IAlgorithm *cmp, IDs &ids, Histos3D &histos)
static size_t | _histos_t_ (const IAlgTool *cmp, IDs &ids, Histos3D &histos)
static size_t | _histos_a_ (const GaudiHistoAlg *cmp, IDs &ids, Profiles1D &histos)
static size_t | _histos_t_ (const GaudiHistoTool *cmp, IDs &ids, Profiles1D &histos)
static size_t | _histos_a_ (const IAlgorithm *cmp, IDs &ids, Profiles1D &histos)
static size_t | _histos_t_ (const IAlgTool *cmp, IDs &ids, Profiles1D &histos)
static size_t | _histos_a_ (const GaudiHistoAlg *cmp, IDs &ids, Profiles2D &histos)
static size_t | _histos_t_ (const GaudiHistoTool *cmp, IDs &ids, Profiles2D &histos)
static size_t | _histos_a_ (const IAlgorithm *cmp, IDs &ids, Profiles2D &histos)
static size_t | _histos_t_ (const IAlgTool *cmp, IDs &ids, Profiles2D &histos)

## Detailed Description

Simple decorator class to allow to reuse the functionality of GaudiHistos<TYPE> class in pythin.

Author:
  Vanya BELYAEV Ivan.Belyaev@lapp.in2p3.fr

Date:
  2005-08-04

Definition at line 27 of file HistoDecorator.h.

## Member Typedef Documentation

typedef std::vector<AIDA::IHistogram1D*> GaudiPython::HistoDecorator::Histos1D

Definition at line 32 of file HistoDecorator.h.

typedef std::vector<AIDA::IHistogram2D*> GaudiPython::HistoDecorator::Histos2D

Definition at line 33 of file HistoDecorator.h.

typedef std::vector<AIDA::IHistogram3D*> GaudiPython::HistoDecorator::Histos3D

Definition at line 34 of file HistoDecorator.h.

typedef std::vector<GaudiAlg::ID> GaudiPython::HistoDecorator::IDs

Definition at line 31 of file HistoDecorator.h.

typedef std::vector<AIDA::IProfile1D*> GaudiPython::HistoDecorator::Profiles1D

Definition at line 35 of file HistoDecorator.h.

typedef std::vector<AIDA::IProfile2D*> GaudiPython::HistoDecorator::Profiles2D

Definition at line 36 of file HistoDecorator.h.

## Member Function Documentation

size_t GaudiPython::HistoDecorator::_histos_a_ | ( | const GaudiHistoAlg * | cmp,
|  | IDs & | ids,
|  | Histos1D & | histos
| ) |  | `[static]`

Definition at line 762 of file HistoDecorator.cpp.

    {
      histos.clear() ;
      ids   .clear() ;
      if ( 0 == cmp ) { return 0 ; }                                      // RETURN
      //
      std::map<GaudiAlg::ID,AIDA::IHistogram1D*> _map ;
      //
      _getHistos ( cmp -> histo1DMapID () , _map ) ;
      //
      return fromMap ( _map , ids , histos ) ;
      // ==========================================================================
    }

static size_t GaudiPython::HistoDecorator::_histos_a_ | ( | const GaudiHistoAlg * | cmp,
|  | IDs & | ids,
|  | Histos3D & | histos
| ) |  | `[static]`

static size_t GaudiPython::HistoDecorator::_histos_a_ | ( | const IAlgorithm * | cmp,
|  | IDs & | ids,
|  | Histos3D & | histos
| ) |  | `[static]`

static size_t GaudiPython::HistoDecorator::_histos_a_ | ( | const GaudiHistoAlg * | cmp,
|  | IDs & | ids,
|  | Profiles1D & | histos
| ) |  | `[static]`

static size_t GaudiPython::HistoDecorator::_histos_a_ | ( | const IAlgorithm * | cmp,
|  | IDs & | ids,
|  | Profiles1D & | histos
| ) |  | `[static]`

static size_t GaudiPython::HistoDecorator::_histos_a_ | ( | const GaudiHistoAlg * | cmp,
|  | IDs & | ids,
|  | Profiles2D & | histos
| ) |  | `[static]`

static size_t GaudiPython::HistoDecorator::_histos_a_ | ( | const IAlgorithm * | cmp,
|  | IDs & | ids,
|  | Profiles2D & | histos
| ) |  | `[static]`

size_t GaudiPython::HistoDecorator::_histos_a_ | ( | const IAlgorithm * | cmp,
|  | IDs & | ids,
|  | Histos1D & | histos
| ) |  | `[static]`

Definition at line 796 of file HistoDecorator.cpp.

    {
      ids    . clear() ;
      histos . clear() ;
      if ( 0 == cmp ) { return 0 ; }                                      // RETURN
      return _histos_a_ ( dynamic_cast<const GaudiHistoAlg*> ( cmp ) , ids, histos ) ;
    }

static size_t GaudiPython::HistoDecorator::_histos_a_ | ( | const GaudiHistoAlg * | cmp,
|  | IDs & | ids,
|  | Histos2D & | histos
| ) |  | `[static]`

static size_t GaudiPython::HistoDecorator::_histos_a_ | ( | const IAlgorithm * | cmp,
|  | IDs & | ids,
|  | Histos2D & | histos
| ) |  | `[static]`

static size_t GaudiPython::HistoDecorator::_histos_t_ | ( | const IAlgTool * | cmp,
|  | IDs & | ids,
|  | Histos2D & | histos
| ) |  | `[static]`

static size_t GaudiPython::HistoDecorator::_histos_t_ | ( | const GaudiHistoTool * | cmp,
|  | IDs & | ids,
|  | Histos3D & | histos
| ) |  | `[static]`

static size_t GaudiPython::HistoDecorator::_histos_t_ | ( | const GaudiHistoTool * | cmp,
|  | IDs & | ids,
|  | Profiles2D & | histos
| ) |  | `[static]`

static size_t GaudiPython::HistoDecorator::_histos_t_ | ( | const IAlgTool * | cmp,
|  | IDs & | ids,
|  | Histos3D & | histos
| ) |  | `[static]`

static size_t GaudiPython::HistoDecorator::_histos_t_ | ( | const GaudiHistoTool * | cmp,
|  | IDs & | ids,
|  | Profiles1D & | histos
| ) |  | `[static]`

static size_t GaudiPython::HistoDecorator::_histos_t_ | ( | const IAlgTool * | cmp,
|  | IDs & | ids,
|  | Profiles1D & | histos
| ) |  | `[static]`

static size_t GaudiPython::HistoDecorator::_histos_t_ | ( | const IAlgTool * | cmp,
|  | IDs & | ids,
|  | Profiles2D & | histos
| ) |  | `[static]`

size_t GaudiPython::HistoDecorator::_histos_t_ | ( | const GaudiHistoTool * | cmp,
|  | IDs & | ids,
|  | Histos1D & | histos
| ) |  | `[static]`

Definition at line 779 of file HistoDecorator.cpp.

    {
      histos.clear() ;
      ids   .clear() ;
      if ( 0 == cmp ) { return 0 ; }                                      // RETURN
      //
      std::map<GaudiAlg::ID,AIDA::IHistogram1D*> _map ;
      //
      _getHistos ( cmp -> histo1DMapID () , _map ) ;
      //
      return fromMap ( _map , ids , histos ) ;
      // ==========================================================================
    }

size_t GaudiPython::HistoDecorator::_histos_t_ | ( | const IAlgTool * | cmp,
|  | IDs & | ids,
|  | Histos1D & | histos
| ) |  | `[static]`

Definition at line 807 of file HistoDecorator.cpp.

    {
      ids    . clear() ;
      histos . clear() ;
      if ( 0 == cmp ) { return 0 ; }                                      // RETURN
      return _histos_t_ ( dynamic_cast<const GaudiHistoTool*> ( cmp ) , ids, histos ) ;
    }

static size_t GaudiPython::HistoDecorator::_histos_t_ | ( | const GaudiHistoTool * | cmp,
|  | IDs & | ids,
|  | Histos2D & | histos
| ) |  | `[static]`

AIDA::IHistogram1D * GaudiPython::HistoDecorator::plot1D | ( | const GaudiHistoAlg & | algo,
|  | const double | data,
|  | const std::string & | ID,
|  | const std::string & | title,
|  | const double | low,
|  | const double | high,
|  | const unsigned long | bins = `100`
| ) |  | `[static]`

"plot"(book&fill) a sequence of data from the vector (implicit loop) (Expected to be more efficient)

Parameters:

  algo | the algorihtm
  data | data
  ID | histogram ID
  title | histogram title
  low | low edge
  high | high edge
  bins | number of bins

Definition at line 94 of file HistoDecorator.cpp.

    { return algo.plot1D( data , ID , title , low , high , bins ) ; }

AIDA::IHistogram1D * GaudiPython::HistoDecorator::plot1D | ( | const GaudiHistoAlg & | algo,
|  | const GaudiPython::Vector & | data,
|  | const std::string & | ID,
|  | const std::string & | title,
|  | const double | low,
|  | const double | high,
|  | const unsigned long | bins = `100`
| ) |  | `[static]`

"plot"(book&fill) a sequence of data from the vector (implicit loop) (Expected to be more efficient)

Parameters:

  algo | the algorihtm
  data | vector of data
  ID | histogram ID
  title | histogram title
  low | low edge
  high | high edge
  bins | number of bins

Definition at line 194 of file HistoDecorator.cpp.

    {
      return algo.plot
        ( GaudiPython::_identity<GaudiPython::Vector::value_type>() ,
          data.begin ()                       ,
          data.end   ()                       ,
          ID , title , low , high , bins      ) ;
    }

AIDA::IHistogram1D * GaudiPython::HistoDecorator::plot1D | ( | const GaudiHistoAlg & | algo,
|  | const double | data,
|  | const GaudiAlg::HistoID & | ID,
|  | const std::string & | title,
|  | const double | low,
|  | const double | high,
|  | const unsigned long | bins = `100`
| ) |  | `[static]`

"plot"(book&fill) a sequence of data from the vector (implicit loop) (Expected to be more efficient)

Parameters:

  algo | the algorihtm
  data | data
  ID | histogram ID
  title | histogram title
  low | low edge
  high | high edge
  bins | number of bins

Definition at line 52 of file HistoDecorator.cpp.

    { return algo.plot1D( data , ID , title , low , high , bins ) ; }

AIDA::IHistogram1D * GaudiPython::HistoDecorator::plot1D | ( | const GaudiHistoAlg & | algo,
|  | const GaudiPython::Vector & | data,
|  | const std::string & | title,
|  | const double | low,
|  | const double | high,
|  | const unsigned long | bins = `100`
| ) |  | `[static]`

"plot"(book&fill) a sequence of data from the vector (implicit loop) (Expected to be more efficient)

Parameters:

  algo | the algorihtm
  data | vector of data
  title | histogram title
  low | low edge
  high | high edge
  bins | number of bins

Definition at line 114 of file HistoDecorator.cpp.

    {
      return algo.plot
        ( GaudiPython::_identity<GaudiPython::Vector::value_type>() ,
          data.begin ()              ,
          data.end   ()              ,
          title , low , high , bins  ) ;
    }

AIDA::IHistogram1D * GaudiPython::HistoDecorator::plot1D | ( | const GaudiHistoAlg & | algo,
|  | const GaudiPython::Vector & | data,
|  | const GaudiAlg::HistoID & | ID,
|  | const std::string & | title,
|  | const double | low,
|  | const double | high,
|  | const unsigned long | bins = `100`
| ) |  | `[static]`

"plot"(book&fill) a sequence of data from the vector (implicit loop) (Expected to be more efficient)

Parameters:

  algo | the algorihtm
  data | vector of data
  ID | histogram ID
  title | histogram title
  low | low edge
  high | high edge
  bins | number of bins

Definition at line 140 of file HistoDecorator.cpp.

    {
      return algo.plot
        ( GaudiPython::_identity<GaudiPython::Vector::value_type>() ,
          data.begin ()                       ,
          data.end   ()                       ,
          ID , title , low , high , bins      ) ;
    }

AIDA::IHistogram1D * GaudiPython::HistoDecorator::plot1D | ( | const GaudiHistoAlg & | algo,
|  | const double | data,
|  | const std::string & | title,
|  | const double | low,
|  | const double | high,
|  | const unsigned long | bins = `100`
| ) |  | `[static]`

"plot"(book&fill) a sequence of data from the vector (implicit loop) (Expected to be more efficient)

Parameters:

  algo | the algorihtm
  data | data
  title | histogram title
  low | low edge
  high | high edge
  bins | number of bins

Definition at line 32 of file HistoDecorator.cpp.

    { return algo.plot1D( data , title , low , high , bins ) ; }

AIDA::IHistogram1D * GaudiPython::HistoDecorator::plot1D | ( | const GaudiHistoAlg & | algo,
|  | const double | data,
|  | const long | ID,
|  | const std::string & | title,
|  | const double | low,
|  | const double | high,
|  | const unsigned long | bins = `100`
| ) |  | `[static]`

"plot"(book&fill) a sequence of data from the vector (implicit loop) (Expected to be more efficient)

Parameters:

  algo | the algorihtm
  data | data
  ID | histogram ID
  title | histogram title
  low | low edge
  high | high edge
  bins | number of bins

Definition at line 73 of file HistoDecorator.cpp.

    { return algo.plot1D( data , ID , title , low , high , bins ) ; }

AIDA::IHistogram1D * GaudiPython::HistoDecorator::plot1D | ( | const GaudiHistoAlg & | algo,
|  | const GaudiPython::Vector & | data,
|  | const long | ID,
|  | const std::string & | title,
|  | const double | low,
|  | const double | high,
|  | const unsigned long | bins = `100`
| ) |  | `[static]`

"plot"(book&fill) a sequence of data from the vector (implicit loop) (Expected to be more efficient)

Parameters:

  algo | the algorihtm
  data | vector of data
  ID | histogram ID
  title | histogram title
  low | low edge
  high | high edge
  bins | number of bins

Definition at line 167 of file HistoDecorator.cpp.

    {
      return algo.plot
        ( GaudiPython::_identity<GaudiPython::Vector::value_type>() ,
          data.begin ()                       ,
          data.end   ()                       ,
          ID , title , low , high , bins      ) ;
    }

AIDA::IHistogram2D * GaudiPython::HistoDecorator::plot2D | ( | const GaudiHistoAlg & | algo,
|  | const double | valueX,
|  | const double | valueY,
|  | const std::string & | title,
|  | const double | lowX,
|  | const double | highX,
|  | const double | lowY,
|  | const double | highY,
|  | const unsigned long | binsX = `50`,
|  | const unsigned long | binsY = `50`,
|  | const double | weight = `1.0`
| ) |  | `[static]`

fill the 2D histogram (book on demand)

Parameters:

  valueX | x value to be filled
  valueY | y value to be filled
  title | histogram title (must be unique within the algorithm)
  lowX | low x limit for histogram
  highX | high x limit for histogram
  lowY | low y limit for histogram
  highY | high y limit for histogram
  binsX | number of bins in x
  binsY | number of bins in y
  weight | weight

Returns:
  pointer to AIDA 2D histogram

Definition at line 224 of file HistoDecorator.cpp.

    {
      return algo.plot2D ( valueX , valueY ,
                           title  ,
                           lowX   , highX  ,
                           lowY   , highY  ,
                           binsX  , binsY  , weight ) ;
    }

AIDA::IHistogram2D * GaudiPython::HistoDecorator::plot2D | ( | const GaudiHistoAlg & | algo,
|  | const double | valueX,
|  | const double | valueY,
|  | const GaudiAlg::HistoID & | ID,
|  | const std::string & | title,
|  | const double | lowX,
|  | const double | highX,
|  | const double | lowY,
|  | const double | highY,
|  | const unsigned long | binsX = `50`,
|  | const unsigned long | binsY = `50`,
|  | const double | weight = `1.0`
| ) |  | `[static]`

fill the 2D histogram with forced ID assignment (book on demand)

fill the 2D histogram (book on demand)

Parameters:

  valueX | x value to be filled
  valueY | y value to be filled
  ID | Histogram ID to use
  title | histogram title (must be unique within the algorithm)
  lowX | low x limit for histogram
  highX | high x limit for histogram
  lowY | low y limit for histogram
  highY | high y limit for histogram
  binsX | number of bins in x
  binsY | number of bins in y
  weight | weight

Returns:
  pointer to AIDA 2D histogram

Definition at line 259 of file HistoDecorator.cpp.

    {
      return algo.plot2D ( valueX , valueY ,
                           ID     , title  ,
                           lowX   , highX  ,
                           lowY   , highY  ,
                           binsX  , binsY  , weight ) ;
    }

AIDA::IHistogram2D * GaudiPython::HistoDecorator::plot2D | ( | const GaudiHistoAlg & | algo,
|  | const double | valueX,
|  | const double | valueY,
|  | const long | ID,
|  | const std::string & | title,
|  | const double | lowX,
|  | const double | highX,
|  | const double | lowY,
|  | const double | highY,
|  | const unsigned long | binsX = `50`,
|  | const unsigned long | binsY = `50`,
|  | const double | weight = `1.0`
| ) |  | `[static]`

fill the 2D histogram with forced ID assignment (book on demand)

Parameters:

  valueX | x value to be filled
  valueY | y value to be filled
  ID | Histogram ID to use
  title | histogram title (must be unique within the algorithm)
  lowX | low x limit for histogram
  highX | high x limit for histogram
  lowY | low y limit for histogram
  highY | high y limit for histogram
  binsX | number of bins in x
  binsY | number of bins in y
  weight | weight

Returns:
  pointer to AIDA 2D histogram

Definition at line 295 of file HistoDecorator.cpp.

    {
      return algo.plot2D ( valueX , valueY ,
                           ID     , title  ,
                           lowX   , highX  ,
                           lowY   , highY  ,
                           binsX  , binsY  , weight ) ;
    }

AIDA::IHistogram2D * GaudiPython::HistoDecorator::plot2D | ( | const GaudiHistoAlg & | algo,
|  | const double | valueX,
|  | const double | valueY,
|  | const std::string & | ID,
|  | const std::string & | title,
|  | const double | lowX,
|  | const double | highX,
|  | const double | lowY,
|  | const double | highY,
|  | const unsigned long | binsX = `50`,
|  | const unsigned long | binsY = `50`,
|  | const double | weight = `1.0`
| ) |  | `[static]`

fill the 2D histogram with forced ID assignment (book on demand)

Parameters:

  valueX | x value to be filled
  valueY | y value to be filled
  ID | Histogram ID to use
  title | histogram title (must be unique within the algorithm)
  lowX | low x limit for histogram
  highX | high x limit for histogram
  lowY | low y limit for histogram
  highY | high y limit for histogram
  binsX | number of bins in x
  binsY | number of bins in y
  weight | weight

Returns:
  pointer to AIDA 2D histogram

Definition at line 331 of file HistoDecorator.cpp.

    {
      return algo.plot2D ( valueX , valueY ,
                           ID     , title  ,
                           lowX   , highX  ,
                           lowY   , highY  ,
                           binsX  , binsY  , weight ) ;
    }

AIDA::IHistogram3D * GaudiPython::HistoDecorator::plot3D | ( | const GaudiHistoAlg & | algo,
|  | const double | valueX,
|  | const double | valueY,
|  | const double | valueZ,
|  | const std::string & | ID,
|  | const std::string & | title,
|  | const double | lowX,
|  | const double | highX,
|  | const double | lowY,
|  | const double | highY,
|  | const double | lowZ,
|  | const double | highZ,
|  | const unsigned long | binsX = `10`,
|  | const unsigned long | binsY = `10`,
|  | const unsigned long | binsZ = `10`,
|  | const double | weight = `1.0`
| ) |  | `[static]`

fill the 3D histogram (book on demand)

Parameters:

  valueX | x value to be filled
  valueY | y value to be filled
  valueZ | z value to be filled
  ID | Histogram ID to use
  title | histogram title (must be unique within the algorithm)
  lowX | low x limit for histogram
  highX | high x limit for histogram
  lowY | low y limit for histogram
  highY | high y limit for histogram
  lowZ | low z limit for histogram
  highZ | high z limit for histogram
  binsX | number of bins in x
  binsY | number of bins in y
  binsZ | number of bins in z
  weight | weight

Returns:
  pointer to AIDA 3D histogram

Definition at line 505 of file HistoDecorator.cpp.

    {
      return algo. plot3D ( valueX , valueY , valueZ ,
                            ID     , title  ,
                            lowX   , highX  ,
                            lowY   , highY  ,
                            lowZ   , highZ  ,
                            binsX  , binsY  , binsZ  ,
                            weight                   ) ;
    }

AIDA::IHistogram3D * GaudiPython::HistoDecorator::plot3D | ( | const GaudiHistoAlg & | algo,
|  | const double | valueX,
|  | const double | valueY,
|  | const double | valueZ,
|  | const long | ID,
|  | const std::string & | title,
|  | const double | lowX,
|  | const double | highX,
|  | const double | lowY,
|  | const double | highY,
|  | const double | lowZ,
|  | const double | highZ,
|  | const unsigned long | binsX = `10`,
|  | const unsigned long | binsY = `10`,
|  | const unsigned long | binsZ = `10`,
|  | const double | weight = `1.0`
| ) |  | `[static]`

fill the 3D histogram (book on demand)

Parameters:

  valueX | x value to be filled
  valueY | y value to be filled
  valueZ | z value to be filled
  ID | Histogram ID to use
  title | histogram title (must be unique within the algorithm)
  lowX | low x limit for histogram
  highX | high x limit for histogram
  lowY | low y limit for histogram
  highY | high y limit for histogram
  lowZ | low z limit for histogram
  highZ | high z limit for histogram
  binsX | number of bins in x
  binsY | number of bins in y
  binsZ | number of bins in z
  weight | weight

Returns:
  pointer to AIDA 3D histogram

Definition at line 459 of file HistoDecorator.cpp.

    {
      return algo. plot3D ( valueX , valueY , valueZ ,
                            ID     , title  ,
                            lowX   , highX  ,
                            lowY   , highY  ,
                            lowZ   , highZ  ,
                            binsX  , binsY  , binsZ  ,
                            weight                   ) ;
    }

AIDA::IHistogram3D * GaudiPython::HistoDecorator::plot3D | ( | const GaudiHistoAlg & | algo,
|  | const double | valueX,
|  | const double | valueY,
|  | const double | valueZ,
|  | const std::string & | title,
|  | const double | lowX,
|  | const double | highX,
|  | const double | lowY,
|  | const double | highY,
|  | const double | lowZ,
|  | const double | highZ,
|  | const unsigned long | binsX = `10`,
|  | const unsigned long | binsY = `10`,
|  | const unsigned long | binsZ = `10`,
|  | const double | weight = `1.0`
| ) |  | `[static]`

fill the 3D histogram (book on demand)

Parameters:

  valueX | x value to be filled
  valueY | y value to be filled
  valueZ | z value to be filled
  title | histogram title (must be unique within the algorithm)
  lowX | low x limit for histogram
  highX | high x limit for histogram
  lowY | low y limit for histogram
  highY | high y limit for histogram
  lowZ | low z limit for histogram
  highZ | high z limit for histogram
  binsX | number of bins in x
  binsY | number of bins in y
  binsZ | number of bins in z
  weight | weight

Returns:
  pointer to AIDA 3D histogram

Definition at line 370 of file HistoDecorator.cpp.

    {
      return algo. plot3D ( valueX , valueY , valueZ ,
                            title                    ,
                            lowX   , highX  ,
                            lowY   , highY  ,
                            lowZ   , highZ  ,
                            binsX  , binsY  , binsZ  ,
                            weight                   ) ;
    }

AIDA::IHistogram3D * GaudiPython::HistoDecorator::plot3D | ( | const GaudiHistoAlg & | algo,
|  | const double | valueX,
|  | const double | valueY,
|  | const double | valueZ,
|  | const GaudiAlg::HistoID & | ID,
|  | const std::string & | title,
|  | const double | lowX,
|  | const double | highX,
|  | const double | lowY,
|  | const double | highY,
|  | const double | lowZ,
|  | const double | highZ,
|  | const unsigned long | binsX = `10`,
|  | const unsigned long | binsY = `10`,
|  | const unsigned long | binsZ = `10`,
|  | const double | weight = `1.0`
| ) |  | `[static]`

fill the 3D histogram (book on demand)

Parameters:

  valueX | x value to be filled
  valueY | y value to be filled
  valueZ | z value to be filled
  ID | Histogram ID to use
  title | histogram title (must be unique within the algorithm)
  lowX | low x limit for histogram
  highX | high x limit for histogram
  lowY | low y limit for histogram
  highY | high y limit for histogram
  lowZ | low z limit for histogram
  highZ | high z limit for histogram
  binsX | number of bins in x
  binsY | number of bins in y
  binsZ | number of bins in z
  weight | weight

Returns:
  pointer to AIDA 3D histogram

Definition at line 414 of file HistoDecorator.cpp.

    {
      return algo. plot3D ( valueX , valueY , valueZ ,
                            ID     , title  ,
                            lowX   , highX  ,
                            lowY   , highY  ,
                            lowZ   , highZ  ,
                            binsX  , binsY  , binsZ  ,
                            weight                   ) ;
    }

AIDA::IProfile1D * GaudiPython::HistoDecorator::profile1D | ( | const GaudiHistoAlg & | algo,
|  | const double | valueX,
|  | const double | valueY,
|  | const long | ID,
|  | const std::string & | title,
|  | const double | lowX,
|  | const double | highX,
|  | const unsigned long | binsX = `100`,
|  | const std::string & | opt = `""`,
|  | const double | lowY = `-std::numeric_limits<double>::max()`,
|  | const double | highY = `std::numeric_limits<double>::max()`,
|  | const double | weight = `1.0`
| ) |  | `[static]`

Definition at line 578 of file HistoDecorator.cpp.

    {
      return algo.profile1D
        ( valueX , valueY , ID , title , lowX , highX , binsX ,
          opt , lowY , highY , weight ) ;
    }

AIDA::IProfile1D * GaudiPython::HistoDecorator::profile1D | ( | const GaudiHistoAlg & | algo,
|  | const double | valueX,
|  | const double | valueY,
|  | const std::string & | title,
|  | const double | lowX,
|  | const double | highX,
|  | const unsigned long | binsX = `100`,
|  | const std::string & | opt = `""`,
|  | const double | lowY = `-std::numeric_limits<double>::max()`,
|  | const double | highY = `std::numeric_limits<double>::max()`,
|  | const double | weight = `1.0`
| ) |  | `[static]`

Definition at line 535 of file HistoDecorator.cpp.

    {
      return algo.profile1D
        ( valueX , valueY , title , lowX , highX , binsX ,
          opt , lowY , highY , weight ) ;
    }

AIDA::IProfile1D * GaudiPython::HistoDecorator::profile1D | ( | const GaudiHistoAlg & | algo,
|  | const double | valueX,
|  | const double | valueY,
|  | const GaudiAlg::HistoID & | ID,
|  | const std::string & | title,
|  | const double | lowX,
|  | const double | highX,
|  | const unsigned long | binsX = `100`,
|  | const std::string & | opt = `""`,
|  | const double | lowY = `-std::numeric_limits<double>::max()`,
|  | const double | highY = `std::numeric_limits<double>::max()`,
|  | const double | weight = `1.0`
| ) |  | `[static]`

Definition at line 556 of file HistoDecorator.cpp.

    {
      return algo.profile1D
        ( valueX , valueY , ID , title , lowX , highX , binsX ,
          opt , lowY , highY , weight ) ;
    }

AIDA::IProfile1D * GaudiPython::HistoDecorator::profile1D | ( | const GaudiHistoAlg & | algo,
|  | const double | valueX,
|  | const double | valueY,
|  | const std::string & | ID,
|  | const std::string & | title,
|  | const double | lowX,
|  | const double | highX,
|  | const unsigned long | binsX = `100`,
|  | const std::string & | opt = `""`,
|  | const double | lowY = `-std::numeric_limits<double>::max()`,
|  | const double | highY = `std::numeric_limits<double>::max()`,
|  | const double | weight = `1.0`
| ) |  | `[static]`

Definition at line 600 of file HistoDecorator.cpp.

    {
      return algo.profile1D
        ( valueX , valueY , ID , title , lowX , highX , binsX ,
          opt , lowY , highY , weight ) ;
    }

AIDA::IProfile2D * GaudiPython::HistoDecorator::profile2D | ( | const GaudiHistoAlg & | algo,
|  | const double | valueX,
|  | const double | valueY,
|  | const double | valueZ,
|  | const GaudiAlg::HistoID & | ID,
|  | const std::string & | title,
|  | const double | lowX,
|  | const double | highX,
|  | const double | lowY,
|  | const double | highY,
|  | const unsigned long | binsX = `50`,
|  | const unsigned long | binsY = `50`,
|  | const double | weight = `1.0`
| ) |  | `[static]`

Definition at line 647 of file HistoDecorator.cpp.

    {
      return algo.profile2D
        ( valueX , valueY , valueZ ,
          ID     , title  ,
          lowX   , highX  ,
          lowY   , highY  ,
          binsX  , binsY  , weight  ) ;
    }

AIDA::IProfile2D * GaudiPython::HistoDecorator::profile2D | ( | const GaudiHistoAlg & | algo,
|  | const double | valueX,
|  | const double | valueY,
|  | const double | valueZ,
|  | const long | ID,
|  | const std::string & | title,
|  | const double | lowX,
|  | const double | highX,
|  | const double | lowY,
|  | const double | highY,
|  | const unsigned long | binsX = `50`,
|  | const unsigned long | binsY = `50`,
|  | const double | weight = `1.0`
| ) |  | `[static]`

Definition at line 673 of file HistoDecorator.cpp.

    {
      return algo.profile2D
        ( valueX , valueY , valueZ ,
          ID     , title  ,
          lowX   , highX  ,
          lowY   , highY  ,
          binsX  , binsY  , weight  ) ;
    }

AIDA::IProfile2D * GaudiPython::HistoDecorator::profile2D | ( | const GaudiHistoAlg & | algo,
|  | const double | valueX,
|  | const double | valueY,
|  | const double | valueZ,
|  | const std::string & | ID,
|  | const std::string & | title,
|  | const double | lowX,
|  | const double | highX,
|  | const double | lowY,
|  | const double | highY,
|  | const unsigned long | binsX = `50`,
|  | const unsigned long | binsY = `50`,
|  | const double | weight = `1.0`
| ) |  | `[static]`

Definition at line 699 of file HistoDecorator.cpp.

    {
      return algo.profile2D
        ( valueX , valueY , valueZ ,
          ID     , title  ,
          lowX   , highX  ,
          lowY   , highY  ,
          binsX  , binsY  , weight  ) ;
    }

AIDA::IProfile2D * GaudiPython::HistoDecorator::profile2D | ( | const GaudiHistoAlg & | algo,
|  | const double | valueX,
|  | const double | valueY,
|  | const double | valueZ,
|  | const std::string & | title,
|  | const double | lowX,
|  | const double | highX,
|  | const double | lowY,
|  | const double | highY,
|  | const unsigned long | binsX = `50`,
|  | const unsigned long | binsY = `50`,
|  | const double | weight = `1.0`
| ) |  | `[static]`

Definition at line 622 of file HistoDecorator.cpp.

    {
      return algo.profile2D
        ( valueX , valueY , valueZ ,
          title  ,
          lowX   , highX  ,
          lowY   , highY  ,
          binsX  , binsY  , weight  ) ;
    }

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

- /afs/cern.ch/sw/Gaudi/releases/GAUDI/GAUDI_v22r4/GaudiPython/GaudiPython/HistoDecorator.h
- /afs/cern.ch/sw/Gaudi/releases/GAUDI/GAUDI_v22r4/GaudiPython/src/Lib/HistoDecorator.cpp

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