#include <SCRegressionCalculator.h>
Public Member Functions | |
float | getCorrection (const reco::SuperCluster &) const |
std::pair< float, float > | getCorrectionWithErrors (const reco::SuperCluster &) const |
SCRegressionCalculator (const edm::ParameterSet &) | |
void | update (const edm::EventSetup &) |
std::unique_ptr< VarCalc > & | varCalc () |
Private Attributes | |
edm::ESHandle< GBRForest > | eb_corr |
std::string | eb_corr_name |
edm::ESHandle< GBRForest > | eb_err |
std::string | eb_err_name |
edm::ESHandle< GBRForest > | ee_corr |
std::string | ee_corr_name |
edm::ESHandle< GBRForest > | ee_err |
std::string | ee_err_name |
const GBRWrapperRcd * | gbr_record |
std::unique_ptr< VarCalc > | var_calc |
Definition at line 21 of file SCRegressionCalculator.h.
SCRegressionCalculator< VarCalc >::SCRegressionCalculator | ( | const edm::ParameterSet & | conf | ) |
Definition at line 41 of file SCRegressionCalculator.h.
References SCRegressionCalculator< VarCalc >::eb_corr_name, SCRegressionCalculator< VarCalc >::eb_err_name, SCRegressionCalculator< VarCalc >::ee_corr_name, SCRegressionCalculator< VarCalc >::ee_err_name, edm::ParameterSet::existsAs(), edm::ParameterSet::getParameter(), AlCaHLTBitMon_QueryRunRegistry::string, SCRegressionCalculator< VarCalc >::update(), and SCRegressionCalculator< VarCalc >::var_calc.
float SCRegressionCalculator< VarCalc >::getCorrection | ( | const reco::SuperCluster & | sc | ) | const |
Definition at line 74 of file SCRegressionCalculator.h.
References SCRegressionCalculator< VarCalc >::eb_corr, EcalBarrel, EcalEndcap, SCRegressionCalculator< VarCalc >::ee_corr, SCRegressionCalculator< VarCalc >::getCorrectionWithErrors(), GBRForest::GetResponse(), haddnano::inputs, reco::SuperCluster::seed(), and SCRegressionCalculator< VarCalc >::var_calc.
Referenced by SCRegressionCalculator< VarCalc >::update(), and SCRegressionCalculator< VarCalc >::varCalc().
std::pair< float, float > SCRegressionCalculator< VarCalc >::getCorrectionWithErrors | ( | const reco::SuperCluster & | sc | ) | const |
Definition at line 90 of file SCRegressionCalculator.h.
References SCRegressionCalculator< VarCalc >::eb_corr, SCRegressionCalculator< VarCalc >::eb_err, EcalBarrel, EcalEndcap, SCRegressionCalculator< VarCalc >::ee_corr, SCRegressionCalculator< VarCalc >::ee_err, f, GBRForest::GetResponse(), haddnano::inputs, reco::SuperCluster::seed(), and SCRegressionCalculator< VarCalc >::var_calc.
Referenced by SCRegressionCalculator< VarCalc >::getCorrection(), and SCRegressionCalculator< VarCalc >::varCalc().
void SCRegressionCalculator< VarCalc >::update | ( | const edm::EventSetup & | es | ) |
Definition at line 55 of file SCRegressionCalculator.h.
References edm::eventsetup::EventSetupRecord::cacheIdentifier(), SCRegressionCalculator< VarCalc >::eb_corr, SCRegressionCalculator< VarCalc >::eb_corr_name, SCRegressionCalculator< VarCalc >::eb_err, SCRegressionCalculator< VarCalc >::eb_err_name, SCRegressionCalculator< VarCalc >::ee_corr, SCRegressionCalculator< VarCalc >::ee_corr_name, SCRegressionCalculator< VarCalc >::ee_err, SCRegressionCalculator< VarCalc >::ee_err_name, SCRegressionCalculator< VarCalc >::gbr_record, edm::EventSetup::get(), edm::eventsetup::EventSetupRecordImplementation< T >::get(), SCRegressionCalculator< VarCalc >::getCorrection(), and SCRegressionCalculator< VarCalc >::var_calc.
Referenced by progressbar.ProgressBar::__next__(), 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(), progressbar.ProgressBar::finish(), 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(), SCRegressionCalculator< VarCalc >::SCRegressionCalculator(), 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().
|
inline |
Definition at line 26 of file SCRegressionCalculator.h.
References SCRegressionCalculator< VarCalc >::getCorrection(), SCRegressionCalculator< VarCalc >::getCorrectionWithErrors(), and SCRegressionCalculator< VarCalc >::var_calc.
|
private |
Definition at line 35 of file SCRegressionCalculator.h.
Referenced by SCRegressionCalculator< VarCalc >::getCorrection(), SCRegressionCalculator< VarCalc >::getCorrectionWithErrors(), and SCRegressionCalculator< VarCalc >::update().
|
private |
Definition at line 33 of file SCRegressionCalculator.h.
Referenced by SCRegressionCalculator< VarCalc >::SCRegressionCalculator(), and SCRegressionCalculator< VarCalc >::update().
|
private |
Definition at line 35 of file SCRegressionCalculator.h.
Referenced by SCRegressionCalculator< VarCalc >::getCorrectionWithErrors(), and SCRegressionCalculator< VarCalc >::update().
|
private |
Definition at line 33 of file SCRegressionCalculator.h.
Referenced by SCRegressionCalculator< VarCalc >::SCRegressionCalculator(), and SCRegressionCalculator< VarCalc >::update().
|
private |
Definition at line 35 of file SCRegressionCalculator.h.
Referenced by SCRegressionCalculator< VarCalc >::getCorrection(), SCRegressionCalculator< VarCalc >::getCorrectionWithErrors(), and SCRegressionCalculator< VarCalc >::update().
|
private |
Definition at line 33 of file SCRegressionCalculator.h.
Referenced by SCRegressionCalculator< VarCalc >::SCRegressionCalculator(), and SCRegressionCalculator< VarCalc >::update().
|
private |
Definition at line 35 of file SCRegressionCalculator.h.
Referenced by SCRegressionCalculator< VarCalc >::getCorrectionWithErrors(), and SCRegressionCalculator< VarCalc >::update().
|
private |
Definition at line 33 of file SCRegressionCalculator.h.
Referenced by SCRegressionCalculator< VarCalc >::SCRegressionCalculator(), and SCRegressionCalculator< VarCalc >::update().
|
private |
Definition at line 34 of file SCRegressionCalculator.h.
Referenced by SCRegressionCalculator< VarCalc >::update().
|
private |
Definition at line 36 of file SCRegressionCalculator.h.
Referenced by SCRegressionCalculator< VarCalc >::getCorrection(), SCRegressionCalculator< VarCalc >::getCorrectionWithErrors(), SCRegressionCalculator< VarCalc >::SCRegressionCalculator(), SCRegressionCalculator< VarCalc >::update(), and SCRegressionCalculator< VarCalc >::varCalc().