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 40 of file JetPlusTrackCorrector.h.
|
private |
Definition at line 74 of file JetPlusTrackCorrector.h.
|
private |
Definition at line 75 of file JetPlusTrackCorrector.h.
Map::Map | ( | std::string | input, |
bool | verbose = false |
||
) |
Definition at line 1399 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(), das-selected-lumis::jdata, mps_splice::line, LogTrace, print(), jpt::Map::Element::pt_, pt_, contentValuesCheck::ss, AlCaHLTBitMon_QueryRunRegistry::string, groupFilesInBlocks::temp, and jpt::Map::Element::val_.
Map::Map | ( | ) |
Map::~Map | ( | ) |
double Map::binCenterEta | ( | uint32_t | eta_bin | ) | const |
Definition at line 1512 of file JetPlusTrackCorrector.cc.
References eta_.
Referenced by JetPlusTrackCorrector::pionEfficiency().
double Map::binCenterPt | ( | uint32_t | pt_bin | ) | const |
Definition at line 1527 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 1482 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 1542 of file JetPlusTrackCorrector.cc.
References eta(), LEDCalibrationChannels::ieta, and nEtaBins().
Referenced by JetPlusTrackCorrector::calculateCorr(), and JetPlusTrackCorrector::correctAA().
|
inline |
Definition at line 82 of file JetPlusTrackCorrector.h.
Referenced by JetPlusTrackCorrector::calculateCorr(), JetPlusTrackCorrector::correctAA(), etaBin(), JetPlusTrackCorrector::pionEfficiency(), and jpt::Efficiency::reset().
|
inline |
Definition at line 83 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 1581 of file JetPlusTrackCorrector.cc.
References data_, eta_, LEDCalibrationChannels::ieta, METSignificanceParams_cfi::jeta, and pt_.
Referenced by Map(), and jpt::Efficiency::print().
double Map::pt | ( | uint32_t | pt_bin | ) | const |
Definition at line 1497 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 1566 of file JetPlusTrackCorrector.cc.
References data_.
Referenced by JetPlusTrackCorrector::calculateCorr(), JetPlusTrackCorrector::correctAA(), jpt::Efficiency::inConeCorr(), and jpt::Efficiency::outOfConeCorr().
|
private |
|
private |
Definition at line 77 of file JetPlusTrackCorrector.h.
Referenced by binCenterEta(), clear(), eta(), Map(), and print().
|
private |
Definition at line 78 of file JetPlusTrackCorrector.h.
Referenced by binCenterPt(), clear(), Map(), print(), and pt().