The Gaudi Framework  v30r3 (a5ef0a68)
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 {
12  class IHistogram1D;
13  class IHistogram2D;
14  class IProfile1D;
15  class IProfile2D;
16 }
17 
18 namespace Gaudi
19 {
20  namespace Utils
21  {
22  namespace Histos
23  {
24  // --------------------------------------------------------------------------
25 
32 
33  // --------------------------------------------------------------------------
34 
49  GAUDI_API bool setBinLabels( AIDA::IHistogram1D* hist, const Labels& labels );
50 
62  GAUDI_API bool setBinLabels( AIDA::IHistogram1D* hist, const BinLabels& labels );
63 
64  // --------------------------------------------------------------------------
65 
80  GAUDI_API bool setBinLabels( AIDA::IProfile1D* hist, const Labels& labels );
81 
93  GAUDI_API bool setBinLabels( AIDA::IProfile1D* hist, const BinLabels& labels );
94 
95  // --------------------------------------------------------------------------
96 
112  GAUDI_API bool setBinLabels( AIDA::IHistogram2D* hist, const Labels& xlabels, const Labels& ylabels );
113 
126  GAUDI_API bool setBinLabels( AIDA::IHistogram2D* hist, const BinLabels& xlabels, const BinLabels& ylabels );
127 
128  // --------------------------------------------------------------------------
129 
145  GAUDI_API bool setBinLabels( AIDA::IProfile2D* hist, const Labels& xlabels, const Labels& ylabels );
146 
159  GAUDI_API bool setBinLabels( AIDA::IProfile2D* hist, const BinLabels& xlabels, const BinLabels& ylabels );
160 
161  // --------------------------------------------------------------------------
162 
173  GAUDI_API bool setAxisLabels( AIDA::IHistogram1D* hist, const std::string& xAxis, const std::string& yAxis );
174 
185  GAUDI_API bool setAxisLabels( AIDA::IProfile1D* hist, const std::string& xAxis, const std::string& yAxis );
186 
187  // --------------------------------------------------------------------------
188 
199  GAUDI_API bool setAxisLabels( AIDA::IHistogram2D* hist, const std::string& xAxis, const std::string& yAxis );
200 
211  GAUDI_API bool setAxisLabels( AIDA::IProfile2D* hist, const std::string& xAxis, const std::string& yAxis );
212 
213  // --------------------------------------------------------------------------
214  }
215  }
216 }
217 
218 #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:31
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:27
std::pair< unsigned, std::string > BinLabel
Typedef for a bin number and its associated label.
Definition: HistoLabels.h:29
#define GAUDI_API
Definition: Kernel.h:104
Helper functions to set/get the application return code.
Definition: __init__.py:1