#include <TPN.h>
Public Types | |
enum | outVar { iPN, iPNoPN, iPNoPN0, iPNoPN1, nOutVar } |
Public Member Functions | |
void | addEntry (double, double, double) |
std::vector< double > | get (int) |
std::vector< double > | getPN () |
std::vector< double > | getPNoPN () |
std::vector< double > | getPNoPN0 () |
std::vector< double > | getPNoPN1 () |
void | init () |
void | setCut (int, double, double) |
void | setPNCut (double, double) |
void | setPNoPN0Cut (double, double) |
void | setPNoPN1Cut (double, double) |
void | setPNoPNCut (double, double) |
TPN (int iPN=0) | |
virtual | ~TPN () |
Public Attributes | |
int | _nPN |
double | cuts [2][nOutVar] |
TMom * | mom [nOutVar] |
enum TPN::outVar |
TPN::TPN | ( | int | iPN = 0 | ) |
void TPN::addEntry | ( | double | pn, |
double | pn0, | ||
double | pn1 | ||
) |
Definition at line 33 of file TPN.cc.
References hgcalPerformanceValidation::val.
Referenced by EcalLaserAnalyzer::endJob(), and EcalLaserAnalyzer2::endJob().
std::vector< double > TPN::get | ( | int | ivar | ) |
Definition at line 75 of file TPN.cc.
Referenced by Options.Options::__getitem__(), betterConfigParser.BetterConfigParser::__updateDict(), submitPVValidationJobs.BetterConfigParser::__updateDict(), data_sources.json_list::as_dicts(), data_sources.json_list::as_table(), util.rrapi.RRApi::columns(), rrapi.RRApi::columns(), util.rrapi.RRApi::count(), rrapi.RRApi::count(), util.rrapi.RRApi::data(), rrapi.RRApi::data(), data_sources.json_list::first(), betterConfigParser.BetterConfigParser::getCompares(), betterConfigParser.BetterConfigParser::getGeneral(), betterConfigParser.BetterConfigParser::getResultingSection(), submitPVValidationJobs.BetterConfigParser::getResultingSection(), data_sources.json_list::indices(), data_sources.json_list::last(), util.rrapi.RRApi::report(), rrapi.RRApi::report(), util.rrapi.RRApi::reports(), rrapi.RRApi::reports(), rrapi.RRApi::tables(), util.rrapi.RRApi::tables(), util.rrapi.RRApi::tags(), rrapi.RRApi::tags(), rrapi.RRApi::templates(), util.rrapi.RRApi::templates(), util.rrapi.RRApi::workspaces(), and rrapi.RRApi::workspaces().
std::vector< double > TPN::getPN | ( | ) |
std::vector< double > TPN::getPNoPN | ( | ) |
Definition at line 94 of file TPN.cc.
References iPNoPN.
Referenced by EcalLaserAnalyzer::endJob(), and EcalLaserAnalyzer2::endJob().
std::vector< double > TPN::getPNoPN0 | ( | ) |
Definition at line 98 of file TPN.cc.
References iPNoPN0.
Referenced by EcalLaserAnalyzer::endJob(), and EcalLaserAnalyzer2::endJob().
std::vector< double > TPN::getPNoPN1 | ( | ) |
Definition at line 102 of file TPN.cc.
References iPNoPN1.
Referenced by EcalLaserAnalyzer::endJob(), and EcalLaserAnalyzer2::endJob().
void TPN::init | ( | ) |
Definition at line 25 of file TPN.cc.
References cuts, and dqmiolumiharvest::j.
void TPN::setCut | ( | int | ivar, |
double | mean, | ||
double | sig | ||
) |
void TPN::setPNCut | ( | double | mean, |
double | sig | ||
) |
Definition at line 70 of file TPN.cc.
References iPN.
Referenced by EcalLaserAnalyzer::endJob(), and EcalLaserAnalyzer2::endJob().
void TPN::setPNoPN0Cut | ( | double | mean, |
double | sig | ||
) |
void TPN::setPNoPN1Cut | ( | double | mean, |
double | sig | ||
) |
void TPN::setPNoPNCut | ( | double | mean, |
double | sig | ||
) |
double TPN::cuts[2][nOutVar] |
Definition at line 12 of file TPN.h.
Referenced by mvaElectronID_tools.EleMVA_WP::getCutStrings(), and mvaElectronID_tools.EleMVARaw_WP::getCutStrings().