g4tools  5.4.0
Public Types | Public Member Functions | Protected Member Functions | List of all members
tools::histo::h2< TC, TO, TN, TW, TH > Class Template Reference
Inheritance diagram for tools::histo::h2< TC, TO, TN, TW, TH >:
Inheritance graph
[legend]
Collaboration diagram for tools::histo::h2< TC, TO, TN, TW, TH >:
Collaboration graph
[legend]

Public Types

typedef histo_data< TC, TO, TN, TW > hd_t
 
typedef b2< TC, TO, TN, TW, TH >::bn_t bn_t
 
- Public Types inherited from tools::histo::b2< TC, TO, TN, TW, TH >
typedef base_histo< TC, TO, TN, TW, TH > base_histo_t
 
typedef parent::axis_t axis_t
 
typedef parent::bn_t bn_t
 
- Public Types inherited from tools::histo::base_histo< TC, TO, TN, TW, TH >
typedef histo_data< TC, TO, TN, TW > hd_t
 
typedef axis< TC, TO > axis_t
 
typedef axis_t::bn_t bn_t
 
typedef unsigned int dim_t
 
typedef TC coordinate_t
 
typedef TO offset_t
 
typedef TN num_entries_t
 
typedef TW weight_t
 
typedef TH height_t
 
typedef std::map< std::string, std::string > annotations_t
 

Public Member Functions

virtual TH bin_error (int aI, int aJ) const
 
bool multiply (TW a_factor)
 
bool scale (TW a_factor)
 
void copy_from_data (const hd_t &a_from)
 
hd_t get_histo_data () const
 
bool reset ()
 
bool fill (TC aX, TC aY, TW aWeight=1)
 
bool set_bin_content (bn_t a_ibin, bn_t a_jbin, TN a_entries, TW a_Sw, TW a_Sw2, TC a_Sxw, TC a_Sx2w, TC a_Syw, TC a_Sy2w)
 
bool get_bin_content (bn_t a_ibin, bn_t a_jbin, TN &a_entries, TW &a_Sw, TW &a_Sw2, TC &a_Sxw, TC &a_Sx2w, TC &a_Syw, TC &a_Sy2w)
 
bool add (const h2 &a_histo)
 
bool subtract (const h2 &a_histo)
 
bool multiply (const h2 &a_histo)
 
bool divide (const h2 &a_histo)
 
bool equals_TH (const h2 &a_from, const TW &a_prec, TW(*a_fabs)(TW)) const
 
void not_a_profile () const
 
bool Fill (TC aX, TC aY, TW aWeight=1)
 
 h2 (const std::string &a_title, bn_t aXnumber, TC aXmin, TC aXmax, bn_t aYnumber, TC aYmin, TC aYmax)
 
 h2 (const std::string &a_title, const std::vector< TC > &a_edges_x, const std::vector< TC > &a_edges_y)
 
virtual ~h2 ()
 
 h2 (const h2 &a_from)
 
h2operator= (const h2 &a_from)
 
- Public Member Functions inherited from tools::histo::b2< TC, TO, TN, TW, TH >
TC mean_x () const
 
TC mean_y () const
 
TC rms_x () const
 
TC rms_y () const
 
int coord_to_index_x (TC aCoord) const
 
int coord_to_index_y (TC aCoord) const
 
TN bin_entries (int aI, int aJ) const
 
TW bin_Sw (int aI, int aJ) const
 
TW bin_Sw2 (int aI, int aJ) const
 
TC bin_Sxw (int aI, int aJ) const
 
TC bin_Sx2w (int aI, int aJ) const
 
TC bin_Syw (int aI, int aJ) const
 
TC bin_Sy2w (int aI, int aJ) const
 
TH bin_height (int aI, int aJ) const
 
TC bin_center_x (int aI) const
 
TC bin_center_y (int aJ) const
 
TC bin_mean_x (int aI, int aJ) const
 
TC bin_mean_y (int aI, int aJ) const
 
TC bin_rms_x (int aI, int aJ) const
 
