#include <GenFilterInfo.h>
Public Member Functions | |
double | filterEfficiency (int idwtup=+3) const |
double | filterEfficiencyError (int idwtup=+3) const |
GenFilterInfo () | |
GenFilterInfo (unsigned int, unsigned int) | |
GenFilterInfo (unsigned int, unsigned int, unsigned int, unsigned int, double, double, double, double) | |
GenFilterInfo (const GenFilterInfo &) | |
bool | mergeProduct (GenFilterInfo const &other) |
unsigned int | numEventsPassed () const |
unsigned int | numEventsTotal () const |
unsigned int | numEventsTried () const |
unsigned int | numPassNegativeEvents () const |
unsigned int | numPassPositiveEvents () const |
unsigned int | numTotalNegativeEvents () const |
unsigned int | numTotalPositiveEvents () const |
double | sumFailWeights () const |
double | sumFailWeights2 () const |
double | sumPassWeights () const |
double | sumPassWeights2 () const |
double | sumWeights () const |
double | sumWeights2 () const |
void | swap (GenFilterInfo &other) |
virtual | ~GenFilterInfo () |
Private Attributes | |
unsigned int | numPassNegativeEvents_ |
unsigned int | numPassPositiveEvents_ |
unsigned int | numTotalNegativeEvents_ |
unsigned int | numTotalPositiveEvents_ |
double | sumPassWeights2_ |
double | sumPassWeights_ |
double | sumTotalWeights2_ |
double | sumTotalWeights_ |
Definition at line 11 of file GenFilterInfo.h.
GenFilterInfo::GenFilterInfo | ( | ) |
Definition at line 12 of file GenFilterInfo.cc.
GenFilterInfo::GenFilterInfo | ( | unsigned int | tried, |
unsigned int | pass | ||
) |
Definition at line 24 of file GenFilterInfo.cc.
GenFilterInfo::GenFilterInfo | ( | unsigned int | passp, |
unsigned int | passn, | ||
unsigned int | totalp, | ||
unsigned int | totaln, | ||
double | passw, | ||
double | passw2, | ||
double | totalw, | ||
double | totalw2 | ||
) |
Definition at line 36 of file GenFilterInfo.cc.
GenFilterInfo::GenFilterInfo | ( | const GenFilterInfo & | other | ) |
Definition at line 49 of file GenFilterInfo.cc.
|
virtual |
Definition at line 61 of file GenFilterInfo.cc.
double GenFilterInfo::filterEfficiency | ( | int | idwtup = +3 | ) | const |
Definition at line 94 of file GenFilterInfo.cc.
References numEventsPassed(), numEventsTotal(), sumPassWeights(), and sumWeights().
Referenced by GenFilterEfficiencyAnalyzer::endJob(), GenXSecAnalyzer::endJob(), GenFilterEfficiencyAnalyzer::endLuminosityBlock(), GenXSecAnalyzer::endRun(), and sumWeights2().
double GenFilterInfo::filterEfficiencyError | ( | int | idwtup = +3 | ) | const |
Definition at line 108 of file GenFilterInfo.cc.
References pfDeepCMVADiscriminatorsJetTags_cfi::denominator, pfDeepCMVADiscriminatorsJetTags_cfi::numerator, numEventsTotal(), numPassNegativeEvents(), numPassPositiveEvents(), numTotalNegativeEvents(), numTotalPositiveEvents(), mathSSE::sqrt(), sumFailWeights(), sumFailWeights2(), sumPassWeights(), sumPassWeights2(), and sumWeights().
Referenced by GenFilterEfficiencyAnalyzer::endJob(), GenXSecAnalyzer::endJob(), GenFilterEfficiencyAnalyzer::endLuminosityBlock(), GenXSecAnalyzer::endRun(), and sumWeights2().
bool GenFilterInfo::mergeProduct | ( | GenFilterInfo const & | other | ) |
Definition at line 65 of file GenFilterInfo.cc.
References numPassNegativeEvents_, numPassPositiveEvents_, numTotalNegativeEvents_, numTotalPositiveEvents_, sumPassWeights2_, sumPassWeights_, sumTotalWeights2_, and sumTotalWeights_.
Referenced by GenFilterEfficiencyAnalyzer::endLuminosityBlock(), GenXSecAnalyzer::endLuminosityBlock(), and sumWeights2().
|
inline |
Definition at line 24 of file GenFilterInfo.h.
References numPassNegativeEvents_, and numPassPositiveEvents_.
Referenced by GenXSecAnalyzer::endJob(), and filterEfficiency().
|
inline |
Definition at line 25 of file GenFilterInfo.h.
References numTotalNegativeEvents_, and numTotalPositiveEvents_.
Referenced by GenXSecAnalyzer::endJob(), filterEfficiency(), and filterEfficiencyError().
|
inline |
Definition at line 23 of file GenFilterInfo.h.
References numTotalNegativeEvents_, and numTotalPositiveEvents_.
|
inline |
Definition at line 30 of file GenFilterInfo.h.
References numPassNegativeEvents_.
Referenced by GenXSecAnalyzer::endJob(), and filterEfficiencyError().
|
inline |
Definition at line 27 of file GenFilterInfo.h.
References numPassPositiveEvents_.
Referenced by GenXSecAnalyzer::endJob(), and filterEfficiencyError().
|
inline |
Definition at line 31 of file GenFilterInfo.h.
References numTotalNegativeEvents_.
Referenced by GenXSecAnalyzer::endJob(), and filterEfficiencyError().
|
inline |
Definition at line 28 of file GenFilterInfo.h.
References numTotalPositiveEvents_.
Referenced by GenXSecAnalyzer::endJob(), and filterEfficiencyError().
|
inline |
Definition at line 37 of file GenFilterInfo.h.
References sumPassWeights_, and sumTotalWeights_.
Referenced by GenFilterEfficiencyAnalyzer::endLuminosityBlock(), and filterEfficiencyError().
|
inline |
Definition at line 38 of file GenFilterInfo.h.
References sumPassWeights2_, and sumTotalWeights2_.
Referenced by filterEfficiencyError().
|
inline |
Definition at line 34 of file GenFilterInfo.h.
References sumPassWeights_.
Referenced by GenFilterEfficiencyAnalyzer::endJob(), GenXSecAnalyzer::endJob(), GenFilterEfficiencyAnalyzer::endLuminosityBlock(), GenXSecAnalyzer::endLuminosityBlock(), filterEfficiency(), and filterEfficiencyError().
|
inline |
Definition at line 35 of file GenFilterInfo.h.
References sumPassWeights2_.
Referenced by filterEfficiencyError().
|
inline |
Definition at line 40 of file GenFilterInfo.h.
References sumTotalWeights_.
Referenced by GenFilterEfficiencyAnalyzer::endJob(), GenXSecAnalyzer::endJob(), GenFilterEfficiencyAnalyzer::endLuminosityBlock(), filterEfficiency(), and filterEfficiencyError().
|
inline |
Definition at line 41 of file GenFilterInfo.h.
References filterEfficiency(), filterEfficiencyError(), mergeProduct(), trackingPlots::other, sumTotalWeights2_, and swap().
Referenced by GenXSecAnalyzer::endJob(), and GenXSecAnalyzer::endRun().
void GenFilterInfo::swap | ( | GenFilterInfo & | other | ) |
Definition at line 83 of file GenFilterInfo.cc.
References numPassNegativeEvents_, numPassPositiveEvents_, numTotalNegativeEvents_, numTotalPositiveEvents_, sumPassWeights2_, sumPassWeights_, sumTotalWeights2_, sumTotalWeights_, and std::swap().
Referenced by sumWeights2().
|
private |
Definition at line 52 of file GenFilterInfo.h.
Referenced by mergeProduct(), numEventsPassed(), numPassNegativeEvents(), and swap().
|
private |
Definition at line 51 of file GenFilterInfo.h.
Referenced by mergeProduct(), numEventsPassed(), numPassPositiveEvents(), and swap().
|
private |
Definition at line 54 of file GenFilterInfo.h.
Referenced by mergeProduct(), numEventsTotal(), numEventsTried(), numTotalNegativeEvents(), and swap().
|
private |
Definition at line 53 of file GenFilterInfo.h.
Referenced by mergeProduct(), numEventsTotal(), numEventsTried(), numTotalPositiveEvents(), and swap().
|
private |
Definition at line 57 of file GenFilterInfo.h.
Referenced by mergeProduct(), sumFailWeights2(), sumPassWeights2(), and swap().
|
private |
Definition at line 56 of file GenFilterInfo.h.
Referenced by mergeProduct(), sumFailWeights(), sumPassWeights(), and swap().
|
private |
Definition at line 59 of file GenFilterInfo.h.
Referenced by mergeProduct(), sumFailWeights2(), sumWeights2(), and swap().
|
private |
Definition at line 58 of file GenFilterInfo.h.
Referenced by mergeProduct(), sumFailWeights(), sumWeights(), and swap().