14#include <AIDA/IProfile1D.h>
19#include <nlohmann/json.hpp>
36 void init(
const std::string&
title,
bool initialize_axis =
true );
45 bool fill(
double x,
double y,
double weight = 1. )
override;
46 virtual bool setBinContents(
int i,
int entries,
double height,
double error,
double spread,
double centre );
unsigned int CLID
Class ID definition.
DataObject()
Standard Constructor.
std::string title() const override
std::unique_ptr< IMPLEMENTATION > m_rep
Reference to underlying implementation.
int entries() const override
Profile1D()
Default Constructor.
bool fill(double x, double y, double weight=1.) override
Fill the Profile1D with a value and the corresponding weight.
std::mutex m_fillSerialization
static const CLID & classID()
friend void reset(Profile1D &h)
AIDA::IAnnotation IAnnotation
friend void to_json(nlohmann::json &j, Profile1D const &p)
conversion to json via nlohmann library
const CLID & clID() const override
Retrieve reference to class defininition identifier.
virtual bool setBinContents(int i, int entries, double height, double error, double spread, double centre)
void init(const std::string &title, bool initialize_axis=true)
This file provides a Grammar for the type Gaudi::Accumulators::Axis It allows to use that type from p...