g4tools  5.4.0
Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
tools::histo::c3d Class Reference
Inheritance diagram for tools::histo::c3d:
Inheritance graph
[legend]
Collaboration diagram for tools::histo::c3d:
Collaboration graph
[legend]

Public Member Functions

bool set_title (const std::string &)
 
unsigned int dimension () const
 
bool reset ()
 
unsigned int entries () const
 
double sum_of_weights () const
 
bool convert_to_histogram ()
 
bool is_converted () const
 
bool scale (double)
 
bool fill (double, double, double, double=1)
 
double lower_edge_x () const
 
double upper_edge_x () const
 
double lower_edge_y () const
 
double upper_edge_y () const
 
double lower_edge_z () const
 
double upper_edge_z () const
 
double value_x (unsigned int) const
 
double value_y (unsigned int) const
 
double value_z (unsigned int) const
 
double weight (unsigned int) const
 
double mean_x () const
 
double mean_y () const
 
double mean_z () const
 
double rms_x () const
 
double rms_y () const
 
double rms_z () const
 
bool convert (unsigned int, double, double, unsigned int, double, double, unsigned int, double, double)
 
bool convert (const std::vector< double > &, const std::vector< double > &, const std::vector< double > &)
 
const histo::h3dhistogram () const
 
bool fill_histogram (histo::h3d &a_histo) const
 
bool set_conversion_parameters (unsigned int, double, double, unsigned int, double, double, unsigned int, double, double)
 
bool set_histogram (h3d *a_histo)
 
 c3d ()
 
 c3d (const std::string &, int=base_cloud::UNLIMITED())
 
virtual ~c3d ()
 
 c3d (const c3d &a_from)
 
c3doperator= (const c3d &a_from)
 
- Public Member Functions inherited from tools::histo::base_cloud
 base_cloud (const base_cloud &a_from)
 
base_cloudoperator= (const base_cloud &a_from)
 
const std::string & title () const
 
int max_entries () const
 

Static Public Member Functions

static const std::string & s_class ()
 

Protected Member Functions

void clear ()
 
- Protected Member Functions inherited from tools::histo::base_cloud
 base_cloud (int aLimit)
 
virtual ~base_cloud ()
 

Protected Attributes

std::vector< double > m_xs
 
std::vector< double > m_ys
 
std::vector< double > m_zs
 
double m_lower_x
 
double m_upper_x
 
double m_lower_y
 
double m_upper_y
 
double m_lower_z
 
double m_upper_z
 
double m_Sxw
 
double m_Sx2w
 
double m_Syw
 
double m_Sy2w
 
double m_Szw
 
double m_Sz2w
 
unsigned int m_cnv_x_num
 
double m_cnv_x_min
 
double m_cnv_x_max
 
unsigned int m_cnv_y_num
 
double m_cnv_y_min
 
double m_cnv_y_max
 
unsigned int m_cnv_z_num
 
double m_cnv_z_min
 
double m_cnv_z_max
 
histo::h3dm_histo
 
- Protected Attributes inherited from tools::histo::base_cloud
std::string m_title
 
int m_limit
 
double m_Sw
 
std::vector< double > m_ws
 

Additional Inherited Members

- Static Protected Member Functions inherited from tools::histo::base_cloud
static int UNLIMITED ()
 
static unsigned int BINS ()
 

Detailed Description

Definition at line 16 of file c3d.

Constructor & Destructor Documentation

◆ c3d() [1/3]

tools::histo::c3d::c3d ( )
inline

Definition at line 183 of file c3d.

185 ,m_lower_x(0)
186 ,m_upper_x(0)
187 ,m_lower_y(0)
188 ,m_upper_y(0)
189 ,m_lower_z(0)
190 ,m_upper_z(0)
191 ,m_Sxw(0)
192 ,m_Sx2w(0)
193 ,m_Syw(0)
194 ,m_Sy2w(0)
195 ,m_Szw(0)
196 ,m_Sz2w(0)
197 ,m_cnv_x_num(0)
198 ,m_cnv_x_min(0)
199 ,m_cnv_x_max(0)
200 ,m_cnv_y_num(0)
201 ,m_cnv_y_min(0)
202 ,m_cnv_y_max(0)
203 ,m_cnv_z_num(0)
204 ,m_cnv_z_min(0)
205 ,m_cnv_z_max(0)
206 ,m_histo(0)
207 {}