TC bin_rms_y (int aI, int aJ) const
 
const axis_taxis_x () const
 
const axis_taxis_y () const
 
axis_taxis_x ()
 
axis_taxis_y ()
 
TN bin_entries_x (int aI) const
 
TW bin_height_x (int aI) const
 
TN bin_entries_y (int aJ) const
 
TW bin_height_y (int aJ) const
 
TC Sxyw () const
 
void hprint (std::ostream &a_out)
 
bool configure (bn_t aXnumber, TC aXmin, TC aXmax, bn_t aYnumber, TC aYmin, TC aYmax)
 
bool configure (const std::vector< TC > &a_edges_x, const std::vector< TC > &a_edges_y)
 
- Public Member Functions inherited from tools::histo::base_histo< TC, TO, TN, TW, TH >
const hd_tdac () const
 
bool equals (const base_histo &a_from, const TW &a_prec, TW(*a_fabs)(TW)) const
 
const std::string & title () const
 
bool set_title (const std::string &a_title)
 
dim_t dimension () const
 
dim_t number_of_planes () const
 
TN entries () const
 
TN all_entries () const
 
TN extra_entries () const
 
TW equivalent_bin_entries () const
 
TH sum_bin_heights () const
 
TH sum_all_bin_heights () const
 
TH sum_extra_bin_heights () const
 
TH min_bin_height () const
 
TH max_bin_height () const
 
bool min_bin_height_with_entries (TH &a_value) const
 
bool max_bin_height_with_entries (TH &a_value) const
 
bool has_entries_per_bin () const
 
bool get_ith_axis_Sxw (dim_t a_axis, TC &a_value) const
 
bool get_ith_axis_Sx2w (dim_t a_axis, TC &a_value) const
 
TW get_in_range_Sw () const
 
TW get_in_range_Sw2 () const
 
void get_Sw_Sw2 (TW &a_sw, TW &a_sw2) const
 
void get_all_Sw_Sw2 (TW &a_sw, TW &a_sw2) const
 
const std::vector< TN > & bins_entries () const
 
const std::vector< TW > & bins_sum_w () const
 
const std::vector< TW > & bins_sum_w2 () const
 
const std::vector< std::vector< TC > > & bins_sum_xw () const
 
const std::vector< std::vector< TC > > & bins_sum_x2w () const
 
const std::vector< TC > & in_range_planes_xyw () const
 
const axis_tget_axis (int a_index) const
 
offset_t get_bins () const
 
const std::string & get_title () const
 
dim_t get_dimension () const
 
bool is_valid () const
 
const annotations_tannotations () const
 
annotations_t annotations ()
 
void add_annotation (const std::string &a_key, const std::string &a_value)
 
bool annotation (const std::string &a_key, std::string &a_value) const
 
void set_annotations (const annotations_t &a_annotations)
 
void hprint_annotations (std::ostream &a_out)
 

Protected Member Functions

virtual TH get_bin_height (TO a_offset) const
 
- Protected Member Functions inherited from tools::histo::b2< TC, TO, TN, TW, TH >
 b2 (const std::string &a_title, bn_t aXnumber, TC aXmin, TC aXmax, bn_t aYnumber, TC aYmin, TC aYmax)
 
 b2 (const std::string &a_title, const std::vector< TC > &a_edges_x, const std::vector< TC > &a_edges_y)
 
virtual ~b2 ()
 
 b2 (const b2 &a_from)
 
b2operator= (const b2 &a_from)
 
bool _find_offset (int aI, int aJ, TO &a_offset) const
 
- Protected Member Functions inherited from tools::histo::base_histo< TC, TO, TN, TW, TH >
void base_from_data (const hd_t &a_from)
 
hd_t base_get_data () const
 
 base_histo ()
 
virtual ~base_histo ()
 
 base_histo (const base_histo &a_from)
 
base_histooperator= (const base_histo &a_from)
 
bool configure (dim_t a_dim, const std::vector< bn_t > &aNumbers, const std::vector< TC > &aMins, const std::vector< TC > &aMaxs)
 
