#include <PTStatistics.h>
Public Member Functions | |
long double | eff (int ptCut) |
PTStatistics () | |
long int | sum (const int &ptCut) const |
long int | sum () const |
long double | sumR () const |
long double | sumR (const int &ptCut) const |
std::string | toString () |
void | update (PTStatistics &otherPtStats) |
Static Public Attributes | |
static const std::vector< long double > | m_rates = initializeRates() |
Definition at line 12 of file PTStatistics.h.
PTStatistics::PTStatistics | ( | ) |
Definition at line 34 of file PTStatistics.cc.
References assign(), and RPCpg::ptBins_s.
long double PTStatistics::eff | ( | int | ptCut | ) |
long int PTStatistics::sum | ( | const int & | ptCut | ) | const |
long int PTStatistics::sum | ( | ) | const |
long double PTStatistics::sumR | ( | ) | const |
Definition at line 100 of file PTStatistics.cc.
References mps_fire::i, m_rates, and findQualityFiles::size.
long double PTStatistics::sumR | ( | const int & | ptCut | ) | const |
Definition at line 91 of file PTStatistics.cc.
References mps_fire::i, m_rates, and findQualityFiles::size.
std::string PTStatistics::toString | ( | ) |
void PTStatistics::update | ( | PTStatistics & | otherPtStats | ) |
Definition at line 39 of file PTStatistics.cc.
References mps_fire::i, and findQualityFiles::size.
Referenced by MatrixUtil.Matrix::__setitem__(), MatrixUtil.Steps::__setitem__(), Vispa.Gui.VispaWidget.VispaWidget::autosize(), Vispa.Views.LineDecayView.LineDecayContainer::createObject(), Vispa.Views.LineDecayView.LineDecayContainer::deselectAllObjects(), Vispa.Gui.VispaWidgetOwner.VispaWidgetOwner::deselectAllWidgets(), Vispa.Gui.VispaWidget.VispaWidget::enableAutosizing(), Vispa.Gui.MenuWidget.MenuWidget::leaveEvent(), Vispa.Gui.VispaWidgetOwner.VispaWidgetOwner::mouseMoveEvent(), Vispa.Gui.MenuWidget.MenuWidget::mouseMoveEvent(), Vispa.Views.LineDecayView.LineDecayContainer::mouseMoveEvent(), Vispa.Gui.VispaWidgetOwner.VispaWidgetOwner::mouseReleaseEvent(), Vispa.Views.LineDecayView.LineDecayContainer::objectMoved(), MatrixUtil.Steps::overwrite(), Vispa.Views.LineDecayView.LineDecayContainer::removeObject(), Vispa.Gui.ConnectableWidget.ConnectableWidget::removePorts(), Vispa.Gui.FindDialog.FindDialog::reset(), Vispa.Gui.PortConnection.PointToPointConnection::select(), Vispa.Gui.VispaWidget.VispaWidget::select(), Vispa.Views.LineDecayView.LineDecayContainer::select(), Vispa.Gui.VispaWidget.VispaWidget::setText(), Vispa.Gui.VispaWidget.VispaWidget::setTitle(), Vispa.Gui.ZoomableWidget.ZoomableWidget::setZoom(), Vispa.Views.LineDecayView.LineDecayContainer::setZoom(), and Vispa.Gui.PortConnection.PointToPointConnection::updateConnection().
|
static |
Definition at line 25 of file PTStatistics.h.
Referenced by initializeRates(), and sumR().