Histo computes a statistical analysis like Tally and also generates a histogram.
Public Member Functions | |
| Histo (Simulation *s, Label title, double low, double up, int n) | |
| Construction. | |
| virtual | ~Histo () |
| Destruction. | |
| virtual void | update (double v) |
| Update statistics. | |
| virtual void | reset () |
| Reset statistics. | |
| const Tally * | getTally () |
| Get Tally-statistics. | |
| const std::vector< int > & | getData () |
| Get histogram data. | |
| int | maximumelem () |
| Get highest value. | |
| virtual void | report (Report *r) |
| Report generation. | |
Protected Attributes | |
| double | lower |
| double | upper |
| int | ncells |
| std::vector< int > | data |
| int | limit |
| double | width |
|
||||||||||||||||||||||||
|
Construction.
|
1.3