|
| Histogram1D () |
| Standard constructor.
|
|
| Histogram1D (TH1D *rep) |
| Standard constructor with initialization. The histogram representation will be adopted.
|
|
void | adoptRepresentation (TObject *rep) override |
| Adopt ROOT histogram representation.
|
|
virtual bool | setBinContents (int i, int entries, double height, double error, double centre) |
| set bin content (entries and centre are not used )
|
|
bool | reset () override |
|
virtual bool | setStatistics (int allEntries, double eqBinEntries, double mean, double rms) |
| set histogram statistics
|
|
bool | fill (double x, double weight) override |
| Fill the Profile1D with a value and the corresponding weight.
|
|
bool | setRms (double rms) |
| Update histogram RMS.
|
|
void | copyFromAida (const AIDA::IHistogram1D &h) |
| Create new histogram from any AIDA based histogram.
|
|
const CLID & | clID () const override |
| Retrieve reference to class defininition identifier.
|
|
StreamBuffer & | serialize (StreamBuffer &s) |
| Serialization mechanism, Serialize the object for reading.
|
|
StreamBuffer & | serialize (StreamBuffer &s) const |
| Serialization mechanism, Serialize the object for writing.
|
|
| DataObject () |
| Standard Constructor.
|
|
| DataObject (const DataObject &rhs) |
| Copy Constructor.
|
|
DataObject & | operator= (const DataObject &rhs) |
| Assignment Operator.
|
|
| DataObject (DataObject &&rhs) |
| Move Constructor.
|
|
DataObject & | operator= (DataObject &&rhs) |
| Move Assignment Operator.
|
|
virtual | ~DataObject () |
| Standard Destructor.
|
|
virtual unsigned long | addRef () |
| Add reference to object.
|
|
virtual unsigned long | release () |
| release reference to object
|
|
const std::string & | name () const |
| Retreive DataObject name. It is the name when registered in the store.
|
|
virtual StatusCode | update () |
| Provide empty placeholder for internal object reconfiguration callback.
|
|
void | setRegistry (IRegistry *pRegistry) |
| Set pointer to Registry.
|
|
IRegistry * | registry () const |
| Get pointer to Registry.
|
|
LinkManager * | linkMgr () |
| Retrieve Link manager.
|
|
const LinkManager * | linkMgr () const |
|
unsigned char | version () const |
| Retrieve version number of this object representation.
|
|
void | setVersion (unsigned char vsn) |
| Set version number of this object representation.
|
|
unsigned long | refCount () const |
| Return the refcount.
|
|
virtual std::ostream & | fillStream (std::ostream &s) const |
| Fill the output stream (ASCII)
|
|
void * | cast (const std::string &className) const |
|
int | binEntries (int index) const |
|
int | binEntries (int index) const |
|
void * | cast (const std::string &className) const |
|
| Generic1D ()=default |
| Default constructor.
|
|
virtual const std::string & | userLevelClassType () const |
| The AIDA user-level unterface leaf class type.
|
|
void * | cast (const std::string &cl) const override |
| Manual cast by class name.
|
|
void * | cast (const std::string &className) const |
|
void * | cast (const std::string &className) const |
|
TObject * | representation () const override |
| ROOT object implementation.
|
|
std::string | title () const override |
| Get the title of the object.
|
|
bool | setTitle (const std::string &title) override |
| Set the title of the object.
|
|
std::string | name () const |
| object name
|
|
bool | setName (const std::string &newName) |
| Set the name of the object.
|
|
AIDA::IAnnotation & | annotation () override |
| Access annotation object.
|
|
const AIDA::IAnnotation & | annotation () const override |
| Access annotation object (cons)
|
|
Axis & | axis () |
| Access to axis object.
|
|
const Axis & | axis () const override |
| Get the x axis of the IHistogram1D.
|
|
int | entries () const override |
| Get the number or all the entries.
|
|
int | allEntries () const override |
| Get the number or all the entries, both in range and underflow/overflow bins of the IProfile.
|
|
int | extraEntries () const override |
| Get the number of entries in the underflow and overflow bins.
|
|
int | binEntries (int index) const override |
| Number of entries in the corresponding bin (ie the number of times fill was called for this bin).
|
|
int | binEntries (int index) const |
|
int | binEntries (int index) const |
|
virtual double | binRms (int index) const |
|
double | sumBinHeights () const override |
| Get the sum of in range bin heights in the IProfile.
|
|
double | sumAllBinHeights () const override |
| Get the sum of all the bins heights (including underflow and overflow bin).
|
|
double | sumExtraBinHeights () const override |
| Get the sum of the underflow and overflow bin height.
|
|
double | minBinHeight () const override |
| Get the minimum height of the in-range bins.
|
|
double | maxBinHeight () const override |
| Get the maximum height of the in-range bins.
|
|
virtual double | equivalentBinEntries () const |
| Number of equivalent entries, i.e. SUM[ weight ] ^ 2 / SUM[ weight^2 ]
|
|
virtual bool | scale (double scaleFactor) |
| Scale the weights and the errors of all the IHistogram's bins (in-range and out-of-range ones) by a given scale factor.
|
|
bool | reset () override |
| Reset the Histogram; as if just created.
|
|
bool | add (const AIDA::IHistogram1D &profile) override |
| Modifies this IProfile1D by adding the contents of profile to it.
|
|
virtual int | rIndex (int index) const |
| operator methods
|
|
double | binMean (int index) const override |
| The weighted mean of a bin.
|
|
double | binHeight (int index) const override |
| Total height of the corresponding bin (ie the sum of the weights in this bin).
|
|
double | binError (int index) const override |
| The error of a given bin.
|
|
double | mean () const override |
| The mean of the whole IHistogram1D.
|
|
double | rms () const override |
| The RMS of the whole IHistogram1D.
|
|
int | coordToIndex (double coord) const override |
| Get the bin number corresponding to a given coordinate along the x axis.
|
|
int | dimension () const override |
| Get the Histogram's dimension.
|
|
std::ostream & | print (std::ostream &s) const override |
| Print (ASCII) the histogram into the output stream.
|
|
std::ostream & | write (std::ostream &s) const override |
| Write (ASCII) the histogram table into the output stream.
|
|
int | write (const char *file_name) const override |
| Write (ASCII) the histogram table into a file.
|
|
virtual | ~HistogramBase ()=default |
|
AIDA implementation for 1 D histograms using ROOT THD1.
- Author
- M.Frank
Definition at line 31 of file H1D.h.