#include <TAPD.h>
Public Types | |
enum | outVar { iAPD, iAPDoPN, iAPDoPN0, iAPDoPN1, iTime, iAPDoAPD0, iAPDoAPD1, nOutVar } |
Public Member Functions | |
void | addEntry (double, double, double, double, double) |
void | addEntry (double, double, double, double, double, double, double) |
std::vector< double > | get (int) |
std::vector< double > | getAPD () |
std::vector< double > | getAPDoAPD0 () |
std::vector< double > | getAPDoAPD1 () |
std::vector< double > | getAPDoPN () |
std::vector< double > | getAPDoPN0 () |
std::vector< double > | getAPDoPN1 () |
std::vector< double > | getTime () |
void | init () |
void | set2DAPDCut (const std::vector< double > &, const std::vector< double > &) |
void | set2DAPDoAPD0Cut (const std::vector< double > &, const std::vector< double > &) |
void | set2DAPDoAPD1Cut (const std::vector< double > &, const std::vector< double > &) |
void | set2DAPDoPN0Cut (const std::vector< double > &, const std::vector< double > &) |
void | set2DAPDoPN1Cut (const std::vector< double > &, const std::vector< double > &) |
void | set2DAPDoPNCut (const std::vector< double > &, const std::vector< double > &) |
void | set2DCut (int, const std::vector< double > &, const std::vector< double > &) |
void | set2DTimeCut (const std::vector< double > &, const std::vector< double > &) |
void | setAPDCut (double, double) |
void | setAPDoPN0Cut (double, double) |
void | setAPDoPN1Cut (double, double) |
void | setAPDoPNCut (double, double) |
void | setCut (int, const std::vector< int > &, const std::vector< double > &, const std::vector< double > &) |
void | setCut (int, double, double) |
void | setTimeCut (double, double) |
TAPD () | |
virtual | ~TAPD () |
Public Attributes | |
std::vector< double > | _apdcuts [2][nOutVar] |
std::vector< int > | _cutvars [nOutVar] |
TMom * | mom [nOutVar] |
enum TAPD::outVar |
void TAPD::addEntry | ( | double | apd, |
double | pn, | ||
double | pn0, | ||
double | pn1, | ||
double | time | ||
) |
Definition at line 38 of file TAPD.cc.
References protons_cff::time.
void TAPD::addEntry | ( | double | apd, |
double | pn, | ||
double | pn0, | ||
double | pn1, | ||
double | time, | ||
double | apd0, | ||
double | apd1 | ||
) |
Definition at line 42 of file TAPD.cc.
References cms::cuda::assert(), gpuVertexFinder::iv, protons_cff::time, and heppy_batch::val.
Referenced by EcalLaserAnalyzer2::endJob(), and EcalLaserAnalyzer::endJob().
std::vector< double > TAPD::get | ( | int | ivar | ) |
Definition at line 199 of file TAPD.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 > TAPD::getAPD | ( | ) |
Definition at line 216 of file TAPD.cc.
Referenced by EcalLaserAnalyzer2::endJob(), and EcalLaserAnalyzer::endJob().
std::vector< double > TAPD::getAPDoAPD0 | ( | ) |
Definition at line 236 of file TAPD.cc.
References get, and iAPDoAPD0.
Referenced by EcalLaserAnalyzer2::endJob(), and EcalLaserAnalyzer::endJob().
std::vector< double > TAPD::getAPDoAPD1 | ( | ) |
Definition at line 241 of file TAPD.cc.
References get, and iAPDoAPD1.
Referenced by EcalLaserAnalyzer2::endJob(), and EcalLaserAnalyzer::endJob().
std::vector< double > TAPD::getAPDoPN | ( | ) |
Definition at line 220 of file TAPD.cc.
Referenced by EcalLaserAnalyzer2::endJob(), and EcalLaserAnalyzer::endJob().
std::vector< double > TAPD::getAPDoPN0 | ( | ) |
Definition at line 224 of file TAPD.cc.
Referenced by EcalLaserAnalyzer2::endJob(), and EcalLaserAnalyzer::endJob().
std::vector< double > TAPD::getAPDoPN1 | ( | ) |
Definition at line 228 of file TAPD.cc.
Referenced by EcalLaserAnalyzer2::endJob(), and EcalLaserAnalyzer::endJob().
std::vector< double > TAPD::getTime | ( | ) |
Definition at line 232 of file TAPD.cc.
Referenced by EcalLaserAnalyzer2::endJob(), and EcalLaserAnalyzer::endJob().
void TAPD::init | ( | ) |
void TAPD::set2DAPDCut | ( | const std::vector< double > & | lowCut, |
const std::vector< double > & | highCut | ||
) |
void TAPD::set2DAPDoAPD0Cut | ( | const std::vector< double > & | lowCut, |
const std::vector< double > & | highCut | ||
) |
Definition at line 173 of file TAPD.cc.
References cms::cuda::assert(), iAPD, iAPDoAPD0, and iTime.
Referenced by EcalLaserAnalyzer2::endJob(), and EcalLaserAnalyzer::endJob().
void TAPD::set2DAPDoAPD1Cut | ( | const std::vector< double > & | lowCut, |
const std::vector< double > & | highCut | ||
) |
Definition at line 181 of file TAPD.cc.
References cms::cuda::assert(), iAPD, iAPDoAPD1, and iTime.
Referenced by EcalLaserAnalyzer2::endJob(), and EcalLaserAnalyzer::endJob().
void TAPD::set2DAPDoPN0Cut | ( | const std::vector< double > & | lowCut, |
const std::vector< double > & | highCut | ||
) |
void TAPD::set2DAPDoPN1Cut | ( | const std::vector< double > & | lowCut, |
const std::vector< double > & | highCut | ||
) |
void TAPD::set2DAPDoPNCut | ( | const std::vector< double > & | lowCut, |
const std::vector< double > & | highCut | ||
) |
void TAPD::set2DCut | ( | int | ivar, |
const std::vector< double > & | lowCut, | ||
const std::vector< double > & | highCut | ||
) |
void TAPD::set2DTimeCut | ( | const std::vector< double > & | lowCut, |
const std::vector< double > & | highCut | ||
) |
void TAPD::setAPDCut | ( | double | mean, |
double | sig | ||
) |
Definition at line 141 of file TAPD.cc.
References iAPD, and SiStripPI::mean.
Referenced by EcalLaserAnalyzer2::endJob(), and EcalLaserAnalyzer::endJob().
void TAPD::setAPDoPN0Cut | ( | double | mean, |
double | sig | ||
) |
Definition at line 143 of file TAPD.cc.
References iAPDoPN0, and SiStripPI::mean.
Referenced by EcalLaserAnalyzer2::endJob(), and EcalLaserAnalyzer::endJob().
void TAPD::setAPDoPN1Cut | ( | double | mean, |
double | sig | ||
) |
Definition at line 144 of file TAPD.cc.
References iAPDoPN1, and SiStripPI::mean.
Referenced by EcalLaserAnalyzer2::endJob(), and EcalLaserAnalyzer::endJob().
void TAPD::setAPDoPNCut | ( | double | mean, |
double | sig | ||
) |
Definition at line 142 of file TAPD.cc.
References iAPDoPN, and SiStripPI::mean.
Referenced by EcalLaserAnalyzer2::endJob(), and EcalLaserAnalyzer::endJob().
void TAPD::setCut | ( | int | ivar, |
const std::vector< int > & | cutVars, | ||
const std::vector< double > & | lowCut, | ||
const std::vector< double > & | highCut | ||
) |
void TAPD::setCut | ( | int | ivar, |
double | mean, | ||
double | sig | ||
) |
Definition at line 90 of file TAPD.cc.
References cms::cuda::assert(), LaserClient_cfi::high, LaserClient_cfi::low, and SiStripPI::mean.
void TAPD::setTimeCut | ( | double | mean, |
double | sig | ||
) |
Definition at line 145 of file TAPD.cc.
References iTime, and SiStripPI::mean.
Referenced by EcalLaserAnalyzer2::endJob(), and EcalLaserAnalyzer::endJob().