#include <Quantile.h>
Public Types | |
typedef std::vector< pair > | array |
typedef std::pair< double, double > | pair |
Public Member Functions | |
pair | fromHead (const double frac) const |
pair | fromTail (const double frac) const |
pair | operator() (const double frac) const |
pair | operator[] (const double frac) const |
Quantile (const TH1 *h) | |
Private Member Functions | |
pair | calculateQ (const double frac, const bool fromHead) const |
template<class T > | |
T | next (T bin, T end) const |
template<class T > | |
T | prev (T bin, T begin) const |
Private Attributes | |
array | head |
const int | N |
array | tail |
const double | Total |
Definition at line 8 of file Quantile.h.
typedef std::vector<pair> Quantile::array |
Definition at line 10 of file Quantile.h.
typedef std::pair<double, double> Quantile::pair |
Definition at line 9 of file Quantile.h.
|
inline |
Definition at line 15 of file Quantile.h.
References h, data-class-funcs::H, head, mps_fire::i, N, and tail.
|
inlineprivate |
Definition at line 30 of file Quantile.h.
References newFWLiteAna::bin, mps_fire::end, f, DivergingColor::frac, fromHead(), head, SiStripPI::max, next(), prev(), mathSSE::sqrt(), tail, and Total.
Referenced by fromHead(), and fromTail().
|
inline |
Definition at line 26 of file Quantile.h.
References calculateQ(), and DivergingColor::frac.
Referenced by calculateQ(), and operator()().
|
inline |
Definition at line 27 of file Quantile.h.
References calculateQ(), and DivergingColor::frac.
Referenced by operator[]().
Definition at line 63 of file Quantile.h.
References newFWLiteAna::bin, mps_fire::end, and edm::second().
Referenced by calculateQ().
|
inline |
|
inline |
Definition at line 55 of file Quantile.h.
References newFWLiteAna::bin, and edm::second().
Referenced by calculateQ().
|
private |
Definition at line 72 of file Quantile.h.
Referenced by calculateQ(), and Quantile().
|
private |
Definition at line 70 of file Quantile.h.
Referenced by Quantile().
|
private |
Definition at line 72 of file Quantile.h.
Referenced by calculateQ(), and Quantile().
|
private |
Definition at line 71 of file Quantile.h.
Referenced by calculateQ().