bool configure (dim_t a_dim, const std::vector< std::vector< TC > > &a_edges)
 
void base_reset ()
 
void base_allocate ()
 
bool is_compatible (const base_histo &a_histo)
 
void base_add (const base_histo &a_histo)
 
void base_subtract (const base_histo &a_histo)
 
bool base_multiply (const base_histo &a_histo)
 
bool base_divide (const base_histo &a_histo)
 
bool base_multiply (TW a_factor)
 
bool get_ith_axis_mean (dim_t a_axis, TC &a_value) const
 
bool get_ith_axis_rms (dim_t a_axis, TC &a_value) const
 
TN get_bin_entries (const std::vector< int > &aIs) const
 
- Protected Member Functions inherited from tools::histo::histo_data< TC, TO, TN, TW >
void reset_fast_getters ()
 
 histo_data ()
 
 histo_data (const histo_data &a_from)
 
histo_dataoperator= (const histo_data &a_from)
 
virtual ~histo_data ()
 
void update_fast_getters ()
 
bool equals (const histo_data &a_from, const TW &a_prec, TW(*a_fabs)(TW)) const
 
bool equals_TH (const histo_data &a_from, const TW &a_prec, TW(*a_fabs)(TW), bool a_cmp_bin_Sw2) const
 

Additional Inherited Members

- Protected Types inherited from tools::histo::b2< TC, TO, TN, TW, TH >
enum  { AxisX =0, AxisY =1 }
 
- Protected Types inherited from tools::histo::base_histo< TC, TO, TN, TW, TH >
enum  { AxisX =0, AxisY =1, AxisZ =2 }
 
- Protected Types inherited from tools::histo::histo_data< TC, TO, TN, TW >
typedef axis< TC, TO > axis_t
 
typedef unsigned int dim_t
 
typedef std::map< std::string, std::string > annotations_t
 
- Protected Attributes inherited from tools::histo::histo_data< TC, TO, TN, TW >
std::string m_title
 
dim_t m_dimension
 
TO m_bin_number
 
std::vector< TN > m_bin_entries
 
std::vector< TW > m_bin_Sw
 
std::vector< TW > m_bin_Sw2
 
std::vector< std::vector< TC > > m_bin_Sxw
 
std::vector< std::vector< TC > > m_bin_Sx2w
 
std::vector< axis_tm_axes
 
std::vector< TC > m_in_range_plane_Sxyw
 
std::map< std::string, std::string > m_annotations
 
TN m_all_entries
 
TN m_in_range_entries
 
TW m_in_range_Sw
 
TW m_in_range_Sw2
 
std::vector< TC > m_in_range_Sxw
 
std::vector< TC > m_in_range_Sx2w
 

Detailed Description

template<class TC, class TO, class TN, class TW, class TH>
class tools::histo::h2< TC, TO, TN, TW, TH >

Definition at line 13 of file h2.

Member Typedef Documentation

◆ bn_t

template<class TC , class TO , class TN , class TW , class TH >
typedef b2<TC,TO,TN,TW,TH>::bn_t tools::histo::h2< TC, TO, TN, TW, TH >::bn_t

Definition at line 17 of file h2.

◆ hd_t

template<class TC , class TO , class TN , class TW , class TH >
typedef histo_data<TC,TO,TN,TW> tools::histo::h2< TC, TO, TN, TW, TH >::hd_t

Definition at line 16 of file h2.

Constructor & Destructor Documentation

◆ h2() [1/3]

template<class TC , class TO , class TN , class TW , class TH >
tools::histo::h2< TC, TO, TN, TW, TH >::h2 ( const std::string &  a_title,
bn_t  aXnumber,
TC  aXmin,
TC  aXmax,
bn_t  aYnumber,
TC  aYmin,
TC  aYmax 
)
inline

Definition at line 207 of file h2.

208  :parent(a_title,aXnumber,aXmin,aXmax,aYnumber,aYmin,aYmax)
209  {}

