#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 40 of file TPN.cc.
Referenced by EcalLaserAnalyzer2::endJob(), and EcalLaserAnalyzer::endJob().
std::vector< double > TPN::get | ( | int | ivar | ) |
Definition at line 78 of file TPN.cc.
Referenced by Options.Options::__getitem__(), betterConfigParser.BetterConfigParser::__updateDict(), data_sources.json_list::as_dicts(), data_sources.json_list::as_table(), rrapi.RRApi::columns(), rrapi.RRApi::count(), rrapi.RRApi::data(), data_sources.json_list::first(), betterConfigParser.BetterConfigParser::getCompares(), betterConfigParser.BetterConfigParser::getGeneral(), betterConfigParser.BetterConfigParser::getResultingSection(), data_sources.json_list::indices(), data_sources.json_list::last(), rrapi.RRApi::report(), rrapi.RRApi::reports(), rrapi.RRApi::tables(), rrapi.RRApi::tags(), rrapi.RRApi::templates(), and rrapi.RRApi::workspaces().
std::vector< double > TPN::getPN | ( | ) |
std::vector< double > TPN::getPNoPN | ( | ) |
Definition at line 97 of file TPN.cc.
Referenced by EcalLaserAnalyzer2::endJob(), and EcalLaserAnalyzer::endJob().
std::vector< double > TPN::getPNoPN0 | ( | ) |
Definition at line 98 of file TPN.cc.
Referenced by EcalLaserAnalyzer2::endJob(), and EcalLaserAnalyzer::endJob().
std::vector< double > TPN::getPNoPN1 | ( | ) |
Definition at line 99 of file TPN.cc.
Referenced by EcalLaserAnalyzer2::endJob(), and EcalLaserAnalyzer::endJob().
void TPN::init | ( | ) |
Definition at line 30 of file TPN.cc.
References hpstanc_transforms::cuts, and j.
void TPN::setCut | ( | int | ivar, |
double | mean, | ||
double | sig | ||
) |
void TPN::setPNCut | ( | double | mean, |
double | sig | ||
) |
Definition at line 72 of file TPN.cc.
References iPN.
Referenced by EcalLaserAnalyzer2::endJob(), and EcalLaserAnalyzer::endJob().
void TPN::setPNoPN0Cut | ( | double | mean, |
double | sig | ||
) |
void TPN::setPNoPN1Cut | ( | double | mean, |
double | sig | ||
) |
void TPN::setPNoPNCut | ( | double | mean, |
double | sig | ||
) |