16#ifndef ALICEO2_FLATHISTO2D_H
17#define ALICEO2_FLATHISTO2D_H
48template <
typename T =
float>
51 static_assert(std::is_same<T, float>::value || std::is_same<T, double>::value,
"T must be float or double");
65 FlatHisto2D(uint32_t nbx, T xmin, T xmax, uint32_t nby, T ymin, T ymax);
76 void init(uint32_t nbx, T xmin, T xmax, uint32_t nby, T ymin, T ymax);
228 return binX < getNBinsX() ? gsl::span<const T>(&
mDataPtr[offs],
getNBinsY()) : gsl::span<const T>();
231 std::unique_ptr<TH2F>
createTH2F(
const std::string&
name =
"histo2d")
const;
233 std::unique_ptr<TH1F>
createSliceXTH1F(uint32_t binY,
const std::string&
name =
"histo2dsliceX")
const;
234 std::unique_ptr<TH1F>
createSliceYTH1F(uint32_t binX,
const std::string&
name =
"histo2dsliceY")
const;
242 void init(
const gsl::span<const T> ext);
GLuint const GLchar * name
GLubyte GLubyte GLubyte GLubyte w
a couple of static helper functions to create timestamp values for CCDB queries or override obsolete ...
VectorOfTObjectPtrs other