Go to the documentation of this file.00001
00002 #ifndef GAUDIUTILS_HISTOLABELS_H
00003 #define GAUDIUTILS_HISTOLABELS_H 1
00004
00005 #include <vector>
00006 #include <string>
00007 #include <utility>
00008
00009 #include "GaudiKernel/Kernel.h"
00010
00011 namespace AIDA
00012 {
00013 class IHistogram1D;
00014 class IHistogram2D;
00015 class IProfile1D;
00016 class IProfile2D;
00017 }
00018
00019 namespace Gaudi
00020 {
00021 namespace Utils
00022 {
00023 namespace Histos
00024 {
00025
00026
00028 typedef std::vector<std::string> Labels;
00030 typedef std::pair<unsigned,std::string> BinLabel;
00032 typedef std::vector<BinLabel> BinLabels;
00033
00034
00035
00050 GAUDI_API bool setBinLabels( AIDA::IHistogram1D* hist,
00051 const Labels& labels ) ;
00052
00064 GAUDI_API bool setBinLabels( AIDA::IHistogram1D* hist,
00065 const BinLabels& labels ) ;
00066
00067
00068
00083 GAUDI_API bool setBinLabels( AIDA::IProfile1D* hist,
00084 const Labels& labels ) ;
00085
00097 GAUDI_API bool setBinLabels( AIDA::IProfile1D* hist,
00098 const BinLabels & labels ) ;
00099
00100
00101
00117 GAUDI_API bool setBinLabels( AIDA::IHistogram2D* hist,
00118 const Labels& xlabels,
00119 const Labels& ylabels ) ;
00120
00133 GAUDI_API bool setBinLabels( AIDA::IHistogram2D* hist,
00134 const BinLabels& xlabels,
00135 const BinLabels& ylabels ) ;
00136
00137
00138
00154 GAUDI_API bool setBinLabels( AIDA::IProfile2D* hist,
00155 const Labels& xlabels,
00156 const Labels& ylabels ) ;
00157
00170 GAUDI_API bool setBinLabels( AIDA::IProfile2D* hist,
00171 const BinLabels& xlabels,
00172 const BinLabels& ylabels ) ;
00173
00174
00175
00186 GAUDI_API bool setAxisLabels( AIDA::IHistogram1D* hist,
00187 const std::string & xAxis,
00188 const std::string & yAxis ) ;
00189
00200 GAUDI_API bool setAxisLabels( AIDA::IProfile1D* hist,
00201 const std::string & xAxis,
00202 const std::string & yAxis ) ;
00203
00204
00205
00216 GAUDI_API bool setAxisLabels( AIDA::IHistogram2D* hist,
00217 const std::string & xAxis,
00218 const std::string & yAxis ) ;
00219
00230 GAUDI_API bool setAxisLabels( AIDA::IProfile2D* hist,
00231 const std::string & xAxis,
00232 const std::string & yAxis ) ;
00233
00234
00235
00236 }
00237 }
00238 }
00239
00240 #endif // GAUDIUTILS_HISTOLABELS_H