![]() |
ATLAS Offline Software
|
Interface class to get the histogram definition for a named histogram in a given directory. More...
#include <IHistogramDefinitionSvc.h>
Public Types | |
| enum | Formats { UNKNOWN , TEXT_XML , TEXT_PLAIN , NFORMATS } |
| Format of the data source holding the histogram definition. More... | |
| typedef std::pair< float, float > | axesLimits_t |
| typedef for axes limits, (lower bound, upper bound) | |
Public Member Functions | |
| DeclareInterfaceID (IHistogramDefinitionSvc, 1, 0) | |
| virtual | ~IHistogramDefinitionSvc () |
| Virtual destructor does nothing. | |
| virtual SingleHistogramDefinition | definition (const std::string &name, const std::string &dirName="") const =0 |
| Return a histogram definition, retrieved by histogram identifier (and directory name, if supplied) | |
| virtual std::string | histoType (const std::string &name, const std::string &dirName="") const =0 |
| Return Histogram type (TH1, TH2 etc) by histogram identifier (and directory name, if supplied) | |
| virtual std::string | title (const std::string &name, const std::string &dirName="") const =0 |
| Return Histogram title by histogram identifier (and directory name, if supplied) | |
| virtual unsigned int | nBinsX (const std::string &name, const std::string &dirName="") const =0 |
| Return number of x bins by histogram identifier (and directory name, if supplied) | |
| virtual unsigned int | nBinsY (const std::string &, const std::string &="") const |
| Return number of y bins by histogram identifier (and directory name, if supplied); default returns 0 for 1-D histos. | |
| virtual unsigned int | nBinsZ (const std::string &, const std::string &="") const |
| Return number of z bins by histogram identifier (and directory name, if supplied); default returns 0 for 1-D histos. | |
| virtual axesLimits_t | xLimits (const std::string &name, const std::string &dirName="") const =0 |
| Return x axes (lo,hi) by histogram identifier (and directory name, if supplied) | |
| virtual axesLimits_t | yLimits (const std::string &, const std::string &="") const |
| Return y axes (lo,hi) by histogram identifier (and directory name, if supplied). Default returns (nan,nan). | |
| virtual axesLimits_t | zLimits (const std::string &name, const std::string &dirName="") const =0 |
| Return z axes (lo,hi) by histogram identifier (and directory name, if supplied) | |
| virtual std::string | xTitle (const std::string &name, const std::string &dirName="") const =0 |
| Return x-axis title by histogram identifier (and directory name, if supplied) | |
| virtual std::string | yTitle (const std::string &name, const std::string &dirName="") const =0 |
| Return y-axis title by histogram identifier (and directory name, if supplied) | |
| virtual std::string | zTitle (const std::string &name, const std::string &dirName="") const =0 |
| Return z-axis title by histogram identifier (and directory name, if supplied) | |
Interface class to get the histogram definition for a named histogram in a given directory.
Definition at line 20 of file IHistogramDefinitionSvc.h.
| typedef std::pair<float, float> IHistogramDefinitionSvc::axesLimits_t |
typedef for axes limits, (lower bound, upper bound)
Definition at line 29 of file IHistogramDefinitionSvc.h.
Format of the data source holding the histogram definition.
| Enumerator | |
|---|---|
| UNKNOWN | |
| TEXT_XML | |
| TEXT_PLAIN | |
| NFORMATS | |
Definition at line 25 of file IHistogramDefinitionSvc.h.
|
inlinevirtual |
| IHistogramDefinitionSvc::DeclareInterfaceID | ( | IHistogramDefinitionSvc | , |
| 1 | , | ||
| 0 | ) |
|
pure virtual |
Return a histogram definition, retrieved by histogram identifier (and directory name, if supplied)
|
pure virtual |
Return Histogram type (TH1, TH2 etc) by histogram identifier (and directory name, if supplied)
|
pure virtual |
Return number of x bins by histogram identifier (and directory name, if supplied)
|
inlinevirtual |
Return number of y bins by histogram identifier (and directory name, if supplied); default returns 0 for 1-D histos.
Definition at line 39 of file IHistogramDefinitionSvc.h.
|
inlinevirtual |
Return number of z bins by histogram identifier (and directory name, if supplied); default returns 0 for 1-D histos.
Definition at line 41 of file IHistogramDefinitionSvc.h.
|
pure virtual |
Return Histogram title by histogram identifier (and directory name, if supplied)
|
pure virtual |
Return x axes (lo,hi) by histogram identifier (and directory name, if supplied)
|
pure virtual |
Return x-axis title by histogram identifier (and directory name, if supplied)
|
inlinevirtual |
Return y axes (lo,hi) by histogram identifier (and directory name, if supplied). Default returns (nan,nan).
Definition at line 45 of file IHistogramDefinitionSvc.h.
|
pure virtual |
Return y-axis title by histogram identifier (and directory name, if supplied)
|
pure virtual |
Return z axes (lo,hi) by histogram identifier (and directory name, if supplied)
|
pure virtual |
Return z-axis title by histogram identifier (and directory name, if supplied)