◆ c3d() [2/3]

tools::histo::c3d::c3d ( const std::string &  a_title,
int  aLimit = base_cloud::UNLIMITED() 
)
inline

Definition at line 210 of file c3d.

211 :base_cloud(aLimit)
212 ,m_lower_x(0)
213 ,m_upper_x(0)
214 ,m_lower_y(0)
215 ,m_upper_y(0)
216 ,m_lower_z(0)
217 ,m_upper_z(0)
218 ,m_Sxw(0)
219 ,m_Sx2w(0)
220 ,m_Syw(0)
221 ,m_Sy2w(0)
222 ,m_Szw(0)
223 ,m_Sz2w(0)
224 ,m_cnv_x_num(0)
225 ,m_cnv_x_min(0)
226 ,m_cnv_x_max(0)
227 ,m_cnv_y_num(0)
228 ,m_cnv_y_min(0)
229 ,m_cnv_y_max(0)
230 ,m_cnv_z_num(0)
231 ,m_cnv_z_min(0)
232 ,m_cnv_z_max(0)
233 ,m_histo(0)
234 {
235  set_title(a_title);
236 }

◆ ~c3d()

virtual tools::histo::c3d::~c3d ( )
inlinevirtual

Definition at line 76 of file c3d.

76 {delete m_histo;}

◆ c3d() [3/3]

tools::histo::c3d::c3d ( const c3d a_from)
inline

Definition at line 78 of file c3d.

79  :base_cloud(a_from)
80  ,m_xs(a_from.m_xs)
81  ,m_ys(a_from.m_ys)
82  ,m_zs(a_from.m_zs)
83  ,m_lower_x(a_from.m_lower_x)
84  ,m_upper_x(a_from.m_upper_x)
85  ,m_lower_y(a_from.m_lower_y)
86  ,m_upper_y(a_from.m_upper_y)
87  ,m_lower_z(a_from.m_lower_z)
88  ,m_upper_z(a_from.m_upper_z)
89  ,m_Sxw(a_from.m_Sxw)
90  ,m_Sx2w(a_from.m_Sx2w)
91  ,m_Syw(a_from.m_Syw)
92  ,m_Sy2w(a_from.m_Sy2w)
93  ,m_Szw(a_from.m_Szw)
94  ,m_Sz2w(a_from.m_Sz2w)
95  ,m_cnv_x_num(a_from.m_cnv_x_num)
96  ,m_cnv_x_min(a_from.m_cnv_x_min)
97  ,m_cnv_x_max(a_from.m_cnv_x_max)
98  ,m_cnv_y_num(a_from.m_cnv_y_num)
99  ,m_cnv_y_min(a_from.m_cnv_y_min)
100  ,m_cnv_y_max(a_from.m_cnv_y_max)
101  ,m_cnv_z_num(a_from.m_cnv_z_num)
102  ,m_cnv_z_min(a_from.m_cnv_z_min)
103  ,m_cnv_z_max(a_from.m_cnv_z_max)
104  ,m_histo(0)
105  {
106  if(a_from.m_histo) {
107  m_histo = new histo::h3d(*a_from.m_histo);
108  }
109  }

Member Function Documentation

◆ clear()

void tools::histo::c3d::clear ( )
inlineprotected

Definition at line 242 of file c3d.

242  {
243  m_lower_x = 0;
244  m_upper_x = 0;
245  m_lower_y = 0;
246  m_upper_y = 0;
247  m_lower_z = 0;
248  m_upper_z = 0;
249  m_Sw = 0;
250  m_Sxw = 0;
251  m_Sx2w = 0;
252  m_Syw = 0;
253  m_Sy2w = 0;
254  m_Szw = 0;
255  m_Sz2w = 0;
256  m_xs.clear();
257  m_ys.clear();
258  m_zs.clear();
259  m_ws.clear();
260 }

