#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 class-composition::H, head, mps_fire::i, N, and tail.
|
inlineprivate |
Definition at line 31 of file Quantile.h.
References begin, stringResolutionProvider_cfi::bin, end, f, cropTnPTrees::frac, 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().
Referenced by operator()().
|
inline |
Definition at line 27 of file Quantile.h.
References calculateQ().
Referenced by operator[]().
Definition at line 72 of file Quantile.h.
References stringResolutionProvider_cfi::bin, and edm::second().
Referenced by calculateQ().
|
inline |
|
inline |
Definition at line 64 of file Quantile.h.
References stringResolutionProvider_cfi::bin, and edm::second().
Referenced by calculateQ().
|
private |
Definition at line 82 of file Quantile.h.
Referenced by calculateQ(), and Quantile().
|
private |
Definition at line 80 of file Quantile.h.
Referenced by Quantile().
|
private |
Definition at line 82 of file Quantile.h.
Referenced by calculateQ(), and Quantile().
|
private |
Definition at line 81 of file Quantile.h.
Referenced by calculateQ().