ESyS-Particle
2.2
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
realdist.h
Go to the documentation of this file.
1
2
// //
3
// Copyright (c) 2003-2013 by The University of Queensland //
4
// Earth Systems Science Computational Centre (ESSCC) //
5
// http://www.uq.edu.au/esscc //
6
// //
7
// Primary Business: Brisbane, Queensland, Australia //
8
// Licensed under the Open Software License version 3.0 //
9
// http://www.opensource.org/licenses/osl-3.0.php //
10
// //
12
13
#ifndef REALDIST_H
14
#define REALDIST_H
15
16
// -- IO includes --
17
// -- STL includes --
18
#include <string>
19
using
std::string;
20
21
class
RealDist
{
22
public
:
23
RealDist
(
double
MinSize,
double
MaxSize,
int
Nbins);
24
~RealDist
();
25
void
AddSample
(
double
evsize);
26
void
Write
(
const
string
&);
27
void
Clear
();
28
private
:
29
int
nbins
;
30
double
maxsize
,
minsize
,
binsize
;
31
long
Nevents
;
32
void
Create
();
33
void
Destroy
();
34
long
*
Edist
;
35
void
AddEvSize
(
double
evsize);
36
};
37
38
#endif
Foundation
realdist.h
Generated on Mon May 6 2013 23:26:29 for ESyS-Particle by
1.8.3.1