◆ convert() [1/2]

bool tools::histo::c3d::convert ( const std::vector< double > &  a_edges_x,
const std::vector< double > &  a_edges_y,
const std::vector< double > &  a_edges_z 
)
inline

Definition at line 404 of file c3d.

408  {
409  if(m_histo) return true;
410  m_histo = new histo::h3d(base_cloud::title(),
411  a_edges_x,a_edges_y,a_edges_z);
412  if(!m_histo) return false;
413  bool status = fill_histogram(*m_histo);
414  clear();
415  return status;
416 }

◆ convert() [2/2]

bool tools::histo::c3d::convert ( unsigned int  a_bins_x,
double  a_lower_edge_x,
double  a_upper_edge_x,
unsigned int  a_bins_y,
double  a_lower_edge_y,
double  a_upper_edge_y,
unsigned int  a_bins_z,
double  a_lower_edge_z,
double  a_upper_edge_z 
)
inline

Definition at line 263 of file c3d.

267  {
268  if(m_histo) return true; // Done.
269  m_histo = new histo::h3d(base_cloud::title(),
270  a_bins_x,a_lower_edge_x,a_upper_edge_x,
271  a_bins_y,a_lower_edge_y,a_upper_edge_y,
272  a_bins_z,a_lower_edge_z,a_upper_edge_z);
273  if(!m_histo) return false;
274  bool status = fill_histogram(*m_histo);
275  clear();
276  return status;
277 }

◆ convert_to_histogram()

bool tools::histo::c3d::convert_to_histogram ( )
inline

Definition at line 280 of file c3d.

280  {
281  if( (m_cnv_x_num<=0) || (m_cnv_x_max<=m_cnv_x_min) ||
282  (m_cnv_y_num<=0) || (m_cnv_y_max<=m_cnv_y_min) ||
283  (m_cnv_z_num<=0) || (m_cnv_z_max<=m_cnv_z_min) ) {
284  double dx = 0.01 * (upper_edge_x() - lower_edge_x())/BINS();
285  double dy = 0.01 * (upper_edge_y() - lower_edge_y())/BINS();
286  double dz = 0.01 * (upper_edge_z() - lower_edge_z())/BINS();
287  return convert(BINS(),lower_edge_x(),upper_edge_x()+dx,
288  BINS(),lower_edge_y(),upper_edge_y()+dy,
289  BINS(),lower_edge_z(),upper_edge_z()+dz);
290  } else {
294  }
295 }

◆ dimension()

unsigned int tools::histo::c3d::dimension ( ) const
inline

Definition at line 24 of file c3d.

24 {return 3;}

◆ entries()

unsigned int tools::histo::c3d::entries ( ) const
inline

Definition at line 424 of file c3d.

424  {
425  return m_histo ? m_histo->all_entries() : (unsigned int)m_ws.size();
426 }

◆ fill()

bool tools::histo::c3d::fill ( double  aX,
double  aY,
double  aZ,
double  aW = 1 
)
inline

Definition at line 356 of file c3d.

