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 1708 of file JetPlusTrackCorrector.cc.
References check(), and data_.
Referenced by JetPlusTrackCorrector::calculateCorr().
|
private |
Definition at line 1717 of file JetPlusTrackCorrector.cc.
References data_.
Referenced by addE(), inConeCorr(), meanE(), nTrks(), outOfConeCorr(), and sumE().
|
inline |
Definition at line 139 of file JetPlusTrackCorrector.h.
double Efficiency::inConeCorr | ( | uint32_t | eta_bin, |
uint32_t | pt_bin | ||
) | const |
Definition at line 1660 of file JetPlusTrackCorrector.cc.
References check(), leakage_, outOfConeCorr(), response_, and jpt::Map::value().
Referenced by JetPlusTrackCorrector::pionEfficiency().
|
private |
Definition at line 1698 of file JetPlusTrackCorrector.cc.
References check(), data_, and tmp.
Referenced by outOfConeCorr().
|
inline |
Definition at line 136 of file JetPlusTrackCorrector.h.
|
inline |
Definition at line 137 of file JetPlusTrackCorrector.h.
uint16_t Efficiency::nTrks | ( | uint32_t | eta_bin, |
uint32_t | pt_bin | ||
) | const |
Definition at line 1682 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 1670 of file JetPlusTrackCorrector.cc.
References check(), efficiency_, RecoTauDiscriminantConfiguration::mean, meanE(), nTrks(), and jpt::Map::value().
Referenced by inConeCorr(), and JetPlusTrackCorrector::pionEfficiency().
void Efficiency::print | ( | void | ) | const |
Definition at line 1738 of file JetPlusTrackCorrector.cc.
References efficiency_, edm::isDebugEnabled(), leakage_, LogTrace, jpt::Map::print(), and response_.
void Efficiency::reset | ( | void | ) |
Definition at line 1731 of file JetPlusTrackCorrector.cc.
References data_, jpt::Map::nEtaBins(), jpt::Map::nPtBins(), and response_.
Referenced by JetPlusTrackCorrector::calculateCorr(), and Efficiency().
|
inline |
Definition at line 138 of file JetPlusTrackCorrector.h.
Referenced by ntupleDataFormat._Collection::__iter__(), and ntupleDataFormat._Collection::__len__().
|
private |
Definition at line 1690 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(), print(), and reset().