#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 30 of file Quantile.h.
References begin, newFWLiteAna::bin, end, f, cropTnPTrees::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 cropTnPTrees::frac.
Referenced by calculateQ(), and operator()().
|
inline |
Definition at line 27 of file Quantile.h.
References calculateQ(), and cropTnPTrees::frac.
Referenced by operator[]().
Definition at line 63 of file Quantile.h.
References newFWLiteAna::bin, end, and edm::second().
Referenced by calculateQ().
|
inline |
Definition at line 12 of file Quantile.h.
References cropTnPTrees::frac, and fromHead().
|
inline |
Definition at line 13 of file Quantile.h.
References cropTnPTrees::frac, and fromTail().
Definition at line 55 of file Quantile.h.
References begin, 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().