◆ h2() [2/3]

template<class TC , class TO , class TN , class TW , class TH >
tools::histo::h2< TC, TO, TN, TW, TH >::h2 ( const std::string &  a_title,
const std::vector< TC > &  a_edges_x,
const std::vector< TC > &  a_edges_y 
)
inline

Definition at line 210 of file h2.

211  :parent(a_title,a_edges_x,a_edges_y)
212  {}

◆ ~h2()

template<class TC , class TO , class TN , class TW , class TH >
virtual tools::histo::h2< TC, TO, TN, TW, TH >::~h2 ( )
inlinevirtual

Definition at line 214 of file h2.

214 {}

◆ h2() [3/3]

template<class TC , class TO , class TN , class TW , class TH >
tools::histo::h2< TC, TO, TN, TW, TH >::h2 ( const h2< TC, TO, TN, TW, TH > &  a_from)
inline

Definition at line 216 of file h2.

216 : parent(a_from){}

Member Function Documentation

◆ add()

template<class TC , class TO , class TN , class TW , class TH >
bool tools::histo::h2< TC, TO, TN, TW, TH >::add ( const h2< TC, TO, TN, TW, TH > &  a_histo)
inline

Definition at line 179 of file h2.

179  {
180  parent::base_add(a_histo);
181  return true;
182  }

◆ bin_error()

template<class TC , class TO , class TN , class TW , class TH >
virtual TH tools::histo::h2< TC, TO, TN, TW, TH >::bin_error ( int  aI,
int  aJ 
) const
inlinevirtual

Implements tools::histo::b2< TC, TO, TN, TW, TH >.

Definition at line 24 of file h2.

24  {
25  TO offset;
26  if(!parent::_find_offset(aI,aJ,offset)) return 0;
27  return ::sqrt(parent::m_bin_Sw2[offset]);
28  }

◆ copy_from_data()

template<class TC , class TO , class TN , class TW , class TH >
void tools::histo::h2< TC, TO, TN, TW, TH >::copy_from_data ( const hd_t a_from)
inline

Definition at line 34 of file h2.

34 {parent::base_from_data(a_from);}

◆ divide()

template<class TC , class TO , class TN , class TW , class TH >
bool tools::histo::h2< TC, TO, TN, TW, TH >::divide ( const h2< TC, TO, TN, TW, TH > &  a_histo)
inline

Definition at line 192 of file h2.

192  {
193  return parent::base_divide(a_histo);
194  }

◆ equals_TH()

template<class TC , class TO , class TN , class TW , class TH >
bool tools::histo::h2< TC, TO, TN, TW, TH >::equals_TH ( const h2< TC, TO, TN, TW, TH > &  a_from,
const TW &  a_prec,
TW(*)(TW)  a_fabs 
) const
inline

Definition at line 196 of file h2.

196  {
197  if(!parent::equals_TH(a_from,a_prec,a_fabs,true)) return false;
198  return true;
199  }

◆ fill()

template<class TC , class TO , class TN , class TW , class TH >
bool tools::histo::h2< TC, TO, TN, TW, TH >::fill ( TC  aX,
TC  aY,
TW  aWeight = 1 
)
inline

Definition at line 42 of file h2.