356  {
357  if(!m_histo && (m_limit!=UNLIMITED()) && ((int)m_xs.size()>=m_limit)){
359  }
360 
361  if(m_histo) {
362  return m_histo->fill(aX,aY,aZ,aW);
363  } else {
364  if(m_xs.size()) {
365  m_lower_x = mn<double>(aX,m_lower_x);
366  m_upper_x = mx<double>(aX,m_upper_x);
367  } else {
368  m_lower_x = aX;
369  m_upper_x = aX;
370  }
371  if(m_ys.size()) {
372  m_lower_y = mn<double>(aY,m_lower_y);
373  m_upper_y = mx<double>(aY,m_upper_y);
374  } else {
375  m_lower_y = aY;
376  m_upper_y = aY;
377  }
378  if(m_zs.size()) {
379  m_lower_z = mn<double>(aZ,m_lower_z);
380  m_upper_z = mx<double>(aZ,m_upper_z);
381  } else {
382  m_lower_z = aZ;
383  m_upper_z = aZ;
384  }
385  m_xs.push_back(aX);
386  m_ys.push_back(aY);
387  m_zs.push_back(aZ);
388  m_ws.push_back(aW);
389  m_Sw += aW;
390  double xw = aX * aW;
391  m_Sxw += xw;
392  m_Sx2w += aX * xw;
393  double yw = aY * aW;
394  m_Syw += yw;
395  m_Sy2w += aY * yw;
396  double zw = aZ * aW;
397  m_Szw += zw;
398  m_Sz2w += aZ * zw;
399  return true;
400  }
401 }

◆ fill_histogram()

bool tools::histo::c3d::fill_histogram ( histo::h3d a_histo) const
inline

Definition at line 57 of file c3d.

57  {
58  size_t number = m_xs.size();
59  for(size_t index=0;index<number;index++) {
60  if(!a_histo.fill(m_xs[index],m_ys[index],m_zs[index],m_ws[index])) return false;
61  }
62  return true;
63  }

◆ histogram()

const h3d & tools::histo::c3d::histogram ( ) const
inline

Definition at line 342 of file c3d.

342  {
343  if(!m_histo) const_cast<c3d&>(*this).convert_to_histogram();
344  return *m_histo;
345 }

◆ is_converted()

bool tools::histo::c3d::is_converted ( ) const
inline

Definition at line 239 of file c3d.

239 {return m_histo ? true : false;}

◆ lower_edge_x()

double tools::histo::c3d::lower_edge_x ( ) const
inline

Definition at line 429 of file c3d.

429  {
430  return m_histo ? m_histo->axis_x().lower_edge() : m_lower_x;
431 }

◆ lower_edge_y()

double tools::histo::c3d::lower_edge_y ( ) const
inline

Definition at line 433 of file c3d.

433  {
434  return m_histo ? m_histo->axis_y().lower_edge() : m_lower_y;
435 }

◆ lower_edge_z()

double tools::histo::c3d::lower_edge_z ( ) const
inline

Definition at line 437 of file c3d.

437  {
438  return m_histo ? m_histo->axis_z().lower_edge() : m_lower_z;
439 }

◆ mean_x()

double tools::histo::c3d::mean_x ( ) const
inline

Definition at line 469 of file c3d.

469  {
470  return m_histo ? m_histo->mean_x() : (m_Sw?m_Sxw/m_Sw:0);
471 }

◆ mean_y()

double tools::histo::c3d::mean_y ( ) const
inline

Definition at line 473 of file c3d.

473  {
474  return m_histo ? m_histo->mean_y() : (m_Sw?m_Syw/m_Sw:0);
475 }

◆ mean_z()

double tools::histo::c3d::mean_z ( ) const
inline

Definition at line 477 of file c3d.

477  {
478  return m_histo ? m_histo->mean_z() : (m_Sw?m_Szw/m_Sw:0);
479 }

◆ operator=()

c3d& tools::histo::c3d::operator= ( const c3d a_from)
inline

Definition at line 111 of file c3d.

