![Logo](../../ATLAS-Logo-Square-Blue-RGB.png) |
ATLAS Offline Software
|
Go to the documentation of this file.
11 #ifndef HistogramDefinitionSvc_h
12 #define HistogramDefinitionSvc_h
std::string title(const std::string &name, const std::string &dirName="") const final
Return Histogram title by histogram identifier (and directory name, if supplied)
std::pair< float, float > axesLimits_t
typedef for axes limits, (lower bound, upper bound)
IHistogramDefinitionSvc::axesLimits_t xLimits(const std::string &name, const std::string &dirName="") const final
Return x axes (lo,hi) by histogram identifier (and directory name, if supplied)
std::string zTitle(const std::string &name, const std::string &dirName="") const final
Return z-axis title by histogram identifier (and directory name, if supplied)
virtual StatusCode finalize()
bool const RAWDATA *ch2 const
std::map< std::string, SingleHistogramDefinition > m_histoDefMap
std::string yTitle(const std::string &name, const std::string &dirName="") const final
Return y-axis title by histogram identifier (and directory name, if supplied)
HistogramDefinitionSvc(const std::string &name, ISvcLocator *svc)
virtual StatusCode initialize()
unsigned int nBinsY(const std::string &name, const std::string &dirName="") const final
Return number of y bins by histogram identifier (and directory name, if supplied); default returns 0 ...
::StatusCode StatusCode
StatusCode definition for legacy code.
IHistogramDefinitionSvc::axesLimits_t zLimits(const std::string &name, const std::string &dirName="") const final
Return z axes (lo,hi) by histogram identifier (and directory name, if supplied)
virtual StatusCode queryInterface(const InterfaceID &riid, void **ppvInterface)
Formats
Format of the data source holding the histogram definition.
IHistogramDefinitionSvc::Formats m_format
AthROOTErrorHandlerSvc * svc
Almost-a-struct for holding the single histogram definition.
unsigned int nBinsZ(const std::string &name, const std::string &dirName="") const final
Return number of z bins by histogram identifier (and directory name, if supplied); default returns 0 ...
unsigned int nBinsX(const std::string &name, const std::string &dirName="") const final
Return number of x bins by histogram identifier (and directory name, if supplied)
virtual ~HistogramDefinitionSvc()
StringProperty m_formatString
std::string histoType(const std::string &name, const std::string &dirName="") const final
Return Histogram type (TH1, TH2 etc) by histogram identifier (and directory name, if supplied)
SingleHistogramDefinition definition(const std::string &name, const std::string &dirName="") const final
Return a histogram definition, retrieved by histogram identifier (and directory name,...
std::string xTitle(const std::string &name, const std::string &dirName="") const final
Return x-axis title by histogram identifier (and directory name, if supplied)
IHistogramDefinitionSvc::axesLimits_t yLimits(const std::string &name, const std::string &dirName="") const final
Return y axes (lo,hi) by histogram identifier (and directory name, if supplied). Default returns (nan...
Interface class to get the histogram definition for a named histogram in a given directory.
std::unique_ptr< IReadHistoDef > m_reader