42  {
43  if(parent::m_dimension!=2) return false;
44 
45  bn_t ibin,jbin;
46  if(!parent::m_axes[0].coord_to_absolute_index(aX,ibin)) return false;
47  if(!parent::m_axes[1].coord_to_absolute_index(aY,jbin)) return false;
48  TO offset = ibin + jbin * parent::m_axes[1].m_offset;
49 
50  parent::m_bin_entries[offset]++;
51  parent::m_bin_Sw[offset] += aWeight;
52  parent::m_bin_Sw2[offset] += aWeight * aWeight;
53 
54  TC xw = aX * aWeight;
55  TC x2w = aX * xw;
56  parent::m_bin_Sxw[offset][0] += xw;
57  parent::m_bin_Sx2w[offset][0] += x2w;
58 
59  TC yw = aY * aWeight;
60  TC y2w = aY * yw;
61  parent::m_bin_Sxw[offset][1] += yw;
62  parent::m_bin_Sx2w[offset][1] += y2w;
63 
64  bool inRange = true;
65  if(ibin==0) inRange = false;
66  else if(ibin==(parent::m_axes[0].m_number_of_bins+1)) inRange = false;
67 
68  if(jbin==0) inRange = false;
69  else if(jbin==(parent::m_axes[1].m_number_of_bins+1)) inRange = false;
70 
72  if(inRange) {
73  parent::m_in_range_plane_Sxyw[0] += aX * aY * aWeight;
74 
75  // fast getters :
77  parent::m_in_range_Sw += aWeight;
78  parent::m_in_range_Sw2 += aWeight*aWeight;
79 
80  parent::m_in_range_Sxw[0] += xw;
81  parent::m_in_range_Sx2w[0] += x2w;
82 
83  parent::m_in_range_Sxw[1] += yw;
84  parent::m_in_range_Sx2w[1] += y2w;
85  }
86 
87  return true;
88  }

◆ Fill()

template<class TC , class TO , class TN , class TW , class TH >
bool tools::histo::h2< TC, TO, TN, TW, TH >::Fill ( TC  aX,
TC  aY,
TW  aWeight = 1 
)
inline

Definition at line 204 of file h2.

204 {return fill(aX,aY,aWeight);}

◆ get_bin_content()

template<class TC , class TO , class TN , class TW , class TH >
bool tools::histo::h2< TC, TO, TN, TW, TH >::get_bin_content ( bn_t  a_ibin,
bn_t  a_jbin,
TN &  a_entries,
TW &  a_Sw,
TW &  a_Sw2,
TC &  a_Sxw,
TC &  a_Sx2w,
TC &  a_Syw,
TC &  a_Sy2w 
)
inline

Definition at line 142 of file h2.

145  {
146  if(parent::m_dimension!=2) {
147  a_entries = 0;a_Sw = 0;a_Sw2 = 0;
148  a_Sxw = 0;a_Sx2w = 0;
149  a_Syw = 0;a_Sy2w = 0;
150  return false;
151  }
152  if(a_ibin>(parent::m_axes[0].m_number_of_bins+1)) {
153  a_entries = 0;a_Sw = 0;a_Sw2 = 0;
154  a_Sxw = 0;a_Sx2w = 0;
155  a_Syw = 0;a_Sy2w = 0;
156  return false;
157  }
158  if(a_jbin>(parent::m_axes[1].m_number_of_bins+1)) {
159  a_entries = 0;a_Sw = 0;a_Sw2 = 0;
160  a_Sxw = 0;a_Sx2w = 0;
161  a_Syw = 0;a_Sy2w = 0;
162  return false;
163  }
164 
165  TO offset = a_ibin + a_jbin * parent::m_axes[1].m_offset;
166 
167  a_entries = parent::m_bin_entries[offset];
168  a_Sw = parent::m_bin_Sw[offset];
169  a_Sw2 = parent::m_bin_Sw2[offset];
170 
171  a_Sxw = parent::m_bin_Sxw[offset][0];
172  a_Sx2w = parent::m_bin_Sx2w[offset][0];
173  a_Syw = parent::m_bin_Sxw[offset][1];
174  a_Sy2w = parent::m_bin_Sx2w[offset][1];
175 
176  return true;
177  }

◆ get_bin_height()

template<class TC , class TO , class TN , class TW , class TH >
virtual TH tools::histo::h2< TC, TO, TN, TW, TH >::get_bin_height ( TO  a_offset) const
inlineprotectedvirtual

Implements tools::histo::base_histo< TC, TO, TN, TW, TH >.

Definition at line 19 of file h2.

19  { //TH should be the same as TW
20  return parent::m_bin_Sw[a_offset];
21  }

◆ get_histo_data()