111  {
112  base_cloud::operator=(a_from);
113  if(&a_from==this) return *this;
114  m_xs = a_from.m_xs;
115  m_ys = a_from.m_ys;
116  m_zs = a_from.m_zs;
117  m_lower_x = a_from.m_lower_x;
118  m_upper_x = a_from.m_upper_x;
119  m_lower_y = a_from.m_lower_y;
120  m_upper_y = a_from.m_upper_y;
121  m_lower_z = a_from.m_lower_z;
122  m_upper_z = a_from.m_upper_z;
123  m_Sxw = a_from.m_Sxw;
124  m_Sx2w = a_from.m_Sx2w;
125  m_Syw = a_from.m_Syw;
126  m_Sy2w = a_from.m_Sy2w;
127  m_Szw = a_from.m_Szw;
128  m_Sz2w = a_from.m_Sz2w;
129  m_cnv_x_num = a_from.m_cnv_x_num;
130  m_cnv_x_min = a_from.m_cnv_x_min;
131  m_cnv_x_max = a_from.m_cnv_x_max;
132  m_cnv_y_num = a_from.m_cnv_y_num;
133  m_cnv_y_min = a_from.m_cnv_y_min;
134  m_cnv_y_max = a_from.m_cnv_y_max;
135  m_cnv_z_num = a_from.m_cnv_z_num;
136  m_cnv_z_min = a_from.m_cnv_z_min;
137  m_cnv_z_max = a_from.m_cnv_z_max;
138  delete m_histo;
139  m_histo = 0;
140  if(a_from.m_histo) {
141  m_histo = new histo::h3d(*a_from.m_histo);
142  }
143  return *this;
144  }

◆ reset()

bool tools::histo::c3d::reset ( )
inline

Definition at line 348 of file c3d.

348  {
349  clear();
350  delete m_histo;
351  m_histo = 0;
352  return true;
353 }

◆ rms_x()

double tools::histo::c3d::rms_x ( ) const
inline

Definition at line 481 of file c3d.

481  {
482  double rms = 0; //FIXME nan.
483  if(m_histo) {
484  rms = m_histo->rms_x();
485  } else {
486  if(m_Sw==0) {
487  } else {
488  double mean = m_Sxw / m_Sw;
489  rms = ::sqrt(::fabs( (m_Sx2w / m_Sw) - mean * mean));
490  }
491  }
492  return rms;
493 }

◆ rms_y()

double tools::histo::c3d::rms_y ( ) const
inline

Definition at line 495 of file c3d.

495  {
496  double rms = 0; //FIXME nan.
497  if(m_histo) {
498  rms = m_histo->rms_y();
499  } else {
500  if(m_Sw==0) {
501  } else {
502  double mean = m_Syw / m_Sw;
503  rms = ::sqrt(::fabs( (m_Sy2w / m_Sw) - mean * mean));
504  }
505  }
506  return rms;
507 }

◆ rms_z()

double tools::histo::c3d::rms_z ( ) const
inline

Definition at line 509 of file c3d.

509  {
510  double rms = 0; //FIXME nan.
511  if(m_histo) {
512  rms = m_histo->rms_z();
513  } else {
514  if(m_Sw==0) {
515  } else {
516  double mean = m_Szw / m_Sw;
517  rms = ::sqrt(::fabs( (m_Sz2w / m_Sw) - mean * mean));
518  }
519  }
520  return rms;
521 }

◆ s_class()

static const std::string& tools::histo::c3d::s_class ( )
inlinestatic

Definition at line 18 of file c3d.

18  {
19  static const std::string s_v("tools::histo::c3d");
20  return s_v;
21  }

◆ scale()

bool tools::histo::c3d::scale ( double  a_scale)
inline

Definition at line 305 of file c3d.

305  {
306  if(m_histo) {
307  return m_histo->scale(a_scale);
308  } else {
309  size_t number = m_ws.size();
310  for(size_t index=0;index<number;index++) m_ws[index] *= a_scale;
311  m_Sw *= a_scale;
312  m_Sxw *= a_scale;
313  m_Sx2w *= a_scale;
314  m_Syw *= a_scale;
315  m_Sy2w *= a_scale;
316  m_Szw *= a_scale;
317  m_Sz2w *= a_scale;
318  return true;
319  }
320 }

◆ set_conversion_parameters()

bool tools::histo::c3d::set_conversion_parameters ( unsigned int  aCnvXnumber,
double  aCnvXmin,
double  aCnvXmax,
unsigned int  aCnvYnumber,
double  aCnvYmin,
double  aCnvYmax,
unsigned int  aCnvZnumber,
double  aCnvZmin,
double  aCnvZmax 
)
inline

Definition at line 323 of file c3d.

