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 37 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 1220 of file JetPlusTrackCorrector.cc.
References clear(), runTheMatrix::data, data_, jpt::Map::Element::eta_, eta_, dbtoweb::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_, cond::rpcobtemp::temp, and jpt::Map::Element::val_.
Map::Map | ( | ) |
Map::~Map | ( | ) |
Definition at line 1298 of file JetPlusTrackCorrector.cc.
References clear().
double Map::binCenterEta | ( | uint32_t | eta_bin | ) | const |
Definition at line 1339 of file JetPlusTrackCorrector.cc.
References eta_.
Referenced by JetPlusTrackCorrector::pionEfficiency().
double Map::binCenterPt | ( | uint32_t | pt_bin | ) | const |
Definition at line 1354 of file JetPlusTrackCorrector.cc.
References pt_.
Referenced by JetPlusTrackCorrector::pionEfficiency().
void Map::clear | ( | void | ) |
Definition at line 1304 of file JetPlusTrackCorrector.cc.
References data_, eta_, and pt_.
Referenced by python.Vispa.Views.BoxDecayView.BoxDecayView::closeEvent(), Map(), python.Vispa.Views.LineDecayView.LineDecayView::setDataObjects(), python.Vispa.Views.BoxDecayView.BoxDecayView::updateContent(), and ~Map().
double Map::eta | ( | uint32_t | eta_bin | ) | const |
Definition at line 1311 of file JetPlusTrackCorrector.cc.
References eta_.
Referenced by etaBin().
uint32_t Map::etaBin | ( | double | eta | ) | const |
Definition at line 1369 of file JetPlusTrackCorrector.cc.
References eta(), and nEtaBins().
Referenced by JetPlusTrackCorrector::calculateCorr(), and JetPlusTrackCorrector::correctAA().
|
inline |
Definition at line 83 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 84 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 1404 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 1325 of file JetPlusTrackCorrector.cc.
References pt_.
Referenced by ptBin().
uint32_t Map::ptBin | ( | double | pt | ) | const |
Definition at line 1379 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 1389 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(), nEtaBins(), and print().
|
private |
Definition at line 78 of file JetPlusTrackCorrector.h.
Referenced by binCenterPt(), clear(), Map(), nPtBins(), print(), and pt().