#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, double, double) |
void | addEntry (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, double, double) |
void | setCut (int, const std::vector< int > &, const std::vector< double > &, const std::vector< 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, | ||
double | apd0, | ||
double | apd1 | ||
) |
Definition at line 53 of file TAPD.cc.
References assert().
Referenced by EcalLaserAnalyzer2::endJob(), and EcalLaserAnalyzer::endJob().
void TAPD::addEntry | ( | double | apd, |
double | pn, | ||
double | pn0, | ||
double | pn1, | ||
double | time | ||
) |
Definition at line 48 of file TAPD.cc.
References revisionDML::addEntry().
std::vector< double > TAPD::get | ( | int | ivar | ) |
Definition at line 214 of file TAPD.cc.
Referenced by Options.Options::__getitem__(), rrapi.RRApi::__init__(), 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 > TAPD::getAPD | ( | ) |
Definition at line 235 of file TAPD.cc.
Referenced by EcalLaserAnalyzer2::endJob(), and EcalLaserAnalyzer::endJob().
std::vector< double > TAPD::getAPDoAPD0 | ( | ) |
Definition at line 240 of file TAPD.cc.
References iAPDoAPD0, and x().
Referenced by EcalLaserAnalyzer2::endJob(), and EcalLaserAnalyzer::endJob().
std::vector< double > TAPD::getAPDoAPD1 | ( | ) |
Definition at line 245 of file TAPD.cc.
References iAPDoAPD1, and x().
Referenced by EcalLaserAnalyzer2::endJob(), and EcalLaserAnalyzer::endJob().
std::vector< double > TAPD::getAPDoPN | ( | ) |
Definition at line 236 of file TAPD.cc.
Referenced by EcalLaserAnalyzer2::endJob(), and EcalLaserAnalyzer::endJob().
std::vector< double > TAPD::getAPDoPN0 | ( | ) |
Definition at line 237 of file TAPD.cc.
Referenced by EcalLaserAnalyzer2::endJob(), and EcalLaserAnalyzer::endJob().
std::vector< double > TAPD::getAPDoPN1 | ( | ) |
Definition at line 238 of file TAPD.cc.
Referenced by EcalLaserAnalyzer2::endJob(), and EcalLaserAnalyzer::endJob().
std::vector< double > TAPD::getTime | ( | ) |
Definition at line 239 of file TAPD.cc.
Referenced by EcalLaserAnalyzer2::endJob(), and EcalLaserAnalyzer::endJob().
void TAPD::set2DAPDCut | ( | const std::vector< double > & | lowCut, |
const std::vector< double > & | highCut | ||
) |
Definition at line 169 of file TAPD.cc.
References iAPD.
void TAPD::set2DAPDoAPD0Cut | ( | const std::vector< double > & | lowCut, |
const std::vector< double > & | highCut | ||
) |
void TAPD::set2DAPDoAPD1Cut | ( | const std::vector< double > & | lowCut, |
const std::vector< double > & | highCut | ||
) |
void TAPD::set2DAPDoPN0Cut | ( | const std::vector< double > & | lowCut, |
const std::vector< double > & | highCut | ||
) |
Definition at line 175 of file TAPD.cc.
References iAPDoPN0.
void TAPD::set2DAPDoPN1Cut | ( | const std::vector< double > & | lowCut, |
const std::vector< double > & | highCut | ||
) |
Definition at line 178 of file TAPD.cc.
References iAPDoPN1.
void TAPD::set2DAPDoPNCut | ( | const std::vector< double > & | lowCut, |
const std::vector< double > & | highCut | ||
) |
Definition at line 172 of file TAPD.cc.
References iAPDoPN.
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 147 of file TAPD.cc.
References iAPD.
Referenced by EcalLaserAnalyzer2::endJob(), and EcalLaserAnalyzer::endJob().
void TAPD::setAPDoPN0Cut | ( | double | mean, |
double | sig | ||
) |
Definition at line 149 of file TAPD.cc.
References iAPDoPN0.
Referenced by EcalLaserAnalyzer2::endJob(), and EcalLaserAnalyzer::endJob().
void TAPD::setAPDoPN1Cut | ( | double | mean, |
double | sig | ||
) |
Definition at line 150 of file TAPD.cc.
References iAPDoPN1.
Referenced by EcalLaserAnalyzer2::endJob(), and EcalLaserAnalyzer::endJob().
void TAPD::setAPDoPNCut | ( | double | mean, |
double | sig | ||
) |
Definition at line 148 of file TAPD.cc.
References iAPDoPN.
Referenced by EcalLaserAnalyzer2::endJob(), and EcalLaserAnalyzer::endJob().
void TAPD::setCut | ( | int | ivar, |
double | mean, | ||
double | sig | ||
) |
void TAPD::setCut | ( | int | ivar, |
const std::vector< int > & | cutVars, | ||
const std::vector< double > & | lowCut, | ||
const std::vector< double > & | highCut | ||
) |
void TAPD::setTimeCut | ( | double | mean, |
double | sig | ||
) |
Definition at line 151 of file TAPD.cc.
References iTime.
Referenced by EcalLaserAnalyzer2::endJob(), and EcalLaserAnalyzer::endJob().