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

Public Types

typedef histo_data< TC, TO, TN, TW > hd_t
 
typedef parent::bn_t bn_t
 
typedef parent::axis_t axis_t
 
- Public Types inherited from tools::histo::b1< 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) 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, TW aWeight=1)
 
bool set_bin_content (bn_t a_ibin, TN a_entries, TW a_Sw, TW a_Sw2, TC a_Sxw, TC a_Sx2w)
 
bool get_bin_content (bn_t a_ibin, TN &a_entries, TW &a_Sw, TW &a_Sw2, TC &a_Sxw, TC &a_Sx2w)
 
bool add (const h1 &a_histo)
 
bool subtract (const h1 &a_histo)
 
bool multiply (const h1 &a_histo)
 
bool divide (const h1 &a_histo)
 
bool gather_bins (unsigned int a_factor)
 
bool equals_TH (const h1 &a_from, const TW &a_prec, TW(*a_fabs)(TW)) const
 
void not_a_profile () const
 
bool Fill (TC aX, TW aWeight=1)
 
 h1 (const std::string &a_title, bn_t aXnumber, TC aXmin, TC aXmax)
 
 h1 (const std::string &a_title, const std::vector< TC > &a_edges)
 
virtual ~h1 ()
 
 h1 (const h1 &a_from)
 
h1operator= (const h1 &a_from)
 
- Public Member Functions inherited from tools::histo::b1< TC, TO, TN, TW, TH >
int coord_to_index (TC aCoord) const
 
TC mean () const
 
TC rms () const
 
TN bin_entries (int aI) const
 
TW bin_Sw (int aI) const
 
TW bin_Sw2 (int aI) const
 
TC bin_Sxw (int aI) const
 
TC bin_Sx2w (int aI) const
 
TH bin_height (int aI) const
 
TC bin_center (int aI) const
 
TC bin_mean (int aI) const
 
TC bin_rms (int aI) const
 
const axis_taxis () const
 
axis_taxis ()
 
void hprint (std::ostream &a_out)
 
bool configure (bn_t aXnumber, TC aXmin, TC aXmax)
 
bool configure (const std::vector< TC > &a_edges)
 
- 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::b1< TC, TO, TN, TW, TH >
 b1 (const std::string &a_title, bn_t aXnumber, TC aXmin, TC aXmax)
 
 b1 (const std::string &a_title, const std::vector< TC > &a_edges)
 
virtual ~b1 ()
 
 b1 (const b1 &a_from)
 
b1operator= (const b1 &a_from)
 
