Go to the documentation of this file.
13 #include "AIDA/IHistogram2D.h"
19 #include <nlohmann/json.hpp>
38 bool fill(
double x,
double y,
double weight = 1. )
override;
40 virtual bool setBinContents(
int binIndexX,
int binIndexY,
int entries,
double height,
double error,
double centreX,
43 bool setRms(
double rmsX,
double rmsY );
45 bool reset()
override;
51 void copyFromAida(
const AIDA::IHistogram2D&
h );
53 const CLID&
clID()
const override {
return classID(); }
friend void to_json(nlohmann::json &j, Histogram2D const &h)
conversion to json via nlohmann library
static const CLID & classID()
friend void reset(Histogram2D &h)
void reset(T &)
default (empty) implementation of reset method for types stored into an entity
std::mutex m_fillSerialization
const CLID & clID() const override
Retrieve reference to class defininition identifier.
unsigned int CLID
Class ID definition.
Header file for std:chrono::duration-based Counters.
GAUDI_API void fill(AIDA::IHistogram1D *histo, const double value, const double weight=1.0)
simple function to fill AIDA::IHistogram1D objects