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 1407 of file JetPlusTrackCorrector.cc.
References clear(), data, data_, jpt::Map::Element::eta_, eta_, mergeVDriftHistosByStation::file, edm::FileInPath::fullPath(), jpt::Map::Element::ieta_, recoMuon::in, jpt::Map::Element::ipt_, edm::isDebugEnabled(), geometryCSVtoXML::line, LogTrace, print(), jpt::Map::Element::pt_, pt_, contentValuesCheck::ss, AlCaHLTBitMon_QueryRunRegistry::string, groupFilesInBlocks::temp, and jpt::Map::Element::val_.
Map::Map | ( | ) |
Map::~Map | ( | ) |
Definition at line 1485 of file JetPlusTrackCorrector.cc.
References clear().
double Map::binCenterEta | ( | uint32_t | eta_bin | ) | const |
Definition at line 1526 of file JetPlusTrackCorrector.cc.
References eta_.
Referenced by JetPlusTrackCorrector::pionEfficiency().
double Map::binCenterPt | ( | uint32_t | pt_bin | ) | const |
Definition at line 1541 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 1498 of file JetPlusTrackCorrector.cc.
References eta_.
Referenced by Particle.Particle::__str__(), Muon.Muon::absEffAreaIso(), etaBin(), Jet.Jet::jetID(), and Jet.Jet::puJetId().
uint32_t Map::etaBin | ( | double | eta | ) | const |
Definition at line 1556 of file JetPlusTrackCorrector.cc.
References eta(), and nEtaBins().
Referenced by JetPlusTrackCorrector::calculateCorr(), and JetPlusTrackCorrector::correctAA().
|
inline |
Definition at line 87 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 88 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 1591 of file JetPlusTrackCorrector.cc.
References data_, eta_, and pt_.
Referenced by Map(), and jpt::Efficiency::print().
double Map::pt | ( | uint32_t | pt_bin | ) | const |
Definition at line 1512 of file JetPlusTrackCorrector.cc.
References pt_.
Referenced by Particle.Particle::__str__(), DiObject.DiMuon::__str__(), Photon.Photon::calScaledIsoValue(), Electron.Electron::mvaIDLoose(), Electron.Electron::mvaIDTight(), ptBin(), Lepton.Lepton::relEffAreaIso(), and Lepton.Lepton::relIso().
uint32_t Map::ptBin | ( | double | pt | ) | const |
Definition at line 1566 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 1576 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(), nEtaBins(), and print().
|
private |
Definition at line 82 of file JetPlusTrackCorrector.h.
Referenced by binCenterPt(), clear(), Map(), nPtBins(), print(), and pt().