| # Gaudi Framework, version v23r0 |

Home |  | Generated: Mon Jan 30 2012

# HistoLabels.h

Go to the documentation of this file.

    00001 // $Id: $
    00002 #ifndef GAUDIUTILS_HISTOLABELS_H
    00003 #define GAUDIUTILS_HISTOLABELS_H 1
    00004
    00005 #include <vector>
    00006 #include <string>
    00007 #include <utility>
    00008
    00009 namespace AIDA
    00010 {
    00011   class IHistogram1D;
    00012   class IHistogram2D;
    00013   class IProfile1D;
    00014   class IProfile2D;
    00015 }
    00016
    00017 namespace Gaudi
    00018 {
    00019   namespace Utils
    00020   {
    00021     namespace Histos
    00022     {
    00023       // --------------------------------------------------------------------------
    00024
    00026       typedef std::vector<std::string>        Labels;
    00028       typedef std::pair<unsigned,std::string> BinLabel;
    00030       typedef std::vector<BinLabel>           BinLabels;
    00031
    00032       // --------------------------------------------------------------------------
    00033
    00048       bool setBinLabels( AIDA::IHistogram1D* hist,
    00049                          const Labels& labels ) ;
    00050
    00062       bool setBinLabels( AIDA::IHistogram1D* hist,
    00063                          const BinLabels& labels ) ;
    00064
    00065       // --------------------------------------------------------------------------
    00066
    00081       bool setBinLabels( AIDA::IProfile1D* hist,
    00082                          const Labels& labels ) ;
    00083
    00095       bool setBinLabels( AIDA::IProfile1D* hist,
    00096                          const BinLabels & labels ) ;
    00097
    00098       // --------------------------------------------------------------------------
    00099
    00115       bool setBinLabels( AIDA::IHistogram2D* hist,
    00116                          const Labels& xlabels,
    00117                          const Labels& ylabels ) ;
    00118
    00131       bool setBinLabels( AIDA::IHistogram2D* hist,
    00132                          const BinLabels& xlabels,
    00133                          const BinLabels& ylabels ) ;
    00134
    00135       // --------------------------------------------------------------------------
    00136
    00152       bool setBinLabels( AIDA::IProfile2D* hist,
    00153                          const Labels& xlabels,
    00154                          const Labels& ylabels ) ;
    00155
    00168       bool setBinLabels( AIDA::IProfile2D* hist,
    00169                          const BinLabels& xlabels,
    00170                          const BinLabels& ylabels ) ;
    00171
    00172       // --------------------------------------------------------------------------
    00173
    00184       bool setAxisLabels( AIDA::IHistogram1D* hist,
    00185                           const std::string & xAxis,
    00186                           const std::string & yAxis ) ;
    00187
    00198       bool setAxisLabels( AIDA::IProfile1D* hist,
    00199                           const std::string & xAxis,
    00200                           const std::string & yAxis ) ;
    00201
    00202       // --------------------------------------------------------------------------
    00203
    00214       bool setAxisLabels( AIDA::IHistogram2D* hist,
    00215                           const std::string & xAxis,
    00216                           const std::string & yAxis ) ;
    00217
    00228       bool setAxisLabels( AIDA::IProfile2D* hist,
    00229                           const std::string & xAxis,
    00230                           const std::string & yAxis ) ;
    00231
    00232       // --------------------------------------------------------------------------
    00233
    00234     }
    00235   }
    00236 }
    00237
    00238 #endif // GAUDIUTILS_HISTOLABELS_H

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