template<class TC , class TO , class TN , class TW , class TH >
hd_t tools::histo::h2< TC, TO, TN, TW, TH >::get_histo_data ( ) const
inline

Definition at line 35 of file h2.

35 {return *this;} //deprecated. Keep it for g4tools.

◆ multiply() [1/2]

template<class TC , class TO , class TN , class TW , class TH >
bool tools::histo::h2< TC, TO, TN, TW, TH >::multiply ( const h2< TC, TO, TN, TW, TH > &  a_histo)
inline

Definition at line 188 of file h2.

188  {
189  return parent::base_multiply(a_histo);
190  }

◆ multiply() [2/2]

template<class TC , class TO , class TN , class TW , class TH >
bool tools::histo::h2< TC, TO, TN, TW, TH >::multiply ( TW  a_factor)
inline

Definition at line 31 of file h2.

31 {return parent::base_multiply(a_factor);}

◆ not_a_profile()

template<class TC , class TO , class TN , class TW , class TH >
void tools::histo::h2< TC, TO, TN, TW, TH >::not_a_profile ( ) const
inline

Definition at line 201 of file h2.

201 {}

◆ operator=()

template<class TC , class TO , class TN , class TW , class TH >
h2& tools::histo::h2< TC, TO, TN, TW, TH >::operator= ( const h2< TC, TO, TN, TW, TH > &  a_from)
inline

Definition at line 217 of file h2.

217  {
218  parent::operator=(a_from);
219  return *this;
220  }

◆ reset()

template<class TC , class TO , class TN , class TW , class TH >
bool tools::histo::h2< TC, TO, TN, TW, TH >::reset ( )
inline

Definition at line 37 of file h2.

37  {
39  return true;
40  }

◆ scale()

template<class TC , class TO , class TN , class TW , class TH >
bool tools::histo::h2< TC, TO, TN, TW, TH >::scale ( TW  a_factor)
inline

Definition at line 32 of file h2.

32 {return multiply(a_factor);}

◆ set_bin_content()

template<class TC , class TO , class TN , class TW , class TH >
bool tools::histo::h2< TC, TO, TN, TW, TH >::set_bin_content ( bn_t  a_ibin,
bn_t  a_jbin,
TN  a_entries,
TW  a_Sw,
TW  a_Sw2,
TC  a_Sxw,
TC  a_Sx2w,
TC  a_Syw,
TC  a_Sy2w 
)
inline

Definition at line 90 of file h2.

92  {
93  if(parent::m_dimension!=2) return false;
94  if(a_ibin>(parent::m_axes[0].m_number_of_bins+1)) return false;
95  if(a_jbin>(parent::m_axes[1].m_number_of_bins+1)) return false;
96 
97  bool inRange = true;
98  if(a_ibin==0) inRange = false;
99  else if(a_ibin==(parent::m_axes[0].m_number_of_bins+1)) inRange = false;
100  if(a_jbin==0) inRange = false;
101  else if(a_jbin==(parent::m_axes[1].m_number_of_bins+1)) inRange = false;
102 
103  TO offset = a_ibin + a_jbin * parent::m_axes[1].m_offset;
104 
106  if(inRange) {
110  parent::m_in_range_Sxw[0] -= parent::m_bin_Sxw[offset][0];
112  parent::m_in_range_Sxw[1] -= parent::m_bin_Sxw[offset][1];
114  }
115 
116  parent::m_bin_entries[offset] = a_entries;
117  parent::m_bin_Sw[offset] = a_Sw;
118  parent::m_bin_Sw2[offset] = a_Sw2;
119 
120  parent::m_bin_Sxw[offset][0] = a_Sxw;
121  parent::m_bin_Sx2w[offset][0] = a_Sx2w;
122  parent::m_bin_Sxw[offset][1] = a_Syw;
123  parent::m_bin_Sx2w[offset][1] = a_Sy2w;
124 
125  parent::m_all_entries += a_entries;
126  if(inRange) {
127  //parent::m_in_range_plane_Sxyw[0] ??? ill-defined.
128 
129  parent::m_in_range_entries += a_entries;
130  parent::m_in_range_Sw += a_Sw;
131  parent::m_in_range_Sw2 += a_Sw2;
132 
133  parent::m_in_range_Sxw[0] += a_Sxw;
134  parent::m_in_range_Sx2w[0] += a_Sx2w;
135  parent::m_in_range_Sxw[1] += a_Syw;
136  parent::m_in_range_Sx2w[1] += a_Sy2w;
137  }
138 
139  return true;
140  }

