| # Gaudi Framework, version v20r3
Generated: 24 Nov 2008

# HistoDecorator.cpp

Go to the documentation of this file.

    00001 // $Id: HistoDecorator.cpp,v 1.5 2008/10/09 09:59:14 marcocle Exp $
    00002 // ============================================================================
    00003 // Include files
    00004 // ============================================================================
    00005 // GaudiAlg
    00006 // ============================================================================
    00007 #include "GaudiAlg/GaudiHistoAlg.h"
    00008 // ============================================================================
    00009 // GaudiPython
    00010 // ============================================================================
    00011 #include "GaudiPython/Vector.h"
    00012 #include "GaudiPython/HistoDecorator.h"
    00013 // ============================================================================
    00019 // ============================================================================
    00020 /*  "plot"(book&fill) a sequence of data from the vector (implicit loop)
    00021  *  (Expected to be more efficient)
    00022  *  @param algo the algorihtm
    00023  *  @param data  data
    00024  *  @param title histogram title
    00025  *  @param low   low edge
    00026  *  @param high  high edge
    00027  *  @param bins  number of bins
    00028  */
    00029 // ============================================================================
    00030 AIDA::IHistogram1D*   GaudiPython::HistoDecorator::plot1D
    00031 ( const GaudiHistoAlg&         algo  ,
    00032   const double                 data  ,
    00033   const std::string&           title ,
    00034   const double                 low   ,
    00035   const double                 high  ,
    00036   const unsigned long          bins  )
    00037 { return algo.plot1D( data , title , low , high , bins ) ; }
    00038 // ============================================================================
    00039 /*  "plot"(book&fill) a sequence of data from the vector (implicit loop)
    00040  *  (Expected to be more efficient)
    00041  *  @param algo the algorihtm
    00042  *  @param data data
    00043  *  @param ID   histogram ID
    00044  *  @param title histogram title
    00045  *  @param low   low edge
    00046  *  @param high  high edge
    00047  *  @param bins  number of bins
    00048  */
    00049 // ============================================================================
    00050 AIDA::IHistogram1D*   GaudiPython::HistoDecorator::plot1D
    00051 ( const GaudiHistoAlg&         algo  ,
    00052   const double                 data  ,
    00053   const GaudiAlg::HistoID&     ID    ,
    00054   const std::string&           title ,
    00055   const double                 low   ,
    00056   const double                 high  ,
    00057   const unsigned long          bins  )
    00058 { return algo.plot1D( data , ID , title , low , high , bins ) ; }
    00059 // ============================================================================
    00060 /*  "plot"(book&fill) a sequence of data from the vector (implicit loop)
    00061  *  (Expected to be more efficient)
    00062  *  @param algo the algorihtm
    00063  *  @param data data
    00064  *  @param ID   histogram ID
    00065  *  @param title histogram title
    00066  *  @param low   low edge
    00067  *  @param high  high edge
    00068  *  @param bins  number of bins
    00069  */
    00070 // ============================================================================
    00071 AIDA::IHistogram1D*   GaudiPython::HistoDecorator::plot1D
    00072 ( const GaudiHistoAlg&         algo  ,
    00073   const double                 data  ,
    00074   const long                   ID    ,
    00075   const std::string&           title ,
    00076   const double                 low   ,
    00077   const double                 high  ,
    00078   const unsigned long          bins  )
    00079 { return algo.plot1D( data , ID , title , low , high , bins ) ; }
    00080 // ============================================================================
    00081 /*  "plot"(book&fill) a sequence of data from the vector (implicit loop)
    00082  *  (Expected to be more efficient)
    00083  *  @param algo the algorihtm
    00084  *  @param data data
    00085  *  @param ID   histogram ID
    00086  *  @param title histogram title
    00087  *  @param low   low edge
    00088  *  @param high  high edge
    00089  *  @param bins  number of bins
    00090  */
    00091 // ============================================================================
    00092 AIDA::IHistogram1D*   GaudiPython::HistoDecorator::plot1D
    00093 ( const GaudiHistoAlg&         algo  ,
    00094   const double                 data  ,
    00095   const std::string&           ID    ,
    00096   const std::string&           title ,
    00097   const double                 low   ,
    00098   const double                 high  ,
    00099   const unsigned long          bins  )
    00100 { return algo.plot1D( data , ID , title , low , high , bins ) ; }
    00101 // ============================================================================
    00102 /*  "plot"(book&fill) a sequence of data from the vector (implicit loop)
    00103  *  (Expected to be more efficient)
    00104  *  @param algo the algorihtm
    00105  *  @param data vector of data
    00106  *  @param title histogram title
    00107  *  @param low   low edge
    00108  *  @param high  high edge
    00109  *  @param bins  number of bins
    00110  */
    00111 // ============================================================================
    00112 AIDA::IHistogram1D*   GaudiPython::HistoDecorator::plot1D
    00113 ( const GaudiHistoAlg&         algo  ,
    00114   const GaudiPython::Vector&   data  ,
    00115   const std::string&           title ,
    00116   const double                 low   ,
    00117   const double                 high  ,
    00118   const unsigned long          bins  )
    00119 {
    00120   return algo.plot
    00121     ( GaudiPython::_identity<GaudiPython::Vector::value_type>() ,
    00122       data.begin ()              ,
    00123       data.end   ()              ,
    00124       title , low , high , bins  ) ;
    00125 }
    00126 // ============================================================================
    00127 /*  "plot"(book&fill) a sequence of data from the vector (implicit loop)
    00128  *  (Expected to be more efficient)
    00129  *  @param algo the algorihtm
    00130  *  @param data vector of data
    00131  *  @param ID   histogram ID
    00132  *  @param title histogram title
    00133  *  @param low   low edge
    00134  *  @param high  high edge
    00135  *  @param bins  number of bins
    00136  */
    00137 // ============================================================================
    00138 AIDA::IHistogram1D*   GaudiPython::HistoDecorator::plot1D
    00139 ( const GaudiHistoAlg&         algo   ,
    00140   const GaudiPython::Vector&   data   ,
    00141   const GaudiAlg::HistoID&     ID     ,
    00142   const std::string&           title  ,
    00143   const double                 low    ,
    00144   const double                 high   ,
    00145   const unsigned long          bins   )
    00146 {
    00147   return algo.plot
    00148     ( GaudiPython::_identity<GaudiPython::Vector::value_type>() ,
    00149       data.begin ()                       ,
    00150       data.end   ()                       ,
    00151       ID , title , low , high , bins      ) ;
    00152 }
    00153 // ============================================================================
    00154 /*  "plot"(book&fill) a sequence of data from the vector (implicit loop)
    00155  *  (Expected to be more efficient)
    00156  *  @param algo the algorihtm
    00157  *  @param data vector of data
    00158  *  @param ID   histogram ID
    00159  *  @param title histogram title
    00160  *  @param low   low edge
    00161  *  @param high  high edge
    00162  *  @param bins  number of bins
    00163  */
    00164 // ============================================================================
    00165 AIDA::IHistogram1D*   GaudiPython::HistoDecorator::plot1D
    00166 ( const GaudiHistoAlg&         algo   ,
    00167   const GaudiPython::Vector&   data   ,
    00168   const long                   ID     ,
    00169   const std::string&           title  ,
    00170   const double                 low    ,
    00171   const double                 high   ,
    00172   const unsigned long          bins   )
    00173 {
    00174   return algo.plot
    00175     ( GaudiPython::_identity<GaudiPython::Vector::value_type>() ,
    00176       data.begin ()                       ,
    00177       data.end   ()                       ,
    00178       ID , title , low , high , bins      ) ;
    00179 }
    00180 // ============================================================================
    00181 /*  "plot"(book&fill) a sequence of data from the vector (implicit loop)
    00182  *  (Expected to be more efficient)
    00183  *  @param algo the algorihtm
    00184  *  @param data vector of data
    00185  *  @param ID   histogram ID
    00186  *  @param title histogram title
    00187  *  @param low   low edge
    00188  *  @param high  high edge
    00189  *  @param bins  number of bins
    00190  */
    00191 // ============================================================================
    00192 AIDA::IHistogram1D*   GaudiPython::HistoDecorator::plot1D
    00193 ( const GaudiHistoAlg&         algo   ,
    00194   const GaudiPython::Vector&   data   ,
    00195   const std::string&           ID     ,
    00196   const std::string&           title  ,
    00197   const double                 low    ,
    00198   const double                 high   ,
    00199   const unsigned long          bins   )
    00200 {
    00201   return algo.plot
    00202     ( GaudiPython::_identity<GaudiPython::Vector::value_type>() ,
    00203       data.begin ()                       ,
    00204       data.end   ()                       ,
    00205       ID , title , low , high , bins      ) ;
    00206 }
    00207 // ============================================================================
    00208 /*  fill the 2D histogram (book on demand)
    00209  *  @param valueX x value to be filled
    00210  *  @param valueY y value to be filled
    00211  *  @param title histogram title (must be unique within the algorithm)
    00212  *  @param lowX  low x limit for histogram
    00213  *  @param highX high x limit for histogram
    00214  *  @param lowY  low y limit for histogram
    00215  *  @param highY high y limit for histogram
    00216  *  @param binsX  number of bins in x
    00217  *  @param binsY  number of bins in y
    00218  *  @param weight weight
    00219  *  @return pointer to AIDA 2D histogram
    00220  */
    00221 // ============================================================================
    00222 AIDA::IHistogram2D*  GaudiPython::HistoDecorator::plot2D
    00223 ( const GaudiHistoAlg&      algo    ,
    00224   const double              valueX  ,
    00225   const double              valueY  ,
    00226   const std::string&        title   ,
    00227   const double              lowX    ,
    00228   const double              highX   ,
    00229   const double              lowY    ,
    00230   const double              highY   ,
    00231   const unsigned long       binsX   ,
    00232   const unsigned long       binsY   ,
    00233   const double              weight  )
    00234 {
    00235   return algo.plot2D ( valueX , valueY ,
    00236                        title  ,
    00237                        lowX   , highX  ,
    00238                        lowY   , highY  ,
    00239                        binsX  , binsY  , weight ) ;
    00240 }
    00241 // ============================================================================
    00256 // ============================================================================
    00257 AIDA::IHistogram2D*  GaudiPython::HistoDecorator::plot2D
    00258 ( const GaudiHistoAlg&      algo    ,
    00259   const double              valueX  ,
    00260   const double              valueY  ,
    00261   const GaudiAlg::HistoID&  ID      ,
    00262   const std::string&        title   ,
    00263   const double              lowX    ,
    00264   const double              highX   ,
    00265   const double              lowY    ,
    00266   const double              highY   ,
    00267   const unsigned long       binsX   ,
    00268   const unsigned long       binsY   ,
    00269   const double              weight  )
    00270 {
    00271   return algo.plot2D ( valueX , valueY ,
    00272                        ID     , title  ,
    00273                        lowX   , highX  ,
    00274                        lowY   , highY  ,
    00275                        binsX  , binsY  , weight ) ;
    00276 }
    00277 // ============================================================================
    00278 /*  fill the 2D histogram (book on demand)
    00279  *  @param valueX x value to be filled
    00280  *  @param valueY y value to be filled
    00281  *  @param ID     Histogram ID to use
    00282  *  @param title histogram title (must be unique within the algorithm)
    00283  *  @param lowX  low x limit for histogram
    00284  *  @param highX high x limit for histogram
    00285  *  @param lowY  low y limit for histogram
    00286  *  @param highY high y limit for histogram
    00287  *  @param binsX  number of bins in x
    00288  *  @param binsY  number of bins in y
    00289  *  @param weight weight
    00290  *  @return pointer to AIDA 2D histogram
    00291  */
    00292 // ============================================================================
    00293 AIDA::IHistogram2D*  GaudiPython::HistoDecorator::plot2D
    00294 ( const GaudiHistoAlg&      algo    ,
    00295   const double              valueX  ,
    00296   const double              valueY  ,
    00297   const long                ID      ,
    00298   const std::string&        title   ,
    00299   const double              lowX    ,
    00300   const double              highX   ,
    00301   const double              lowY    ,
    00302   const double              highY   ,
    00303   const unsigned long       binsX   ,
    00304   const unsigned long       binsY   ,
    00305   const double              weight  )
    00306 {
    00307   return algo.plot2D ( valueX , valueY ,
    00308                        ID     , title  ,
    00309                        lowX   , highX  ,
    00310                        lowY   , highY  ,
    00311                        binsX  , binsY  , weight ) ;
    00312 }
    00313 // ============================================================================
    00314 /*  fill the 2D histogram (book on demand)
    00315  *  @param valueX x value to be filled
    00316  *  @param valueY y value to be filled
    00317  *  @param ID     Histogram ID to use
    00318  *  @param title histogram title (must be unique within the algorithm)
    00319  *  @param lowX  low x limit for histogram
    00320  *  @param highX high x limit for histogram
    00321  *  @param lowY  low y limit for histogram
    00322  *  @param highY high y limit for histogram
    00323  *  @param binsX  number of bins in x
    00324  *  @param binsY  number of bins in y
    00325  *  @param weight weight
    00326  *  @return pointer to AIDA 2D histogram
    00327  */
    00328 // ============================================================================
    00329 AIDA::IHistogram2D*  GaudiPython::HistoDecorator::plot2D
    00330 ( const GaudiHistoAlg&      algo    ,
    00331   const double              valueX  ,
    00332   const double              valueY  ,
    00333   const std::string&        ID      ,
    00334   const std::string&        title   ,
    00335   const double              lowX    ,
    00336   const double              highX   ,
    00337   const double              lowY    ,
    00338   const double              highY   ,
    00339   const unsigned long       binsX   ,
    00340   const unsigned long       binsY   ,
    00341   const double              weight  )
    00342 {
    00343   return algo.plot2D ( valueX , valueY ,
    00344                        ID     , title  ,
    00345                        lowX   , highX  ,
    00346                        lowY   , highY  ,
    00347                        binsX  , binsY  , weight ) ;
    00348 }
    00349 // ============================================================================
    00350 /*  fill the 3D histogram (book on demand)
    00351  *  @param valueX x value to be filled
    00352  *  @param valueY y value to be filled
    00353  *  @param valueZ z value to be filled
    00354  *  @param title histogram title (must be unique within the algorithm)
    00355  *  @param lowX  low x limit for histogram
    00356  *  @param highX high x limit for histogram
    00357  *  @param lowY  low y limit for histogram
    00358  *  @param highY high y limit for histogram
    00359  *  @param lowZ  low z limit for histogram
    00360  *  @param highZ high z limit for histogram
    00361  *  @param binsX number of bins in x
    00362  *  @param binsY number of bins in y
    00363  *  @param binsZ number of bins in z
    00364  *  @param weight weight
    00365  *  @return pointer to AIDA 3D histogram
    00366  */
    00367 // ============================================================================
    00368 AIDA::IHistogram3D*  GaudiPython::HistoDecorator::plot3D
    00369 ( const GaudiHistoAlg&      algo   ,
    00370   const double        valueX       ,
    00371   const double        valueY       ,
    00372   const double        valueZ       ,
    00373   const std::string&  title        ,
    00374   const double        lowX         ,
    00375   const double        highX        ,
    00376   const double        lowY         ,
    00377   const double        highY        ,
    00378   const double        lowZ         ,
    00379   const double        highZ        ,
    00380   const unsigned long binsX        ,
    00381   const unsigned long binsY        ,
    00382   const unsigned long binsZ        ,
    00383   const double        weight       )
    00384 {
    00385   return algo. plot3D ( valueX , valueY , valueZ ,
    00386                         title                    ,
    00387                         lowX   , highX  ,
    00388                         lowY   , highY  ,
    00389                         lowZ   , highZ  ,
    00390                         binsX  , binsY  , binsZ  ,
    00391                         weight                   ) ;
    00392 }
    00393 // ============================================================================
    00394 /*  fill the 3D histogram (book on demand)
    00395  *  @param valueX x value to be filled
    00396  *  @param valueY y value to be filled
    00397  *  @param valueZ z value to be filled
    00398  *  @param title histogram title (must be unique within the algorithm)
    00399  *  @param lowX  low x limit for histogram
    00400  *  @param highX high x limit for histogram
    00401  *  @param lowY  low y limit for histogram
    00402  *  @param highY high y limit for histogram
    00403  *  @param lowZ  low z limit for histogram
    00404  *  @param highZ high z limit for histogram
    00405  *  @param binsX number of bins in x
    00406  *  @param binsY number of bins in y
    00407  *  @param binsZ number of bins in z
    00408  *  @param weight weight
    00409  *  @return pointer to AIDA 3D histogram
    00410  */
    00411 // ============================================================================
    00412 AIDA::IHistogram3D*  GaudiPython::HistoDecorator::plot3D
    00413 ( const GaudiHistoAlg&      algo   ,
    00414   const double        valueX       ,
    00415   const double        valueY       ,
    00416   const double        valueZ       ,
    00417   const GaudiAlg::HistoID&  ID     ,
    00418   const std::string&  title        ,
    00419   const double        lowX         ,
    00420   const double        highX        ,
    00421   const double        lowY         ,
    00422   const double        highY        ,
    00423   const double        lowZ         ,
    00424   const double        highZ        ,
    00425   const unsigned long binsX        ,
    00426   const unsigned long binsY        ,
    00427   const unsigned long binsZ        ,
    00428   const double        weight       )
    00429 {
    00430   return algo. plot3D ( valueX , valueY , valueZ ,
    00431                         ID     , title  ,
    00432                         lowX   , highX  ,
    00433                         lowY   , highY  ,
    00434                         lowZ   , highZ  ,
    00435                         binsX  , binsY  , binsZ  ,
    00436                         weight                   ) ;
    00437 }
    00438 // ============================================================================
    00439 /*  fill the 3D histogram (book on demand)
    00440  *  @param valueX x value to be filled
    00441  *  @param valueY y value to be filled
    00442  *  @param valueZ z value to be filled
    00443  *  @param title histogram title (must be unique within the algorithm)
    00444  *  @param lowX  low x limit for histogram
    00445  *  @param highX high x limit for histogram
    00446  *  @param lowY  low y limit for histogram
    00447  *  @param highY high y limit for histogram
    00448  *  @param lowZ  low z limit for histogram
    00449  *  @param highZ high z limit for histogram
    00450  *  @param binsX number of bins in x
    00451  *  @param binsY number of bins in y
    00452  *  @param binsZ number of bins in z
    00453  *  @param weight weight
    00454  *  @return pointer to AIDA 3D histogram
    00455  */
    00456 // ============================================================================
    00457 AIDA::IHistogram3D*  GaudiPython::HistoDecorator::plot3D
    00458 ( const GaudiHistoAlg&      algo   ,
    00459   const double        valueX       ,
    00460   const double        valueY       ,
    00461   const double        valueZ       ,
    00462   const long          ID           ,
    00463   const std::string&  title        ,
    00464   const double        lowX         ,
    00465   const double        highX        ,
    00466   const double        lowY         ,
    00467   const double        highY        ,
    00468   const double        lowZ         ,
    00469   const double        highZ        ,
    00470   const unsigned long binsX        ,
    00471   const unsigned long binsY        ,
    00472   const unsigned long binsZ        ,
    00473   const double        weight       )
    00474 {
    00475   return algo. plot3D ( valueX , valueY , valueZ ,
    00476                         ID     , title  ,
    00477                         lowX   , highX  ,
    00478                         lowY   , highY  ,
    00479                         lowZ   , highZ  ,
    00480                         binsX  , binsY  , binsZ  ,
    00481                         weight                   ) ;
    00482 }
    00483 // ============================================================================
    00484 /*  fill the 3D histogram (book on demand)
    00485  *  @param valueX x value to be filled
    00486  *  @param valueY y value to be filled
    00487  *  @param valueZ z value to be filled
    00488  *  @param title histogram title (must be unique within the algorithm)
    00489  *  @param lowX  low x limit for histogram
    00490  *  @param highX high x limit for histogram
    00491  *  @param lowY  low y limit for histogram
    00492  *  @param highY high y limit for histogram
    00493  *  @param lowZ  low z limit for histogram
    00494  *  @param highZ high z limit for histogram
    00495  *  @param binsX number of bins in x
    00496  *  @param binsY number of bins in y
    00497  *  @param binsZ number of bins in z
    00498  *  @param weight weight
    00499  *  @return pointer to AIDA 3D histogram
    00500  */
    00501 // ============================================================================
    00502 AIDA::IHistogram3D*
    00503 GaudiPython::HistoDecorator::plot3D
    00504 ( const GaudiHistoAlg&      algo   ,
    00505   const double        valueX       ,
    00506   const double        valueY       ,
    00507   const double        valueZ       ,
    00508   const std::string&  ID           ,
    00509   const std::string&  title        ,
    00510   const double        lowX         ,
    00511   const double        highX        ,
    00512   const double        lowY         ,
    00513   const double        highY        ,
    00514   const double        lowZ         ,
    00515   const double        highZ        ,
    00516   const unsigned long binsX        ,
    00517   const unsigned long binsY        ,
    00518   const unsigned long binsZ        ,
    00519   const double        weight       )
    00520 {
    00521   return algo. plot3D ( valueX , valueY , valueZ ,
    00522                         ID     , title  ,
    00523                         lowX   , highX  ,
    00524                         lowY   , highY  ,
    00525                         lowZ   , highZ  ,
    00526                         binsX  , binsY  , binsZ  ,
    00527                         weight                   ) ;
    00528 }
    00529 // ========================================================================
    00530 // 1D-profiles: by title
    00531 // ========================================================================
    00532 AIDA::IProfile1D*
    00533 GaudiPython::HistoDecorator::profile1D
    00534 ( const GaudiHistoAlg&   algo   ,
    00535   const double           valueX ,
    00536   const double           valueY ,
    00537   const std::string&     title  ,
    00538   const double           lowX   ,
    00539   const double           highX  ,
    00540   const unsigned long    binsX  ,
    00541   const std::string&     opt    ,
    00542   const double           lowY   ,
    00543   const double           highY  ,
    00544   const double           weight )
    00545 {
    00546   return algo.profile1D
    00547     ( valueX , valueY , title , lowX , highX , binsX ,
    00548       opt , lowY , highY , weight ) ;
    00549 }
    00550 // ========================================================================
    00551 // 1D-profiles: by generic ID
    00552 // ========================================================================
    00553 AIDA::IProfile1D*
    00554 GaudiPython::HistoDecorator::profile1D
    00555 ( const GaudiHistoAlg&     algo   ,
    00556   const double             valueX ,
    00557   const double             valueY ,
    00558   const GaudiAlg::HistoID& ID     ,
    00559   const std::string&       title  ,
    00560   const double             lowX   ,
    00561   const double             highX  ,
    00562   const unsigned long      binsX  ,
    00563   const std::string&       opt    ,
    00564   const double             lowY   ,
    00565   const double             highY  ,
    00566   const double             weight )
    00567 {
    00568   return algo.profile1D
    00569     ( valueX , valueY , ID , title , lowX , highX , binsX ,
    00570       opt , lowY , highY , weight ) ;
    00571 }
    00572 // ========================================================================
    00573 // 1D-profiles: by numeric ID
    00574 // ========================================================================
    00575 AIDA::IProfile1D*
    00576 GaudiPython::HistoDecorator::profile1D
    00577 ( const GaudiHistoAlg&   algo   ,
    00578   const double           valueX ,
    00579   const double           valueY ,
    00580   const long             ID     ,
    00581   const std::string&     title  ,
    00582   const double           lowX   ,
    00583   const double           highX  ,
    00584   const unsigned long    binsX  ,
    00585   const std::string&     opt    ,
    00586   const double           lowY   ,
    00587   const double           highY  ,
    00588   const double           weight )
    00589 {
    00590   return algo.profile1D
    00591     ( valueX , valueY , ID , title , lowX , highX , binsX ,
    00592       opt , lowY , highY , weight ) ;
    00593 }
    00594 // ========================================================================
    00595 // 1D-profiles: by string ID
    00596 // ========================================================================
    00597 AIDA::IProfile1D*
    00598 GaudiPython::HistoDecorator::profile1D
    00599 ( const GaudiHistoAlg&   algo   ,
    00600   const double           valueX ,
    00601   const double           valueY ,
    00602   const std::string&     ID     ,
    00603   const std::string&     title  ,
    00604   const double           lowX   ,
    00605   const double           highX  ,
    00606   const unsigned long    binsX  ,
    00607   const std::string&     opt    ,
    00608   const double           lowY   ,
    00609   const double           highY  ,
    00610   const double           weight )
    00611 {
    00612   return algo.profile1D
    00613     ( valueX , valueY , ID , title , lowX , highX , binsX ,
    00614       opt , lowY , highY , weight ) ;
    00615 }
    00616 // ========================================================================
    00617 // 2D-profiles: by title
    00618 // ========================================================================
    00619 AIDA::IProfile2D*
    00620 GaudiPython::HistoDecorator::profile2D
    00621 ( const GaudiHistoAlg&   algo   ,
    00622   const double           valueX ,
    00623   const double           valueY ,
    00624   const double           valueZ ,
    00625   const std::string&     title  ,
    00626   const double           lowX   ,
    00627   const double           highX  ,
    00628   const double           lowY   ,
    00629   const double           highY  ,
    00630   const unsigned long    binsX  ,
    00631   const unsigned long    binsY  ,
    00632   const double           weight )
    00633 {
    00634   return algo.profile2D
    00635     ( valueX , valueY , valueZ ,
    00636       title  ,
    00637       lowX   , highX  ,
    00638       lowY   , highY  ,
    00639       binsX  , binsY  , weight  ) ;
    00640 }
    00641 // ========================================================================
    00642 // 2D-profiles: by generic ID
    00643 // ========================================================================
    00644 AIDA::IProfile2D*
    00645 GaudiPython::HistoDecorator::profile2D
    00646 ( const GaudiHistoAlg&     algo   ,
    00647   const double             valueX ,
    00648   const double             valueY ,
    00649   const double             valueZ ,
    00650   const GaudiAlg::HistoID& ID     ,
    00651   const std::string&       title  ,
    00652   const double             lowX   ,
    00653   const double             highX  ,
    00654   const double             lowY   ,
    00655   const double             highY  ,
    00656   const unsigned long      binsX  ,
    00657   const unsigned long      binsY  ,
    00658   const double             weight )
    00659 {
    00660   return algo.profile2D
    00661     ( valueX , valueY , valueZ ,
    00662       ID     , title  ,
    00663       lowX   , highX  ,
    00664       lowY   , highY  ,
    00665       binsX  , binsY  , weight  ) ;
    00666 }
    00667 // ========================================================================
    00668 // 2D-profiles: by numeric ID
    00669 // ========================================================================
    00670 AIDA::IProfile2D*
    00671 GaudiPython::HistoDecorator::profile2D
    00672 ( const GaudiHistoAlg&   algo   ,
    00673   const double           valueX ,
    00674   const double           valueY ,
    00675   const double           valueZ ,
    00676   const long             ID     ,
    00677   const std::string&     title  ,
    00678   const double           lowX   ,
    00679   const double           highX  ,
    00680   const double           lowY   ,
    00681   const double           highY  ,
    00682   const unsigned long    binsX  ,
    00683   const unsigned long    binsY  ,
    00684   const double           weight )
    00685 {
    00686   return algo.profile2D
    00687     ( valueX , valueY , valueZ ,
    00688       ID     , title  ,
    00689       lowX   , highX  ,
    00690       lowY   , highY  ,
    00691       binsX  , binsY  , weight  ) ;
    00692 }
    00693 // ========================================================================
    00694 // 2D-profiles: by string ID
    00695 // ========================================================================
    00696 AIDA::IProfile2D*
    00697 GaudiPython::HistoDecorator::profile2D
    00698 ( const GaudiHistoAlg&   algo   ,
    00699   const double           valueX ,
    00700   const double           valueY ,
    00701   const double           valueZ ,
    00702   const std::string&     ID     ,
    00703   const std::string&     title  ,
    00704   const double           lowX   ,
    00705   const double           highX  ,
    00706   const double           lowY   ,
    00707   const double           highY  ,
    00708   const unsigned long    binsX  ,
    00709   const unsigned long    binsY  ,
    00710   const double           weight )
    00711 {
    00712   return algo.profile2D
    00713     ( valueX , valueY , valueZ ,
    00714       ID     , title  ,
    00715       lowX   , highX  ,
    00716       lowY   , highY  ,
    00717       binsX  , binsY  , weight  ) ;
    00718 }
    00719 // ============================================================================
    00720 // The END
    00721 // ============================================================================