Loading [MathJax]/extensions/tex2jax.js
The Gaudi Framework  v31r0 (aeb156f0)
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
HistoLabels.h
Go to the documentation of this file.
1 #ifndef GAUDIUTILS_HISTOLABELS_H
2 #define GAUDIUTILS_HISTOLABELS_H 1
3 
4 #include <string>
5 #include <utility>
6 #include <vector>
7 
8 #include "GaudiKernel/Kernel.h"
9 
10 namespace AIDA {
11  class IHistogram1D;
12  class IHistogram2D;
13  class IProfile1D;
14  class IProfile2D;
15 } // namespace AIDA
16 
17 namespace Gaudi {
18  namespace Utils {
19  namespace Histos {
20  // --------------------------------------------------------------------------
21 
28 
29  // --------------------------------------------------------------------------
30 
45  GAUDI_API bool setBinLabels( AIDA::IHistogram1D* hist, const Labels& labels );
46 
58  GAUDI_API bool setBinLabels( AIDA::IHistogram1D* hist, const BinLabels& labels );
59 
60  // --------------------------------------------------------------------------
61 
76  GAUDI_API bool setBinLabels( AIDA::IProfile1D* hist, const Labels& labels );
77 
89  GAUDI_API bool setBinLabels( AIDA::IProfile1D* hist, const BinLabels& labels );
90 
91  // --------------------------------------------------------------------------
92 
108  GAUDI_API bool setBinLabels( AIDA::IHistogram2D* hist, const Labels& xlabels, const Labels& ylabels );
109 
122  GAUDI_API bool setBinLabels( AIDA::IHistogram2D* hist, const BinLabels& xlabels, const BinLabels& ylabels );
123 
124  // --------------------------------------------------------------------------
125 
141  GAUDI_API bool setBinLabels( AIDA::IProfile2D* hist, const Labels& xlabels, const Labels& ylabels );
142 
155  GAUDI_API bool setBinLabels( AIDA::IProfile2D* hist, const BinLabels& xlabels, const BinLabels& ylabels );
156 
157  // --------------------------------------------------------------------------
158 
169  GAUDI_API bool setAxisLabels( AIDA::IHistogram1D* hist, const std::string& xAxis, const std::string& yAxis );
170 
181  GAUDI_API bool setAxisLabels( AIDA::IProfile1D* hist, const std::string& xAxis, const std::string& yAxis );
182 
183  // --------------------------------------------------------------------------
184 
195  GAUDI_API bool setAxisLabels( AIDA::IHistogram2D* hist, const std::string& xAxis, const std::string& yAxis );
196 
207  GAUDI_API bool setAxisLabels( AIDA::IProfile2D* hist, const std::string& xAxis, const std::string& yAxis );
208 
209  // --------------------------------------------------------------------------
210  } // namespace Histos
211  } // namespace Utils
212 } // namespace Gaudi
213 
214 #endif // GAUDIUTILS_HISTOLABELS_H
helper namespace to collect useful definitions, types, constants and functions, related to manipulati...
std::vector< BinLabel > BinLabels
Typedef for a list of bin numbers and their associated label.
Definition: HistoLabels.h:27
GAUDI_API bool setAxisLabels(AIDA::IProfile2D *hist, const std::string &xAxis, const std::string &yAxis)
Set the axis labels for the given 2D profile histogram.
GaudiKernel.
Definition: Fill.h:10
STL class.
GAUDI_API bool setBinLabels(AIDA::IProfile2D *hist, const BinLabels &xlabels, const BinLabels &ylabels)
Set the Bin labels for a given 2D profile histogram.
std::vector< std::string > Labels
Typedef for a list of labels.
Definition: HistoLabels.h:23
std::pair< unsigned, std::string > BinLabel
Typedef for a bin number and its associated label.
Definition: HistoLabels.h:25
#define GAUDI_API
Definition: Kernel.h:71
Helper functions to set/get the application return code.
Definition: __init__.py:1