| # Gaudi Framework, version v21r9 |

Home |  | Generated: 3 May 2010

# 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<GaudiAlg::ID> GaudiPython::HistoDecorator::IDs

Definition at line 31 of file HistoDecorator.h.

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<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

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.

    00038 { return algo.plot1D( data , 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.

    00059 { return algo.plot1D( data , ID , 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.

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

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.

    00101 { 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.

    00120 {
    00121   return algo.plot
    00122     ( GaudiPython::_identity<GaudiPython::Vector::value_type>() ,
    00123       data.begin ()              ,
    00124       data.end   ()              ,
    00125       title , low , high , bins  ) ;
    00126 }

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.

    00147 {
    00148   return algo.plot
    00149     ( GaudiPython::_identity<GaudiPython::Vector::value_type>() ,
    00150       data.begin ()                       ,
    00151       data.end   ()                       ,
    00152       ID , title , low , high , bins      ) ;
    00153 }

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.

    00174 {
    00175   return algo.plot
    00176     ( GaudiPython::_identity<GaudiPython::Vector::value_type>() ,
    00177       data.begin ()                       ,
    00178       data.end   ()                       ,
    00179       ID , title , low , high , bins      ) ;
    00180 }

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.

    00201 {
    00202   return algo.plot
    00203     ( GaudiPython::_identity<GaudiPython::Vector::value_type>() ,
    00204       data.begin ()                       ,
    00205       data.end   ()                       ,
    00206       ID , title , low , high , bins      ) ;
    00207 }

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.

    00235 {
    00236   return algo.plot2D ( valueX , valueY ,
    00237                        title  ,
    00238                        lowX   , highX  ,
    00239                        lowY   , highY  ,
    00240                        binsX  , binsY  , weight ) ;
    00241 }

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.

    00271 {
    00272   return algo.plot2D ( valueX , valueY ,
    00273                        ID     , title  ,
    00274                        lowX   , highX  ,
    00275                        lowY   , highY  ,
    00276                        binsX  , binsY  , weight ) ;
    00277 }

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.

    00307 {
    00308   return algo.plot2D ( valueX , valueY ,
    00309                        ID     , title  ,
    00310                        lowX   , highX  ,
    00311                        lowY   , highY  ,
    00312                        binsX  , binsY  , weight ) ;
    00313 }

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.

    00343 {
    00344   return algo.plot2D ( valueX , valueY ,
    00345                        ID     , title  ,
    00346                        lowX   , highX  ,
    00347                        lowY   , highY  ,
    00348                        binsX  , binsY  , weight ) ;
    00349 }

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.

    00385 {
    00386   return algo. plot3D ( valueX , valueY , valueZ ,
    00387                         title                    ,
    00388                         lowX   , highX  ,
    00389                         lowY   , highY  ,
    00390                         lowZ   , highZ  ,
    00391                         binsX  , binsY  , binsZ  ,
    00392                         weight                   ) ;
    00393 }

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.

    00430 {
    00431   return algo. plot3D ( valueX , valueY , valueZ ,
    00432                         ID     , title  ,
    00433                         lowX   , highX  ,
    00434                         lowY   , highY  ,
    00435                         lowZ   , highZ  ,
    00436                         binsX  , binsY  , binsZ  ,
    00437                         weight                   ) ;
    00438 }

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.

    00475 {
    00476   return algo. plot3D ( valueX , valueY , valueZ ,
    00477                         ID     , title  ,
    00478                         lowX   , highX  ,
    00479                         lowY   , highY  ,
    00480                         lowZ   , highZ  ,
    00481                         binsX  , binsY  , binsZ  ,
    00482                         weight                   ) ;
    00483 }

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.

    00521 {
    00522   return algo. plot3D ( valueX , valueY , valueZ ,
    00523                         ID     , title  ,
    00524                         lowX   , highX  ,
    00525                         lowY   , highY  ,
    00526                         lowZ   , highZ  ,
    00527                         binsX  , binsY  , binsZ  ,
    00528                         weight                   ) ;
    00529 }

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.

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

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.

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

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.

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

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.

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

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.

    00634 {
    00635   return algo.profile2D
    00636     ( valueX , valueY , valueZ ,
    00637       title  ,
    00638       lowX   , highX  ,
    00639       lowY   , highY  ,
    00640       binsX  , binsY  , weight  ) ;
    00641 }

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.

    00660 {
    00661   return algo.profile2D
    00662     ( valueX , valueY , valueZ ,
    00663       ID     , title  ,
    00664       lowX   , highX  ,
    00665       lowY   , highY  ,
    00666       binsX  , binsY  , weight  ) ;
    00667 }

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.

    00686 {
    00687   return algo.profile2D
    00688     ( valueX , valueY , valueZ ,
    00689       ID     , title  ,
    00690       lowX   , highX  ,
    00691       lowY   , highY  ,
    00692       binsX  , binsY  , weight  ) ;
    00693 }

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.

    00712 {
    00713   return algo.profile2D
    00714     ( valueX , valueY , valueZ ,
    00715       ID     , title  ,
    00716       lowX   , highX  ,
    00717       lowY   , highY  ,
    00718       binsX  , binsY  , weight  ) ;
    00719 }

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

Definition at line 762 of file HistoDecorator.cpp.

    00765 {
    00766   histos.clear() ;
    00767   ids   .clear() ;
    00768   if ( 0 == cmp ) { return 0 ; }                                      // RETURN
    00769   //
    00770   std::map<GaudiAlg::ID,AIDA::IHistogram1D*> _map ;
    00771   //
    00772   _getHistos ( cmp -> histo1DMapID () , _map ) ;
    00773   //
    00774   return fromMap ( _map , ids , histos ) ;
    00775   // ==========================================================================
    00776 }

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

Definition at line 779 of file HistoDecorator.cpp.

    00782 {
    00783   histos.clear() ;
    00784   ids   .clear() ;
    00785   if ( 0 == cmp ) { return 0 ; }                                      // RETURN
    00786   //
    00787   std::map<GaudiAlg::ID,AIDA::IHistogram1D*> _map ;
    00788   //
    00789   _getHistos ( cmp -> histo1DMapID () , _map ) ;
    00790   //
    00791   return fromMap ( _map , ids , histos ) ;
    00792   // ==========================================================================
    00793 }

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

Definition at line 796 of file HistoDecorator.cpp.

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

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

Definition at line 807 of file HistoDecorator.cpp.

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

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

static size_t GaudiPython::HistoDecorator::_histos_t_ | ( | const GaudiHistoTool * | 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_a_ | ( | const GaudiHistoAlg * | cmp,
|  | IDs & | ids,
|  | Histos3D & | histos |
| ) |  |  | `[static]`

static size_t GaudiPython::HistoDecorator::_histos_t_ | ( | const GaudiHistoTool * | 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_t_ | ( | const IAlgTool * | 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_t_ | ( | const GaudiHistoTool * | 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_t_ | ( | const IAlgTool * | 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_t_ | ( | const GaudiHistoTool * | cmp,
|  | IDs & | ids,
|  | Profiles2D & | histos |
| ) |  |  | `[static]`

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

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

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

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