Generic container class. More...
#include <JetPlusTrackCorrector.h>
Public Types | |
typedef std::pair< uint16_t, double > | Pair |
Public Member Functions | |
void | addE (uint32_t eta_bin, uint32_t pt_bin, double energy) |
Efficiency (const jpt::Map &response, const jpt::Map &efficiency, const jpt::Map &leakage) | |
bool | empty () const |
double | inConeCorr (uint32_t eta_bin, uint32_t pt_bin) const |
uint32_t | nEtaBins () const |
uint32_t | nPtBins () const |
uint16_t | nTrks (uint32_t eta_bin, uint32_t pt_bin) const |
double | outOfConeCorr (uint32_t eta_bin, uint32_t pt_bin) const |
void | print () const |
void | reset () |
uint32_t | size () const |
Private Types | |
typedef std::vector< Pair > | VPair |
typedef std::vector< VPair > | VVPair |
Private Member Functions | |
bool | check (uint32_t eta_bin, uint32_t pt_bin, std::string name="check") const |
Efficiency () | |
double | meanE (uint32_t eta_bin, uint32_t pt_bin) const |
double | sumE (uint32_t eta_bin, uint32_t pt_bin) const |
Private Attributes | |
VVPair | data_ |
const jpt::Map & | efficiency_ |
const jpt::Map & | leakage_ |
const jpt::Map & | response_ |
Generic container class.
Definition at line 91 of file JetPlusTrackCorrector.h.
typedef std::pair<uint16_t,double> jpt::Efficiency::Pair |
Definition at line 99 of file JetPlusTrackCorrector.h.
|
private |
Definition at line 126 of file JetPlusTrackCorrector.h.
|
private |
Definition at line 127 of file JetPlusTrackCorrector.h.
Efficiency::Efficiency | ( | const jpt::Map & | response, |
const jpt::Map & | efficiency, | ||
const jpt::Map & | leakage | ||
) |
|
private |
void Efficiency::addE | ( | uint32_t | eta_bin, |
uint32_t | pt_bin, | ||
double | energy | ||
) |
Definition at line 1720 of file JetPlusTrackCorrector.cc.
References check(), data_, and relval_parameters_module::energy.
Referenced by JetPlusTrackCorrector::calculateCorr().
|
private |
Definition at line 1729 of file JetPlusTrackCorrector.cc.
References data_.
Referenced by addE(), inConeCorr(), meanE(), nTrks(), outOfConeCorr(), and sumE().
|
inline |
double Efficiency::inConeCorr | ( | uint32_t | eta_bin, |
uint32_t | pt_bin | ||
) | const |
Definition at line 1672 of file JetPlusTrackCorrector.cc.
References check(), leakage_, outOfConeCorr(), response_, and jpt::Map::value().
Referenced by JetPlusTrackCorrector::pionEfficiency().
|
private |
Definition at line 1710 of file JetPlusTrackCorrector.cc.
References check(), data_, and tmp.
Referenced by outOfConeCorr().
|
inline |
Definition at line 136 of file JetPlusTrackCorrector.h.
References jpt::Map::nEtaBins(), and response_.
|
inline |
Definition at line 137 of file JetPlusTrackCorrector.h.
References jpt::Map::nPtBins(), and response_.
uint16_t Efficiency::nTrks | ( | uint32_t | eta_bin, |
uint32_t | pt_bin | ||
) | const |
Definition at line 1694 of file JetPlusTrackCorrector.cc.
References check(), and data_.
Referenced by outOfConeCorr(), and JetPlusTrackCorrector::pionEfficiency().
double Efficiency::outOfConeCorr | ( | uint32_t | eta_bin, |
uint32_t | pt_bin | ||
) | const |
Definition at line 1682 of file JetPlusTrackCorrector.cc.
References check(), efficiency_, timingPdfMaker::mean, meanE(), nTrks(), and jpt::Map::value().
Referenced by inConeCorr(), and JetPlusTrackCorrector::pionEfficiency().
void Efficiency::print | ( | void | ) | const |
Definition at line 1750 of file JetPlusTrackCorrector.cc.
References efficiency_, edm::isDebugEnabled(), leakage_, LogTrace, jpt::Map::print(), response_, and contentValuesCheck::ss.
void Efficiency::reset | ( | void | ) |
Definition at line 1743 of file JetPlusTrackCorrector.cc.
References data_, jpt::Map::nEtaBins(), jpt::Map::nPtBins(), and response_.
Referenced by JetPlusTrackCorrector::calculateCorr(), and Efficiency().
|
inline |
|
private |
Definition at line 1702 of file JetPlusTrackCorrector.cc.
References check(), and data_.
|
private |
|
private |
Definition at line 131 of file JetPlusTrackCorrector.h.
Referenced by outOfConeCorr(), and print().
|
private |
Definition at line 132 of file JetPlusTrackCorrector.h.
Referenced by inConeCorr(), and print().
|
private |
Definition at line 130 of file JetPlusTrackCorrector.h.
Referenced by inConeCorr(), nEtaBins(), nPtBins(), print(), and reset().