Container class for response & efficiency maps. More...
#include <JetPlusTrackCorrector.h>
Classes | |
class | Element |
Public Member Functions | |
double | binCenterEta (uint32_t) const |
double | binCenterPt (uint32_t) const |
void | clear () |
double | eta (uint32_t) const |
uint32_t | etaBin (double eta) const |
Map (std::string, bool verbose=false) | |
Map () | |
uint32_t | nEtaBins () const |
uint32_t | nPtBins () const |
void | print (std::stringstream &ss) const |
double | pt (uint32_t) const |
uint32_t | ptBin (double pt) const |
double | value (uint32_t eta_bin, uint32_t pt_bin) const |
~Map () | |
Private Types | |
typedef std::vector< double > | VDouble |
typedef std::vector< VDouble > | VVDouble |
Private Attributes | |
VVDouble | data_ |
std::vector< double > | eta_ |
std::vector< double > | pt_ |
Container class for response & efficiency maps.
Definition at line 41 of file JetPlusTrackCorrector.h.
|
private |
Definition at line 78 of file JetPlusTrackCorrector.h.
|
private |
Definition at line 79 of file JetPlusTrackCorrector.h.
Map::Map | ( | std::string | input, |
bool | verbose = false |
||
) |
Definition at line 1395 of file JetPlusTrackCorrector.cc.
References clear(), data, data_, jpt::Map::Element::eta_, eta_, FrontierConditions_GlobalTag_cff::file, edm::FileInPath::fullPath(), jpt::Map::Element::ieta_, recoMuon::in, jpt::Map::Element::ipt_, edm::isDebugEnabled(), mps_splice::line, LogTrace, print(), jpt::Map::Element::pt_, pt_, AlCaHLTBitMon_QueryRunRegistry::string, groupFilesInBlocks::temp, and jpt::Map::Element::val_.
Map::Map | ( | ) |
Map::~Map | ( | ) |
Definition at line 1473 of file JetPlusTrackCorrector.cc.
References clear().
double Map::binCenterEta | ( | uint32_t | eta_bin | ) | const |
Definition at line 1514 of file JetPlusTrackCorrector.cc.
References eta_.
Referenced by JetPlusTrackCorrector::pionEfficiency().
double Map::binCenterPt | ( | uint32_t | pt_bin | ) | const |
Definition at line 1529 of file JetPlusTrackCorrector.cc.
References pt_.
Referenced by JetPlusTrackCorrector::pionEfficiency().
void Map::clear | ( | void | ) |
double Map::eta | ( | uint32_t | eta_bin | ) | const |
Definition at line 1486 of file JetPlusTrackCorrector.cc.
References eta_.
Referenced by Particle.Particle::__str__(), etaBin(), Jet.Jet::jetID(), and Jet.Jet::puJetId().
uint32_t Map::etaBin | ( | double | eta | ) | const |
Definition at line 1544 of file JetPlusTrackCorrector.cc.
References eta(), and nEtaBins().
Referenced by JetPlusTrackCorrector::calculateCorr(), and JetPlusTrackCorrector::correctAA().
|
inline |
Definition at line 87 of file JetPlusTrackCorrector.h.
Referenced by JetPlusTrackCorrector::calculateCorr(), JetPlusTrackCorrector::correctAA(), etaBin(), JetPlusTrackCorrector::pionEfficiency(), and jpt::Efficiency::reset().
|
inline |
Definition at line 88 of file JetPlusTrackCorrector.h.
Referenced by JetPlusTrackCorrector::calculateCorr(), JetPlusTrackCorrector::correctAA(), JetPlusTrackCorrector::pionEfficiency(), ptBin(), and jpt::Efficiency::reset().
void Map::print | ( | std::stringstream & | ss | ) | const |
Definition at line 1579 of file JetPlusTrackCorrector.cc.
References data_, eta_, METSignificanceParams_cfi::jeta, and pt_.
Referenced by Map(), and jpt::Efficiency::print().
double Map::pt | ( | uint32_t | pt_bin | ) | const |
Definition at line 1500 of file JetPlusTrackCorrector.cc.
References pt_.
Referenced by Particle.Particle::__str__(), DiObject.DiMuon::__str__(), Photon.Photon::calScaledIsoValueExp(), Photon.Photon::calScaledIsoValueLin(), Photon.Photon::calScaledIsoValueQuadr(), Electron.Electron::mvaIDLoose(), Electron.Electron::mvaIDRun2(), Electron.Electron::mvaIDTight(), ptBin(), Electron.Electron::ptErr(), ntupleDataFormat.Track::ptPull(), Lepton.Lepton::relIso(), Lepton.Lepton::relIsoFromEA(), Lepton.Lepton::relIsoR(), and Jet.Jet::setCorrP4().
uint32_t Map::ptBin | ( | double | pt | ) | const |
Definition at line 1554 of file JetPlusTrackCorrector.cc.
References nPtBins(), and pt().
Referenced by JetPlusTrackCorrector::calculateCorr(), and JetPlusTrackCorrector::correctAA().
double Map::value | ( | uint32_t | eta_bin, |
uint32_t | pt_bin | ||
) | const |
Definition at line 1564 of file JetPlusTrackCorrector.cc.
References data_.
Referenced by JetPlusTrackCorrector::calculateCorr(), JetPlusTrackCorrector::correctAA(), jpt::Efficiency::inConeCorr(), and jpt::Efficiency::outOfConeCorr().
|
private |
|
private |
Definition at line 81 of file JetPlusTrackCorrector.h.
Referenced by binCenterEta(), clear(), eta(), Map(), and print().
|
private |
Definition at line 82 of file JetPlusTrackCorrector.h.
Referenced by binCenterPt(), clear(), Map(), print(), and pt().