◆ subtract()

template<class TC , class TO , class TN , class TW , class TH >
bool tools::histo::h2< TC, TO, TN, TW, TH >::subtract ( const h2< TC, TO, TN, TW, TH > &  a_histo)
inline

Definition at line 183 of file h2.

183  {
184  parent::base_subtract(a_histo);
185  return true;
186  }

The documentation for this class was generated from the following file:
tools::histo::histo_data::m_in_range_Sw2
TW m_in_range_Sw2
Definition: histo_data:189
tools::histo::h2::multiply
bool multiply(TW a_factor)
Definition: h2:31
tools::histo::histo_data::m_bin_Sx2w
std::vector< std::vector< TC > > m_bin_Sx2w
Definition: histo_data:179
tools::histo::histo_data::m_in_range_Sxw
std::vector< TC > m_in_range_Sxw
Definition: histo_data:190
tools::histo::h2::fill
bool fill(TC aX, TC aY, TW aWeight=1)
Definition: h2:42
tools::histo::h2::bn_t
b2< TC, TO, TN, TW, TH >::bn_t bn_t
Definition: h2:17
tools::histo::b2::operator=
b2 & operator=(const b2 &a_from)
Definition: b2:317
tools::histo::histo_data::m_bin_entries
std::vector< TN > m_bin_entries
Definition: histo_data:175
tools::histo::base_histo::base_add
void base_add(const base_histo &a_histo)
Definition: base_histo:476
tools::histo::histo_data::m_bin_Sw
std::vector< TW > m_bin_Sw
Definition: histo_data:176
tools::histo::histo_data::m_in_range_entries
TN m_in_range_entries
Definition: histo_data:187
tools::histo::base_histo::base_subtract
void base_subtract(const base_histo &a_histo)
Definition: base_histo:493
tools::histo::histo_data::m_in_range_Sx2w
std::vector< TC > m_in_range_Sx2w
Definition: histo_data:191
tools::histo::base_histo::base_from_data
void base_from_data(const hd_t &a_from)
Definition: base_histo:47
tools::histo::histo_data::m_bin_Sxw
std::vector< std::vector< TC > > m_bin_Sxw
Definition: histo_data:178
tools::histo::histo_data::m_axes
std::vector< axis_t > m_axes
Definition: histo_data:181
tools::histo::base_histo::base_reset
void base_reset()
Definition: base_histo:381
tools::histo::histo_data::m_bin_Sw2
std::vector< TW > m_bin_Sw2
Definition: histo_data:177
tools::histo::histo_data::m_all_entries
TN m_all_entries
Definition: histo_data:186
tools::histo::histo_data::m_in_range_Sw
TW m_in_range_Sw
Definition: histo_data:188
tools::histo::b2::_find_offset
bool _find_offset(int aI, int aJ, TO &a_offset) const
Definition: b2:340
tools::histo::histo_data::m_in_range_plane_Sxyw
std::vector< TC > m_in_range_plane_Sxyw
Definition: histo_data:183
tools::histo::histo_data::m_dimension
dim_t m_dimension
Definition: histo_data:172
tools::histo::histo_data::equals_TH
bool equals_TH(const histo_data &a_from, const TW &a_prec, TW(*a_fabs)(TW), bool a_cmp_bin_Sw2) const
Definition: histo_data:144
tools::histo::base_histo::base_multiply
bool base_multiply(const base_histo &a_histo)
Definition: base_histo:513
tools::histo::base_histo::base_divide
bool base_divide(const base_histo &a_histo)
Definition: base_histo:547