1 #ifndef HISTOGRAMSVC_H1D_H
2 #define HISTOGRAMSVC_H1D_H 1
4 #include "GaudiKernel/DataObject.h"
19 void init(
const std::string& title,
bool initialize_axis=
true);
32 virtual void adoptRepresentation(TObject*rep);
34 virtual bool setBinContents(
int i,
int entries ,
double height,
double error,
double centre);
38 virtual bool setStatistics(
int allEntries,
double eqBinEntries,
double mean,
double rms);
40 virtual bool fill(
double x,
double weight);
42 bool setRms(
double rms);
44 void copyFromAida(
const AIDA::IHistogram1D & h);
46 virtual const CLID&
clID()
const {
return classID(); }
62 #endif // HISTOGRAMSVC_H1D_H
GAUDI_API void fill(AIDA::IHistogram1D *histo, const double value, const double weight=1.0)
simple function to fill AIDA::IHistogram1D objects
virtual ~Histogram1D()
Destructor.
The stream buffer is a small object collecting object data.
AIDA implementation for 1 D histograms using ROOT THD1.
virtual const CLID & clID() const
Retrieve reference to class defininition identifier.
unsigned int CLID
Class ID definition.
static const CLID & classID()
A DataObject is the base class of any identifiable object on any data store.
Helper functions to set/get the application return code.
double m_sumwx
cache sumwx when setting contents since I don't have bin mean
Common AIDA implementation stuff for histograms and profiles using ROOT implementations.