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) | |
Efficiency ()=delete | |
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 |
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 89 of file JetPlusTrackCorrector.h.
typedef std::pair<uint16_t, double> jpt::Efficiency::Pair |
Definition at line 95 of file JetPlusTrackCorrector.h.
|
private |
Definition at line 119 of file JetPlusTrackCorrector.h.
|
private |
Definition at line 120 of file JetPlusTrackCorrector.h.
Efficiency::Efficiency | ( | const jpt::Map & | response, |
const jpt::Map & | efficiency, | ||
const jpt::Map & | leakage | ||
) |
|
delete |
void Efficiency::addE | ( | uint32_t | eta_bin, |
uint32_t | pt_bin, | ||
double | energy | ||
) |
Definition at line 1676 of file JetPlusTrackCorrector.cc.
References check(), data_, and relval_parameters_module::energy.
Referenced by JetPlusTrackCorrector::calculateCorr().
|
private |
Definition at line 1685 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 1615 of file JetPlusTrackCorrector.cc.
References check(), leakage_, outOfConeCorr(), response_, and jpt::Map::value().
Referenced by JetPlusTrackCorrector::pionEfficiency().
|
private |
Definition at line 1661 of file JetPlusTrackCorrector.cc.
References check(), data_, and createJobs::tmp.
Referenced by outOfConeCorr().
|
inline |
Definition at line 128 of file JetPlusTrackCorrector.h.
References jpt::Map::nEtaBins(), and response_.
|
inline |
Definition at line 129 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 1641 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 1625 of file JetPlusTrackCorrector.cc.
References check(), efficiency_, SiStripPI::mean, meanE(), nTrks(), and jpt::Map::value().
Referenced by inConeCorr(), and JetPlusTrackCorrector::pionEfficiency().
void Efficiency::print | ( | void | ) | const |
Definition at line 1707 of file JetPlusTrackCorrector.cc.
References efficiency_, edm::isDebugEnabled(), leakage_, LogTrace, jpt::Map::print(), response_, and contentValuesCheck::ss.
void Efficiency::reset | ( | void | ) |
Definition at line 1700 of file JetPlusTrackCorrector.cc.
References data_, jpt::Map::nEtaBins(), jpt::Map::nPtBins(), and response_.
Referenced by JetPlusTrackCorrector::calculateCorr(), and Efficiency().
|
inline |
Definition at line 130 of file JetPlusTrackCorrector.h.
References data_.
Referenced by ntupleDataFormat._Collection::__iter__(), and ntupleDataFormat._Collection::__len__().
|
private |
Definition at line 1651 of file JetPlusTrackCorrector.cc.
References check(), and data_.
|
private |
|
private |
Definition at line 124 of file JetPlusTrackCorrector.h.
Referenced by outOfConeCorr(), and print().
|
private |
Definition at line 125 of file JetPlusTrackCorrector.h.
Referenced by inConeCorr(), and print().
|
private |
Definition at line 123 of file JetPlusTrackCorrector.h.
Referenced by inConeCorr(), nEtaBins(), nPtBins(), print(), and reset().