|
|
Go to the documentation of this file. 1 #ifndef CondFormats_PhysicsToolsObjects_Histogram2D_h
2 #define CondFormats_PhysicsToolsObjects_Histogram2D_h
6 #if !defined(__CINT__) && !defined(__MAKECINT__) && !defined(__REFLEX__)
19 template <
typename Value_t,
typename AxisX_t = Value_t,
typename AxisY_t = AxisX_t>
29 template <
typename OValue_t,
typename OAxisX_t,
typename OAxisY_t>
34 template <
typename OAxisX_t,
typename OAxisY_t>
37 template <
typename OAxisX_t,
typename OAxisY_t>
42 template <
typename OAxisX_t,
typename OAxisY_t>
47 template <
typename OAxisX_t,
typename OAxisY_t>
59 template <
typename OValue_t,
typename OAxisX_t,
typename OAxisY_t>
67 inline int bin2D(
int binX,
int binY)
const {
return binY *
stride + binX; }
87 void fill(AxisX_t x, AxisY_t y, Value_t
weight = 1.0);
100 template <
typename OValue_t>
127 #if !defined(__CINT__) && !defined(__MAKECINT__) && !defined(__REFLEX__)
144 std::vector<PhysicsTools::Calibration::HistogramD2D>
vHist;
153 #if !defined(__CINT__) && !defined(__MAKECINT__) && !defined(__REFLEX__)
154 #include "CondFormats/PhysicsToolsObjects/interface/Histogram2D.icc"
157 #endif // CondFormats_PhysicsToolsObjects_Histogram2D_h
#define COND_SERIALIZABLE