327  {
328  m_cnv_x_num = aCnvXnumber;
329  m_cnv_x_min = aCnvXmin;
330  m_cnv_x_max = aCnvXmax;
331  m_cnv_y_num = aCnvYnumber;
332  m_cnv_y_min = aCnvYmin;
333  m_cnv_y_max = aCnvYmax;
334  m_cnv_z_num = aCnvZnumber;
335  m_cnv_z_min = aCnvZmin;
336  m_cnv_z_max = aCnvZmax;
337  return true;
338 }

◆ set_histogram()

bool tools::histo::c3d::set_histogram ( h3d a_histo)
inline

Definition at line 68 of file c3d.

68  { //we take ownership of a_histo.
69  reset();
70  m_histo = a_histo;
71  return true;
72  }

◆ set_title()

bool tools::histo::c3d::set_title ( const std::string &  a_title)
inline

Definition at line 298 of file c3d.

298  {
299  m_title = a_title;
300  if(m_histo) m_histo->set_title(a_title);
301  return true;
302 }

◆ sum_of_weights()

double tools::histo::c3d::sum_of_weights ( ) const
inline

Definition at line 419 of file c3d.

419  {
420  return (m_histo ? m_histo->sum_bin_heights() : m_Sw);
421 }

◆ upper_edge_x()

double tools::histo::c3d::upper_edge_x ( ) const
inline

Definition at line 441 of file c3d.

441  {
442  return m_histo ? m_histo->axis_x().upper_edge() : m_upper_x;
443 }

◆ upper_edge_y()

double tools::histo::c3d::upper_edge_y ( ) const
inline

Definition at line 445 of file c3d.

445  {
446  return m_histo ? m_histo->axis_y().upper_edge() : m_upper_y;
447 }

◆ upper_edge_z()

double tools::histo::c3d::upper_edge_z ( ) const
inline

Definition at line 449 of file c3d.

449  {
450  return m_histo ? m_histo->axis_z().upper_edge() : m_upper_z;
451 }

◆ value_x()

double tools::histo::c3d::value_x ( unsigned int  a_index) const
inline

Definition at line 453 of file c3d.

453  {
454  return m_histo ? 0 : m_xs[a_index];
455 }

◆ value_y()

double tools::histo::c3d::value_y ( unsigned int  a_index) const
inline

Definition at line 457 of file c3d.

457  {
458  return m_histo ? 0 : m_ys[a_index];
459 }

◆ value_z()

double tools::histo::c3d::value_z ( unsigned int  a_index) const
inline

Definition at line 461 of file c3d.

461  {
462  return m_histo ? 0 : m_zs[a_index];
463 }

◆ weight()

double tools::histo::c3d::weight ( unsigned int  a_index) const
inline

Definition at line 465 of file c3d.

465  {
466  return m_histo ? 0 : m_ws[a_index];
467 }

Member Data Documentation

◆ m_cnv_x_max

double tools::histo::c3d::m_cnv_x_max
protected

Definition at line 167 of file c3d.

◆ m_cnv_x_min

double tools::histo::c3d::m_cnv_x_min
protected

Definition at line 166 of file c3d.

◆ m_cnv_x_num

unsigned int tools::histo::c3d::m_cnv_x_num
protected

Definition at line 165 of file c3d.

◆ m_cnv_y_max

double tools::histo::c3d::m_cnv_y_max
protected

Definition at line 170 of file c3d.

◆ m_cnv_y_min

double tools::histo::c3d::m_cnv_y_min
protected

Definition at line 169 of file c3d.

◆ m_cnv_y_num

unsigned int tools::histo::c3d::m_cnv_y_num
protected

Definition at line 168 of file c3d.

◆ m_cnv_z_max

double tools::histo::c3d::m_cnv_z_max
protected

Definition at line 173 of file c3d.

◆ m_cnv_z_min

double tools::histo::c3d::m_cnv_z_min
protected

Definition at line 172 of file c3d.

◆ m_cnv_z_num

unsigned int tools::histo::c3d::m_cnv_z_num
protected

