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 () | |
Map (std::string, bool verbose=false) | |
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 43 of file JetPlusTrackCorrector.h.
|
private |
Definition at line 77 of file JetPlusTrackCorrector.h.
|
private |
Definition at line 78 of file JetPlusTrackCorrector.h.
Map::Map | ( | std::string | input, |
bool | verbose = false |
||
) |
Definition at line 1376 of file JetPlusTrackCorrector.cc.
References clear(), data, data_, eta_, FrontierConditions_GlobalTag_cff::file, edm::FileInPath::fullPath(), recoMuon::in, input, edm::isDebugEnabled(), das-selected-lumis::jdata, mps_splice::line, LogTrace, print(), pt_, contentValuesCheck::ss, AlCaHLTBitMon_QueryRunRegistry::string, groupFilesInBlocks::temp, and verbose.
Map::Map | ( | ) |
Map::~Map | ( | ) |
double Map::binCenterEta | ( | uint32_t | eta_bin | ) | const |
Definition at line 1489 of file JetPlusTrackCorrector.cc.
References eta_.
Referenced by JetPlusTrackCorrector::pionEfficiency().
double Map::binCenterPt | ( | uint32_t | pt_bin | ) | const |
Definition at line 1504 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 1459 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 1519 of file JetPlusTrackCorrector.cc.
References eta(), LEDCalibrationChannels::ieta, nEtaBins(), and heppy_batch::val.
Referenced by JetPlusTrackCorrector::calculateCorr(), and JetPlusTrackCorrector::correctAA().
|
inline |
Definition at line 85 of file JetPlusTrackCorrector.h.
References eta_.
Referenced by JetPlusTrackCorrector::calculateCorr(), JetPlusTrackCorrector::correctAA(), etaBin(), jpt::Efficiency::nEtaBins(), JetPlusTrackCorrector::pionEfficiency(), and jpt::Efficiency::reset().
|
inline |
Definition at line 86 of file JetPlusTrackCorrector.h.
References pt_.
Referenced by JetPlusTrackCorrector::calculateCorr(), JetPlusTrackCorrector::correctAA(), jpt::Efficiency::nPtBins(), JetPlusTrackCorrector::pionEfficiency(), ptBin(), and jpt::Efficiency::reset().
void Map::print | ( | std::stringstream & | ss | ) | const |
Definition at line 1558 of file JetPlusTrackCorrector.cc.
References data_, eta_, LEDCalibrationChannels::ieta, METSignificanceParams_cfi::jeta, pt_, and contentValuesCheck::ss.
Referenced by Map(), and jpt::Efficiency::print().
double Map::pt | ( | uint32_t | pt_bin | ) | const |
Definition at line 1474 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 1531 of file JetPlusTrackCorrector.cc.
References nPtBins(), pt(), and heppy_batch::val.
Referenced by JetPlusTrackCorrector::calculateCorr(), and JetPlusTrackCorrector::correctAA().
double Map::value | ( | uint32_t | eta_bin, |
uint32_t | pt_bin | ||
) | const |
Definition at line 1543 of file JetPlusTrackCorrector.cc.
References data_.
Referenced by JetPlusTrackCorrector::calculateCorr(), JetPlusTrackCorrector::correctAA(), jpt::Efficiency::inConeCorr(), and jpt::Efficiency::outOfConeCorr().
|
private |
|
private |
Definition at line 80 of file JetPlusTrackCorrector.h.
Referenced by binCenterEta(), clear(), eta(), Map(), nEtaBins(), and print().
|
private |
Definition at line 81 of file JetPlusTrackCorrector.h.
Referenced by binCenterPt(), clear(), Map(), nPtBins(), print(), and pt().