14#include <AIDA/IHistogram1D.h> 
   19#include <nlohmann/json.hpp> 
   33    void init( 
const std::string& 
title, 
bool initialize_axis = 
true );
 
   51    bool reset() 
override;
 
   57    virtual bool setStatistics( 
int allEntries, 
double eqBinEntries, 
double mean, 
double rms );
 
   59    bool fill( 
double x, 
double weight ) 
override;
 
   61    bool setRms( 
double rms );
 
   63    void copyFromAida( 
const AIDA::IHistogram1D& h );
 
 
unsigned int CLID
Class ID definition.
DataObject()
Standard Constructor.
Common AIDA implementation stuff for histograms and profiles using ROOT implementations.
std::string title() const override
int entries() const override
AIDA implementation for 1 D histograms using ROOT THD1.
static const CLID & classID()
const CLID & clID() const override
Retrieve reference to class defininition identifier.
friend void to_json(nlohmann::json &j, Gaudi::Histogram1D const &h)
conversion to json via nlohmann library
void adoptRepresentation(TObject *rep) override
Adopt ROOT histogram representation.
Histogram1D()
Standard constructor.
double m_sumwx
cache sumwx when setting contents since I don't have bin mean
friend void reset(Histogram1D &h)
std::mutex m_fillSerialization
void init(const std::string &title, bool initialize_axis=true)
virtual bool setBinContents(int i, int entries, double height, double error, double centre)
set bin content (entries and centre are not used )
The stream buffer is a small object collecting object data.
This file provides a Grammar for the type Gaudi::Accumulators::Axis It allows to use that type from p...