Definition at line 171 of file c3d.

◆ m_histo

histo::h3d* tools::histo::c3d::m_histo
protected

Definition at line 174 of file c3d.

◆ m_lower_x

double tools::histo::c3d::m_lower_x
protected

Definition at line 152 of file c3d.

◆ m_lower_y

double tools::histo::c3d::m_lower_y
protected

Definition at line 154 of file c3d.

◆ m_lower_z

double tools::histo::c3d::m_lower_z
protected

Definition at line 156 of file c3d.

◆ m_Sx2w

double tools::histo::c3d::m_Sx2w
protected

Definition at line 159 of file c3d.

◆ m_Sxw

double tools::histo::c3d::m_Sxw
protected

Definition at line 158 of file c3d.

◆ m_Sy2w

double tools::histo::c3d::m_Sy2w
protected

Definition at line 161 of file c3d.

◆ m_Syw

double tools::histo::c3d::m_Syw
protected

Definition at line 160 of file c3d.

◆ m_Sz2w

double tools::histo::c3d::m_Sz2w
protected

Definition at line 163 of file c3d.

◆ m_Szw

double tools::histo::c3d::m_Szw
protected

Definition at line 162 of file c3d.

◆ m_upper_x

double tools::histo::c3d::m_upper_x
protected

Definition at line 153 of file c3d.

◆ m_upper_y

double tools::histo::c3d::m_upper_y
protected

Definition at line 155 of file c3d.

◆ m_upper_z

double tools::histo::c3d::m_upper_z
protected

Definition at line 157 of file c3d.

◆ m_xs

std::vector<double> tools::histo::c3d::m_xs
protected

Definition at line 149 of file c3d.

◆ m_ys

std::vector<double> tools::histo::c3d::m_ys
protected

Definition at line 150 of file c3d.

◆ m_zs

std::vector<double> tools::histo::c3d::m_zs
protected

Definition at line 151 of file c3d.


