#include <Node.h>
Public Member Functions | |
void | calcOptimumSplit () |
void | filterEventsToDaughters () |
Node * | filterEventToDaughter (Event *e) |
double | getAvgError () |
double | getErrorReduction () |
std::vector< std::vector< Event * > > & | getEvents () |
double | getFitValue () |
Node * | getLeftDaughter () |
std::string | getName () |
int | getNumEvents () |
Node * | getParent () |
Node * | getRightDaughter () |
double | getSplitValue () |
int | getSplitVariable () |
double | getTotalError () |
void | listEvents () |
Node () | |
Node (std::string cName) | |
Node (Node &&)=default | |
void | setAvgError (double sAvgError) |
void | setErrorReduction (double sErrorReduction) |
void | setEvents (std::vector< std::vector< Event * > > &sEvents) |
void | setFitValue (double sFitValue) |
void | setLeftDaughter (Node *sLeftDaughter) |
void | setName (std::string sName) |
void | setNumEvents (int sNumEvents) |
void | setParent (Node *sParent) |
void | setRightDaughter (Node *sLeftDaughter) |
void | setSplitValue (double sSplitValue) |
void | setSplitVariable (int sSplitVar) |
void | setTotalError (double sTotalError) |
void | theMiracleOfChildBirth () |
~Node () | |
Private Member Functions | |
Node (const Node &)=delete | |
Node & | operator= (const Node &)=delete |
Private Attributes | |
double | avgError |
double | errorReduction |
std::vector< std::vector< Event * > > | events |
double | fitValue |
Node * | leftDaughter |
std::string | name |
int | numEvents |
Node * | parent |
Node * | rightDaughter |
double | splitValue |
int | splitVariable |
double | totalError |
Node::Node | ( | ) |
Definition at line 32 of file Node.cc.
References avgError, errorReduction, leftDaughter, name, parent, rightDaughter, splitValue, splitVariable, and totalError.
Referenced by theMiracleOfChildBirth().
Node::Node | ( | std::string | cName | ) |
Definition at line 45 of file Node.cc.
References avgError, errorReduction, leftDaughter, name, parent, rightDaughter, splitValue, splitVariable, and totalError.
Node::~Node | ( | ) |
|
default |
|
privatedelete |
void Node::calcOptimumSplit | ( | ) |
Definition at line 214 of file Node.cc.
References avgError, data, errorReduction, events, fitValue, mps_fire::i, numEvents, splitValue, splitVariable, SUM, edmPickEvents::target, totalError, and findQualityFiles::v.
Referenced by emtf::Tree::buildTree().
void Node::filterEventsToDaughters | ( | ) |
Definition at line 350 of file Node.cc.
References emtf::Event::data, MillePedeFileConverter_cfg::e, events, getEvents(), mps_fire::i, checklumidiff::l, leftDaughter, alignCSCRings::r, rightDaughter, setNumEvents(), splitValue, splitVariable, and pfDeepBoostedJetPreprocessParams_cfi::sv.
Referenced by emtf::Tree::buildTree(), and emtf::Tree::filterEventsRecursive().
Definition at line 395 of file Node.cc.
References emtf::Event::data, leftDaughter, rightDaughter, splitValue, splitVariable, and pfDeepBoostedJetPreprocessParams_cfi::sv.
Referenced by emtf::Tree::filterEventRecursive().
double Node::getAvgError | ( | ) |
double Node::getErrorReduction | ( | ) |
Definition at line 90 of file Node.cc.
References errorReduction.
Referenced by emtf::Tree::copyFrom(), and emtf::Tree::rankVariablesRecursive().
std::vector< std::vector< Event * > > & Node::getEvents | ( | ) |
Definition at line 199 of file Node.cc.
References events.
Referenced by emtf::Tree::filterEvents(), and filterEventsToDaughters().
double Node::getFitValue | ( | ) |
Definition at line 158 of file Node.cc.
References fitValue.
Referenced by emtf::Tree::addXMLAttributes(), emtf::Forest::appendCorrection(), emtf::Tree::copyFrom(), and L1TMuonEndCapForestESProducer::traverse().
Node * Node::getLeftDaughter | ( | ) |
Definition at line 102 of file Node.cc.
References leftDaughter.
Referenced by emtf::Tree::buildTree(), emtf::Tree::copyFrom(), emtf::Tree::filterEventsRecursive(), emtf::Tree::findLeafs(), emtf::Tree::getSplitValuesRecursive(), emtf::Tree::loadFromCondPayloadRecursive(), emtf::Tree::loadFromXMLRecursive(), emtf::Tree::rankVariablesRecursive(), emtf::Tree::saveToXMLRecursive(), and L1TMuonEndCapForestESProducer::traverse().
std::string Node::getName | ( | void | ) |
Definition at line 78 of file Node.cc.
References name.
Referenced by emtf::Tree::copyFrom(), plotting.Plot::draw(), and emtf::Tree::saveToXML().
int Node::getNumEvents | ( | ) |
Definition at line 192 of file Node.cc.
References numEvents.
Referenced by emtf::Tree::calcError(), and emtf::Tree::copyFrom().
Node * Node::getParent | ( | ) |
Node * Node::getRightDaughter | ( | ) |
Definition at line 112 of file Node.cc.
References rightDaughter.
Referenced by emtf::Tree::buildTree(), emtf::Tree::copyFrom(), emtf::Tree::filterEventsRecursive(), emtf::Tree::findLeafs(), emtf::Tree::getSplitValuesRecursive(), emtf::Tree::loadFromCondPayloadRecursive(), emtf::Tree::loadFromXMLRecursive(), emtf::Tree::rankVariablesRecursive(), emtf::Tree::saveToXMLRecursive(), and L1TMuonEndCapForestESProducer::traverse().
double Node::getSplitValue | ( | ) |
Definition at line 136 of file Node.cc.
References splitValue.
Referenced by emtf::Tree::addXMLAttributes(), emtf::Tree::copyFrom(), emtf::Tree::getSplitValuesRecursive(), and L1TMuonEndCapForestESProducer::traverse().
int Node::getSplitVariable | ( | ) |
Definition at line 146 of file Node.cc.
References splitVariable.
Referenced by emtf::Tree::addXMLAttributes(), emtf::Tree::copyFrom(), emtf::Tree::getSplitValuesRecursive(), emtf::Tree::rankVariablesRecursive(), and L1TMuonEndCapForestESProducer::traverse().
double Node::getTotalError | ( | ) |
Definition at line 170 of file Node.cc.
References totalError.
Referenced by emtf::Tree::copyFrom().
void Node::listEvents | ( | ) |
void Node::setAvgError | ( | double | sAvgError | ) |
void Node::setErrorReduction | ( | double | sErrorReduction | ) |
void Node::setEvents | ( | std::vector< std::vector< Event * > > & | sEvents | ) |
Definition at line 204 of file Node.cc.
References events, and numEvents.
Referenced by emtf::Tree::Tree().
void Node::setFitValue | ( | double | sFitValue | ) |
Definition at line 153 of file Node.cc.
References fitValue.
Referenced by emtf::Tree::loadFromCondPayloadRecursive(), and emtf::Tree::loadFromXMLRecursive().
void Node::setLeftDaughter | ( | Node * | sLeftDaughter | ) |
void Node::setName | ( | std::string | sName | ) |
void Node::setNumEvents | ( | int | sNumEvents | ) |
Definition at line 187 of file Node.cc.
References numEvents.
Referenced by filterEventsToDaughters().
void Node::setParent | ( | Node * | sParent | ) |
Definition at line 119 of file Node.cc.
References parent.
Referenced by lumiQTWidget.LumiCanvas::__init__(), emtf::Tree::copyFrom(), and theMiracleOfChildBirth().
void Node::setRightDaughter | ( | Node * | sLeftDaughter | ) |
void Node::setSplitValue | ( | double | sSplitValue | ) |
Definition at line 131 of file Node.cc.
References splitValue.
Referenced by emtf::Tree::loadFromCondPayloadRecursive(), and emtf::Tree::loadFromXMLRecursive().
void Node::setSplitVariable | ( | int | sSplitVar | ) |
Definition at line 141 of file Node.cc.
References splitVariable.
Referenced by emtf::Tree::loadFromCondPayloadRecursive(), and emtf::Tree::loadFromXMLRecursive().
void Node::setTotalError | ( | double | sTotalError | ) |
void Node::theMiracleOfChildBirth | ( | ) |
Definition at line 335 of file Node.cc.
References leftDaughter, name, Node(), rightDaughter, and setParent().
Referenced by emtf::Tree::buildTree(), emtf::Tree::loadFromCondPayloadRecursive(), and emtf::Tree::loadFromXMLRecursive().
|
private |
Definition at line 78 of file Node.h.
Referenced by calcOptimumSplit(), getAvgError(), Node(), and setAvgError().
|
private |
Definition at line 76 of file Node.h.
Referenced by calcOptimumSplit(), getErrorReduction(), Node(), and setErrorReduction().
|
private |
Definition at line 83 of file Node.h.
Referenced by eventsfwlite.Events::__getattr__(), calcOptimumSplit(), filterEventsToDaughters(), getEvents(), listEvents(), looper.Looper::loop(), looper.Looper::process(), and setEvents().
|
private |
Definition at line 80 of file Node.h.
Referenced by calcOptimumSplit(), getFitValue(), and setFitValue().
|
private |
Definition at line 69 of file Node.h.
Referenced by filterEventsToDaughters(), filterEventToDaughter(), getLeftDaughter(), Node(), setLeftDaughter(), theMiracleOfChildBirth(), and ~Node().
|
private |
Definition at line 67 of file Node.h.
Referenced by ElectronMVAID.ElectronMVAID::__call__(), dirstructure.Directory::__create_pie_image(), DisplayManager.DisplayManager::__del__(), dqm_interfaces.DirID::__eq__(), dirstructure.Directory::__get_full_path(), dirstructure.Comparison::__get_img_name(), dataset.Dataset::__getDataType(), dataset.Dataset::__getFileInfoList(), dirstructure.Comparison::__make_image(), core.autovars.NTupleVariable::__repr__(), core.autovars.NTupleObjectType::__repr__(), core.autovars.NTupleObject::__repr__(), core.autovars.NTupleCollection::__repr__(), dirstructure.Directory::__repr__(), dqm_interfaces.DirID::__repr__(), dirstructure.Comparison::__repr__(), config.Service::__setattr__(), config.CFG::__str__(), counter.Counter::__str__(), average.Average::__str__(), core.autovars.NTupleObjectType::addSubObjects(), core.autovars.NTupleObjectType::addVariables(), core.autovars.NTupleObjectType::allVars(), dirstructure.Directory::calcStats(), validation.Sample::digest(), python.rootplot.utilities.Hist::divide(), python.rootplot.utilities.Hist::divide_wilson(), DisplayManager.DisplayManager::Draw(), core.autovars.NTupleVariable::fillBranch(), core.autovars.NTupleObject::fillBranches(), core.autovars.NTupleCollection::fillBranchesScalar(), core.autovars.NTupleCollection::fillBranchesVector(), core.autovars.NTupleCollection::get_cpp_declaration(), core.autovars.NTupleCollection::get_cpp_wrapper_class(), core.autovars.NTupleCollection::get_py_wrapper_class(), utils.StatisticalTest::get_status(), getName(), production_tasks.Task::getname(), dataset.CMSDataset::getPrimaryDatasetEntries(), dataset.PrivateDataset::getPrimaryDatasetEntries(), VIDSelectorBase.VIDSelectorBase::initialize(), core.autovars.NTupleVariable::makeBranch(), core.autovars.NTupleObject::makeBranches(), core.autovars.NTupleCollection::makeBranchesScalar(), core.autovars.NTupleCollection::makeBranchesVector(), Node(), dirstructure.Directory::print_report(), dataset.BaseDataset::printInfo(), dataset.Dataset::printInfo(), production_tasks.MonitorJobs::run(), setName(), python.rootplot.utilities.Hist::TGraph(), python.rootplot.utilities.Hist::TH1F(), theMiracleOfChildBirth(), Vispa.Views.PropertyView.Property::valueChanged(), counter.Counter::write(), and average.Average::write().
|
private |
Definition at line 81 of file Node.h.
Referenced by calcOptimumSplit(), getNumEvents(), setEvents(), and setNumEvents().
|
private |
Definition at line 71 of file Node.h.
Referenced by Vispa.Gui.ConnectableWidget.ConnectableWidget::addMenuEntry(), Vispa.Views.LineDecayView.LineDecayContainer::applyFilter(), Vispa.Views.BoxDecayView.BoxDecayContainer::arrangeUsingRelations(), Vispa.Views.BoxDecayView.BoxDecayContainer::autolayoutAlgorithm(), Vispa.Gui.ZoomableScrollableWidgetOwner.ZoomableScrollableWidgetOwner::autosizeScrollArea(), Vispa.Views.BoxDecayView.BoxDecayContainer::autosizeScrollArea(), Vispa.Gui.PortWidget.PortWidget::connectionPoint(), Vispa.Main.StartupScreen.StartupScreen::createDescriptionWidget(), Vispa.Views.BoxDecayView.BoxDecayContainer::dataAccessor(), Vispa.Views.LineDecayView.LineDecayContainer::dataAccessor(), Vispa.Views.LineDecayView.DecayLine::dataAccessor(), Vispa.Views.LineDecayView.LineDecayContainer::delete(), Vispa.Views.LineDecayView.DecayNode::delete(), Vispa.Views.LineDecayView.DecayLine::delete(), Vispa.Gui.VispaWidget.VispaWidget::delete(), Vispa.Gui.VispaWidget.VispaWidget::dragWidget(), Vispa.Share.ImageExporter.ImageExporter::exportImageDialog(), Vispa.Views.LineDecayView.DecayLine::extendedSize(), edmIntegrityCheck.PublishToFileSystem::get(), getParent(), Vispa.Gui.VispaWidget.VispaWidget::keyPressEvent(), Vispa.Gui.MenuWidget.MenuWidget::leaveEvent(), Vispa.Gui.ConnectableWidget.ConnectableWidget::leaveEvent(), Vispa.Gui.PortWidget.PortWidget::moduleParent(), Vispa.Gui.WidgetContainer.WidgetContainer::mouseDoubleClickEvent(), Vispa.Gui.VispaWidget.VispaWidget::mouseDoubleClickEvent(), Vispa.Gui.PortConnection.PointToPointConnection::mousePressEvent(), Vispa.Gui.VispaWidget.VispaWidget::mousePressEvent(), Vispa.Views.LineDecayView.ParticleWidget::mousePressEvent(), Vispa.Views.LineDecayView.DecayNode::move(), Node(), Vispa.Views.LineDecayView.LineDecayContainer::noDecorationsMode(), Vispa.Views.LineDecayView.LineDecayContainer::operationId(), Vispa.Views.LineDecayView.DecayLine::paint(), Vispa.Gui.VispaWidget.VispaWidget::paintEvent(), Vispa.Gui.ConnectableWidget.ConnectableWidget::positionizeMenuWidget(), edmIntegrityCheck.PublishToFileSystem::publish(), Vispa.Views.LineDecayView.DecayLine::qtLineStyle(), Vispa.Views.WidgetView.WidgetView::restoreSelection(), Vispa.Views.WidgetView.WidgetView::select(), Vispa.Gui.PortConnection.PointToPointConnection::select(), Vispa.Gui.VispaWidget.VispaWidget::select(), Vispa.Views.LineDecayView.LineDecayContainer::select(), setParent(), Vispa.Views.LineDecayView.LineDecayContainer::sizeHint(), Vispa.Views.LineDecayView.LineDecayContainer::tabController(), Vispa.Views.BoxDecayView.BoxDecayContainer::toggleCollapsed(), Vispa.Views.LineDecayView.DecayNode::unite(), Vispa.Views.PropertyView.PropertyView::valueChanged(), Vispa.Views.BoxDecayView.BoxDecayContainer::widgetByObject(), Vispa.Gui.VispaWidgetOwner.VispaWidgetOwner::widgetDoubleClicked(), and Vispa.Gui.VispaWidgetOwner.VispaWidgetOwner::widgetDragged().
|
private |
Definition at line 70 of file Node.h.
Referenced by filterEventsToDaughters(), filterEventToDaughter(), getRightDaughter(), Node(), setRightDaughter(), theMiracleOfChildBirth(), and ~Node().
|
private |
Definition at line 73 of file Node.h.
Referenced by calcOptimumSplit(), filterEventsToDaughters(), filterEventToDaughter(), getSplitValue(), Node(), and setSplitValue().
|
private |
Definition at line 74 of file Node.h.
Referenced by calcOptimumSplit(), filterEventsToDaughters(), filterEventToDaughter(), getSplitVariable(), Node(), and setSplitVariable().
|
private |
Definition at line 77 of file Node.h.
Referenced by calcOptimumSplit(), getTotalError(), Node(), and setTotalError().