#include <TMom.h>
Public Member Functions | |
void | addEntry (double val) |
void | addEntry (double val, const std::vector< double > &valcut) |
double | getM3 () |
double | getMax () |
double | getMean () |
double | getMean2 () |
double | getMean3 () |
double | getMin () |
int | getNevt () |
std::vector< double > | getPeak () |
double | getRMS () |
void | setCut (const std::vector< double > &, const std::vector< double > &) |
void | setCut (double, double) |
TMom () | |
TMom (const std::vector< double > &, const std::vector< double > &) | |
TMom (double, double) | |
~TMom () override | |
Public Attributes | |
int | _dimCut |
Private Member Functions | |
void | init (const std::vector< double > &, const std::vector< double > &) |
void | init (double, double) |
Private Attributes | |
std::vector< double > | _ampl |
std::vector< double > | _cutHigh |
std::vector< double > | _cutLow |
int | bing [101] |
double | M3 |
double | max |
double | mean |
double | mean2 |
double | mean3 |
double | min |
int | nevt |
double | peak |
double | rms |
double | sum |
double | sum2 |
double | sum3 |
TMom::TMom | ( | double | cutlow, |
double | cuthigh | ||
) |
TMom::TMom | ( | const std::vector< double > & | cutlow, |
const std::vector< double > & | cuthigh | ||
) |
void TMom::addEntry | ( | double | val | ) |
Definition at line 88 of file TMom.cc.
References heppy_batch::val.
Referenced by EcalABAnalyzer::analyze(), EcalLaserAnalyzer2::analyze(), EcalLaserAnalyzer::analyze(), and EcalTestPulseAnalyzer::endJob().
void TMom::addEntry | ( | double | val, |
const std::vector< double > & | valcut | ||
) |
Definition at line 94 of file TMom.cc.
References SiStripPI::max, min(), nevt, TagProbeFitTreeAnalyzer_cfi::passing, combinedConstraintHelpers::sum2(), and heppy_batch::val.
double TMom::getM3 | ( | ) |
Definition at line 156 of file TMom.cc.
References visualization-live-secondInstance_cfg::m, callgraph::m2, and nevt.
Referenced by EcalTestPulseAnalyzer::endJob().
double TMom::getMax | ( | ) |
Definition at line 170 of file TMom.cc.
References SiStripPI::max.
Referenced by EcalTestPulseAnalyzer::endJob().
double TMom::getMean | ( | ) |
Definition at line 121 of file TMom.cc.
References SiStripPI::mean, and nevt.
Referenced by EcalABAnalyzer::endJob(), EcalTestPulseAnalyzer::endJob(), EcalLaserAnalyzer2::endJob(), and EcalLaserAnalyzer::endJob().
double TMom::getMean2 | ( | ) |
double TMom::getMean3 | ( | ) |
double TMom::getMin | ( | ) |
Definition at line 169 of file TMom.cc.
References min().
Referenced by EcalTestPulseAnalyzer::endJob().
int TMom::getNevt | ( | ) |
Definition at line 144 of file TMom.cc.
References nevt.
Referenced by EcalTestPulseAnalyzer::endJob().
std::vector< double > TMom::getPeak | ( | ) |
Definition at line 172 of file TMom.cc.
References TMarkov::getPeakValue(), mps_fire::i, createfilelist::int, dqmdumpme::k, SiStripPI::max, min(), AlCaHLTBitMon_ParallelJobs::p, and TMarkov::peakFinder().
double TMom::getRMS | ( | ) |
Definition at line 146 of file TMom.cc.
References visualization-live-secondInstance_cfg::m, callgraph::m2, nevt, and SiStripPI::rms.
Referenced by EcalTestPulseAnalyzer::endJob().
|
private |
Definition at line 49 of file TMom.cc.
References cms::cuda::assert(), mps_fire::i, SiStripPI::max, SiStripPI::mean, min(), nevt, SiStripPI::rms, and combinedConstraintHelpers::sum2().
|
private |
Definition at line 27 of file TMom.cc.
References mps_fire::i, SiStripPI::max, SiStripPI::mean, min(), nevt, SiStripPI::rms, and combinedConstraintHelpers::sum2().
void TMom::setCut | ( | const std::vector< double > & | cutlow, |
const std::vector< double > & | cuthigh | ||
) |
void TMom::setCut | ( | double | cutlow, |
double | cuthigh | ||
) |