bool _find_offset (int aI, 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::b1< TC, TO, TN, TW, TH >
enum  { AxisX =0 }
 
- 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::h1< TC, TO, TN, TW, TH >

Definition at line 19 of file h1.

Member Typedef Documentation

◆ axis_t

template<class TC , class TO , class TN , class TW , class TH >
typedef parent::axis_t tools::histo::h1< TC, TO, TN, TW, TH >::axis_t

Definition at line 24 of file h1.

◆ bn_t

template<class TC , class TO , class TN , class TW , class TH >
typedef parent::bn_t tools::histo::h1< TC, TO, TN, TW, TH >::bn_t

Definition at line 23 of file h1.

◆ hd_t

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

Definition at line 22 of file h1.

Constructor & Destructor Documentation

◆ h1() [1/3]

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

Definition at line 235 of file h1.

236  :parent(a_title,aXnumber,aXmin,aXmax){}

◆ h1() [2/3]

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

Definition at line 238 of file h1.

239  :parent(a_title,a_edges){}

◆ ~h1()

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

Definition at line 241 of file h1.

241 {}

◆ h1() [3/3]

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

Definition at line 243 of file h1.

243 :parent(a_from){}

Member Function Documentation

◆ add()

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

Definition at line 144 of file h1.

144  {
145  parent::base_add(a_histo);
146  return true;
147  }

◆ bin_error()

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

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

Definition at line 30 of file h1.

30  { //TH should be the same as TW
31  TO offset;
32  if(!parent::_find_offset(aI,offset)) return 0;
33  return ::sqrt(parent::m_bin_Sw2[offset]);
34  }

◆ copy_from_data()

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

Definition at line 40 of file h1.

40 {parent::base_from_data(a_from);}

◆ divide()

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

Definition at line 157 of file h1.

157  {
158  return parent::base_divide(a_histo);
159  }

◆ equals_TH()

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

Definition at line 224 of file h1.

224  {
225  if(!parent::equals_TH(a_from,a_prec,a_fabs,true)) return false;
226  return true;
227  }

◆ fill()

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

Definition at line 48 of file h1.

48  {
49  if(parent::m_dimension!=1) return false;
50 
51  bn_t ibin;
52  if(!parent::m_axes[0].coord_to_absolute_index(aX,ibin)) return false;
53 
54  TO offset = ibin;
55 
56  parent::m_bin_entries[offset]++;
57  parent::m_bin_Sw[offset] += aWeight;
58  parent::m_bin_Sw2[offset] += aWeight * aWeight;
59 
60  TC xw = aX * aWeight;
61  TC x2w = aX * xw;
62  parent::m_bin_Sxw[offset][0] += xw;
63  parent::m_bin_Sx2w[offset][0] += x2w;
64 
65  bool inRange = true;
66  if(ibin==0) inRange = false;
67  else if(ibin==(parent::m_axes[0].m_number_of_bins+1)) inRange = false;
68 
70  if(inRange) {
71  // fast getters :
73  parent::m_in_range_Sw += aWeight;
74  parent::m_in_range_Sw2 += aWeight*aWeight;
75 
76  parent::m_in_range_Sxw[0] += xw;
77  parent::m_in_range_Sx2w[0] += x2w;
78  }
79 
80  return true;
81  }

◆ Fill()

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

Definition at line 232 of file h1.

232 {return fill(aX,aWeight);}

◆ gather_bins()

template<class TC , class TO , class TN , class TW , class TH >
bool tools::histo::h1< TC, TO, TN, TW, TH >::gather_bins ( unsigned int  a_factor)
inline

Definition at line 161 of file h1.

161  { //for exa 2,3.
162  if(!a_factor) return false;
163 
164  // actual bin number must be a multiple of a_factor.
165 
166  const axis_t& _axis = parent::axis();
167 
168  bn_t n = _axis.bins();
169  if(!n) return false;
170 
171  bn_t new_n = n/a_factor;
172  if(a_factor*new_n!=n) return false;
173 
174  h1* new_h = 0;
175  if(_axis.is_fixed_binning()) {
176  new_h = new h1(parent::m_title,new_n,_axis.lower_edge(),_axis.upper_edge());
177  } else {
178  const std::vector<TC>& _edges = _axis.edges();
179  std::vector<TC> new_edges(new_n+1);
180  for(bn_t ibin=0;ibin<new_n;ibin++) {
181  new_edges[ibin] = _edges[ibin*a_factor];
182  }
183  new_edges[new_n] = _edges[n]; //upper edge.
184  new_h = new h1(parent::m_title,new_edges);
185  }
186  if(!new_h) return false;
187 
188  TO offset,new_offset,offac;
189  for(bn_t ibin=0;ibin<new_n;ibin++) {
190  new_offset = ibin+1;
191  offset = a_factor*ibin+1;
192  for(unsigned int ifac=0;ifac<a_factor;ifac++) {
193  offac = offset+ifac;
194  new_h->m_bin_entries[new_offset] += parent::m_bin_entries[offac];
195  new_h->m_bin_Sw[new_offset] += parent::m_bin_Sw[offac];
196  new_h->m_bin_Sw2[new_offset] += parent::m_bin_Sw2[offac];
197  new_h->m_bin_Sxw[new_offset][0] += parent::m_bin_Sxw[offac][0];
198  new_h->m_bin_Sx2w[new_offset][0] += parent::m_bin_Sx2w[offac][0];
199  }
200  }
201 
202  //underflow :
203  new_offset = 0;
204  offac = 0;
205  new_h->m_bin_entries[new_offset] = parent::m_bin_entries[offac];
206  new_h->m_bin_Sw[new_offset] = parent::m_bin_Sw[offac];
207  new_h->m_bin_Sw2[new_offset] = parent::m_bin_Sw2[offac];
208  new_h->m_bin_Sxw[new_offset][0] = parent::m_bin_Sxw[offac][0];
209  new_h->m_bin_Sx2w[new_offset][0] = parent::m_bin_Sx2w[offac][0];
210 
211  //overflow :
212  new_offset = new_n+1;
213  offac = n+1;
214  new_h->m_bin_entries[new_offset] = parent::m_bin_entries[offac];
215  new_h->m_bin_Sw[new_offset] = parent::m_bin_Sw[offac];
216  new_h->m_bin_Sw2[new_offset] = parent::m_bin_Sw2[offac];
217  new_h->m_bin_Sxw[new_offset][0] = parent::m_bin_Sxw[offac][0];
218  new_h->m_bin_Sx2w[new_offset][0] = parent::m_bin_Sx2w[offac][0];
219 
220  *this = *new_h;
221  return true;
222  }

◆ get_bin_content()

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

Definition at line 122 of file h1.

122  {
123  if(parent::m_dimension!=1) {
124  a_entries = 0;a_Sw = 0;a_Sw2 = 0;a_Sxw = 0;a_Sx2w = 0;
125  return false;
126  }
127  if(a_ibin>(parent::m_axes[0].m_number_of_bins+1)) {
128  a_entries = 0;a_Sw = 0;a_Sw2 = 0;a_Sxw = 0;a_Sx2w = 0;
129  return false;
130  }
131 
132  TO offset = a_ibin;
133 
134  a_entries = parent::m_bin_entries[offset];
135  a_Sw = parent::m_bin_Sw[offset];
136  a_Sw2 = parent::m_bin_Sw2[offset];
137 
138  a_Sxw = parent::m_bin_Sxw[offset][0];
139  a_Sx2w = parent::m_bin_Sx2w[offset][0];
140 
141  return true;
142  }

◆ get_bin_height()

template<class TC , class TO , class TN , class TW , class TH >
virtual TH tools::histo::h1< 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 26 of file h1.

26  { //TH should be the same as TW
27  return parent::m_bin_Sw[a_offset];
28  }

◆ get_histo_data()

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

Definition at line 41 of file h1.

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

◆ multiply() [1/2]

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

Definition at line 153 of file h1.

153  {
154  return parent::base_multiply(a_histo);
155  }

◆ multiply() [2/2]

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

Definition at line 37 of file h1.

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

◆ not_a_profile()

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

Definition at line 229 of file h1.

229 {}

◆ operator=()

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

Definition at line 244 of file h1.

244  {
245  if(&a_from==this) return *this;
246  parent::operator=(a_from);
247  return *this;
248  }

◆ reset()

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

Definition at line 43 of file h1.

43  {
45  return true;
46  }

◆ scale()

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

Definition at line 38 of file h1.

38 {return multiply(a_factor);}

◆ set_bin_content()

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

Definition at line 83 of file h1.

83  {
84  if(parent::m_dimension!=1) return false;
85  if(a_ibin>(parent::m_axes[0].m_number_of_bins+1)) return false;
86 
87  bool inRange = true;
88  if(a_ibin==0) inRange = false;
89  else if(a_ibin==(parent::m_axes[0].m_number_of_bins+1)) inRange = false;
90 
91  TO offset = a_ibin;
92 
94  if(inRange) {
100  }
101 
102  parent::m_bin_entries[offset] = a_entries;
103  parent::m_bin_Sw[offset] = a_Sw;
104  parent::m_bin_Sw2[offset] = a_Sw2;
105 
106  parent::m_bin_Sxw[offset][0] = a_Sxw;
107  parent::m_bin_Sx2w[offset][0] = a_Sx2w;
108 
109  parent::m_all_entries += a_entries;
110  if(inRange) {
111  parent::m_in_range_entries += a_entries;
112  parent::m_in_range_Sw += a_Sw;
113  parent::m_in_range_Sw2 += a_Sw2;
114 
115  parent::m_in_range_Sxw[0] += a_Sxw;
116  parent::m_in_range_Sx2w[0] += a_Sx2w;
117  }
118 
119  return true;
120  }

◆ subtract()

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

Definition at line 148 of file h1.

148  {
149  parent::base_subtract(a_histo);
150  return true;
151  }

The documentation for this class was generated from the following file:
tools::histo::b1::_find_offset
bool _find_offset(int aI, TO &a_offset) const
Definition: b1:191
tools::histo::histo_data::m_in_range_Sw2
TW m_in_range_Sw2
Definition: histo_data:189
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::h1::multiply
bool multiply(TW a_factor)
Definition: h1:37
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::histo_data::m_title
std::string m_title
Definition: histo_data:171
tools::histo::b1::axis
const axis_t & axis() const
Definition: b1:103
tools::histo::base_histo::base_from_data
void base_from_data(const hd_t &a_from)
Definition: base_histo:47
tools::histo::h1::bn_t
parent::bn_t bn_t
Definition: h1:23
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::h1::axis_t
parent::axis_t axis_t
Definition: h1:24
tools::histo::base_histo::base_reset
void base_reset()
Definition: base_histo:381
tools::histo::h1::fill
bool fill(TC aX, TW aWeight=1)
Definition: h1:48
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::h1::h1
h1(const std::string &a_title, bn_t aXnumber, TC aXmin, TC aXmax)
Definition: h1:235
tools::histo::b1::operator=
b1 & operator=(const b1 &a_from)
Definition: b1:170
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