The documentation for this class was generated from the following file:
tools::histo::base_cloud::operator=
base_cloud & operator=(const base_cloud &a_from)
Definition: base_cloud:48
tools::histo::c3d::upper_edge_y
double upper_edge_y() const
Definition: c3d:445
tools::histo::b3::rms_x
TC rms_x() const
Definition: b3:52
tools::histo::c3d::upper_edge_z
double upper_edge_z() const
Definition: c3d:449
tools::histo::c3d::lower_edge_z
double lower_edge_z() const
Definition: c3d:437
tools::histo::base_cloud::title
const std::string & title() const
Definition: base_cloud:56
tools::histo::c3d::m_cnv_z_min
double m_cnv_z_min
Definition: c3d:172
tools::histo::c3d::m_xs
std::vector< double > m_xs
Definition: c3d:149
tools::histo::c3d::set_title
bool set_title(const std::string &)
Definition: c3d:298
tools::histo::c3d::m_cnv_x_num
unsigned int m_cnv_x_num
Definition: c3d:165
tools::histo::c3d::m_lower_x
double m_lower_x
Definition: c3d:152
tools::histo::c3d::m_cnv_y_max
double m_cnv_y_max
Definition: c3d:170
tools::histo::c3d::m_Sy2w
double m_Sy2w
Definition: c3d:161
tools::histo::c3d::m_cnv_y_num
unsigned int m_cnv_y_num
Definition: c3d:168
tools::histo::base_cloud::m_Sw
double m_Sw
Definition: base_cloud:64
tools::histo::b3::mean_x
TC mean_x() const
Definition: b3:37
tools::histo::c3d::reset
bool reset()
Definition: c3d:348
tools::histo::axis::upper_edge
TC upper_edge() const
Definition: axis:27
tools::histo::b3::mean_z
TC mean_z() const
Definition: b3:47
tools::histo::b3::mean_y
TC mean_y() const
Definition: b3:42
tools::histo::base_cloud::m_limit
int m_limit
Definition: base_cloud:63
tools::histo::c3d::m_lower_z
double m_lower_z
Definition: c3d:156
tools::histo::c3d::c3d
c3d()
Definition: c3d:183
tools::histo::c3d::fill_histogram
bool fill_histogram(histo::h3d &a_histo) const
Definition: c3d:57
tools::histo::b3::rms_y
TC rms_y() const
Definition: b3:58
tools::histo::c3d::convert
bool convert(unsigned int, double, double, unsigned int, double, double, unsigned int, double, double)
Definition: c3d:263
tools::histo::base_cloud::UNLIMITED
static int UNLIMITED()
Definition: base_cloud:59
tools::histo::c3d::m_cnv_z_max
double m_cnv_z_max
Definition: c3d:173
tools::histo::base_cloud::m_title
std::string m_title
Definition: base_cloud:62
tools::histo::c3d::m_upper_y
double m_upper_y
Definition: c3d:155
tools::histo::c3d::convert_to_histogram
bool convert_to_histogram()
Definition: c3d:280
tools::histo::b3::axis_z
const axis_t & axis_z() const
Definition: b3:147
tools::histo::base_cloud::m_ws
std::vector< double > m_ws
Definition: base_cloud:65
tools::histo::c3d::m_upper_z
double m_upper_z
Definition: c3d:157
tools::histo::c3d::lower_edge_y
double lower_edge_y() const
Definition: c3d:433
tools::histo::c3d::m_cnv_x_max
double m_cnv_x_max
Definition: c3d:167
tools::histo::c3d::m_cnv_y_min
double m_cnv_y_min
Definition: c3d:169
tools::histo::b3::axis_y
const axis_t & axis_y() const
Definition: b3:146
tools::histo::c3d::m_Szw
double m_Szw
Definition: c3d:162
tools::histo::c3d::m_cnv_x_min
double m_cnv_x_min
Definition: c3d:166
tools::histo::h3::fill
bool fill(TC aX, TC aY, TC aZ, TW aWeight=1)
Definition: h3:42
tools::histo::c3d::m_ys
std::vector< double > m_ys
Definition: c3d:150
tools::histo::c3d::m_Sxw
double m_Sxw
Definition: c3d:158
tools::histo::base_histo::all_entries
TN all_entries() const
Definition: base_histo:95
tools::histo::c3d::m_Sz2w
double m_Sz2w
Definition: c3d:163
tools::histo::c3d::lower_edge_x
double lower_edge_x() const
Definition: c3d:429
tools::histo::c3d::m_zs
std::vector< double > m_zs
Definition: c3d:151
tools::histo::c3d::m_Syw
double m_Syw
Definition: c3d:160
tools::histo::c3d::upper_edge_x
double upper_edge_x() const
Definition: c3d:441
tools::histo::base_histo::set_title
bool set_title(const std::string &a_title)
Definition: base_histo:88
tools::histo::base_cloud::base_cloud
base_cloud(int aLimit)
Definition: base_cloud:23
tools::histo::b3::rms_z
TC rms_z() const
Definition: b3:64
tools::histo::b3::axis_x
const axis_t & axis_x() const
Definition: b3:145
tools::histo::c3d::clear
void clear()
Definition: c3d:242
tools::histo::c3d::m_histo
histo::h3d * m_histo
Definition: c3d:174
tools::histo::c3d::m_upper_x
double m_upper_x
Definition: c3d:153
tools::histo::base_histo::sum_bin_heights
TH sum_bin_heights() const
Definition: base_histo:114
tools::histo::c3d::m_Sx2w
double m_Sx2w
Definition: c3d:159
tools::histo::axis::lower_edge
TC lower_edge() const
Definition: axis:26
tools::histo::base_cloud::BINS
static unsigned int BINS()
Definition: base_cloud:60
tools::histo::c3d::m_lower_y
double m_lower_y
Definition: c3d:154
tools::histo::h3::scale
bool scale(TW a_factor)
Definition: h3:32
tools::histo::c3d::m_cnv_z_num
unsigned int m_cnv_z_num
Definition: c3d:171