#include <Node.h>
Public Member Functions | |
void | calcOptimumSplit () |
void | filterEventsToDaughters () |
Node * | filterEventToDaughter (emtf::Event *e) |
Double_t | getAvgError () |
Double_t | getErrorReduction () |
std::vector< std::vector< emtf::Event * > > & | getEvents () |
Double_t | getFitValue () |
Node * | getLeftDaughter () |
std::string | getName () |
Int_t | getNumEvents () |
Node * | getParent () |
Node * | getRightDaughter () |
Double_t | getSplitValue () |
Int_t | getSplitVariable () |
Double_t | getTotalError () |
void | listEvents () |
Node () | |
Node (std::string cName) | |
void | setAvgError (Double_t sAvgError) |
void | setErrorReduction (Double_t sErrorReduction) |
void | setEvents (std::vector< std::vector< emtf::Event * > > &sEvents) |
void | setFitValue (Double_t sFitValue) |
void | setLeftDaughter (Node *sLeftDaughter) |
void | setName (std::string sName) |
void | setNumEvents (Int_t sNumEvents) |
void | setParent (Node *sParent) |
void | setRightDaughter (Node *sLeftDaughter) |
void | setSplitValue (Double_t sSplitValue) |
void | setSplitVariable (Int_t sSplitVar) |
void | setTotalError (Double_t sTotalError) |
void | theMiracleOfChildBirth () |
~Node () | |
Private Attributes | |
Double_t | avgError |
Double_t | errorReduction |
std::vector< std::vector< emtf::Event * > > | events |
Double_t | fitValue |
Node * | leftDaughter |
std::string | name |
Int_t | numEvents |
Node * | parent |
Node * | rightDaughter |
Double_t | splitValue |
Int_t | splitVariable |
Double_t | totalError |
Node::Node | ( | ) |
Definition at line 31 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 44 of file Node.cc.
References avgError, errorReduction, leftDaughter, name, parent, rightDaughter, splitValue, splitVariable, and totalError.
Node::~Node | ( | ) |
void Node::calcOptimumSplit | ( | ) |
Definition at line 213 of file Node.cc.
References avgError, data, errorReduction, events, fitValue, i, numEvents, splitValue, splitVariable, SUM, edmPickEvents::target, totalError, and findQualityFiles::v.
Referenced by emtf::Tree::buildTree().
void Node::filterEventsToDaughters | ( | ) |
Definition at line 349 of file Node.cc.
References emtf::Event::data, MillePedeFileConverter_cfg::e, events, getEvents(), i, j, checklumidiff::l, leftDaughter, alignCSCRings::r, rightDaughter, setNumEvents(), splitValue, and splitVariable.
Referenced by emtf::Tree::buildTree(), and emtf::Tree::filterEventsRecursive().
Node * Node::filterEventToDaughter | ( | emtf::Event * | e | ) |
Definition at line 394 of file Node.cc.
References emtf::Event::data, leftDaughter, rightDaughter, splitValue, and splitVariable.
Referenced by emtf::Tree::filterEventRecursive().
Double_t Node::getAvgError | ( | ) |
Double_t Node::getErrorReduction | ( | ) |
Definition at line 89 of file Node.cc.
References errorReduction.
Referenced by emtf::Tree::rankVariablesRecursive().
std::vector< std::vector< Event * > > & Node::getEvents | ( | ) |
Definition at line 198 of file Node.cc.
References events.
Referenced by emtf::Tree::filterEvents(), and filterEventsToDaughters().
Double_t Node::getFitValue | ( | ) |
Definition at line 157 of file Node.cc.
References fitValue.
Referenced by emtf::Tree::addXMLAttributes(), and L1TForest::appendCorrection().
Node * Node::getLeftDaughter | ( | ) |
Definition at line 101 of file Node.cc.
References leftDaughter.
Referenced by emtf::Tree::buildTree(), emtf::Tree::filterEventsRecursive(), emtf::Tree::getSplitValuesRecursive(), emtf::Tree::loadFromXMLRecursive(), emtf::Tree::rankVariablesRecursive(), and emtf::Tree::saveToXMLRecursive().
std::string Node::getName | ( | void | ) |
Definition at line 77 of file Node.cc.
References name.
Referenced by plotting.Plot::draw(), and emtf::Tree::saveToXML().
Int_t Node::getNumEvents | ( | ) |
Definition at line 191 of file Node.cc.
References numEvents.
Referenced by emtf::Tree::calcError().
Node * Node::getParent | ( | ) |
Node * Node::getRightDaughter | ( | ) |
Definition at line 111 of file Node.cc.
References rightDaughter.
Referenced by emtf::Tree::buildTree(), emtf::Tree::filterEventsRecursive(), emtf::Tree::getSplitValuesRecursive(), emtf::Tree::loadFromXMLRecursive(), emtf::Tree::rankVariablesRecursive(), and emtf::Tree::saveToXMLRecursive().
Double_t Node::getSplitValue | ( | ) |
Definition at line 135 of file Node.cc.
References splitValue.
Referenced by emtf::Tree::addXMLAttributes(), and emtf::Tree::getSplitValuesRecursive().
Int_t Node::getSplitVariable | ( | ) |
Definition at line 145 of file Node.cc.
References splitVariable.
Referenced by emtf::Tree::addXMLAttributes(), emtf::Tree::getSplitValuesRecursive(), and emtf::Tree::rankVariablesRecursive().
Double_t Node::getTotalError | ( | ) |
Definition at line 169 of file Node.cc.
References totalError.
void Node::listEvents | ( | ) |
void Node::setAvgError | ( | Double_t | sAvgError | ) |
void Node::setErrorReduction | ( | Double_t | sErrorReduction | ) |
void Node::setEvents | ( | std::vector< std::vector< emtf::Event * > > & | sEvents | ) |
Definition at line 203 of file Node.cc.
References events, and numEvents.
Referenced by emtf::Tree::Tree().
void Node::setFitValue | ( | Double_t | sFitValue | ) |
Definition at line 152 of file Node.cc.
References fitValue.
Referenced by emtf::Tree::loadFromXMLRecursive().
void Node::setLeftDaughter | ( | Node * | sLeftDaughter | ) |
void Node::setName | ( | std::string | sName | ) |
void Node::setNumEvents | ( | Int_t | sNumEvents | ) |
Definition at line 186 of file Node.cc.
References numEvents.
Referenced by filterEventsToDaughters().
void Node::setParent | ( | Node * | sParent | ) |
Definition at line 118 of file Node.cc.
References parent.
Referenced by lumiQTWidget.LumiCanvas::__init__(), and theMiracleOfChildBirth().
void Node::setRightDaughter | ( | Node * | sLeftDaughter | ) |
void Node::setSplitValue | ( | Double_t | sSplitValue | ) |
Definition at line 130 of file Node.cc.
References splitValue.
Referenced by emtf::Tree::loadFromXMLRecursive().
void Node::setSplitVariable | ( | Int_t | sSplitVar | ) |
Definition at line 140 of file Node.cc.
References splitVariable.
Referenced by emtf::Tree::loadFromXMLRecursive().
void Node::setTotalError | ( | Double_t | sTotalError | ) |
void Node::theMiracleOfChildBirth | ( | ) |
Definition at line 334 of file Node.cc.
References leftDaughter, name, Node(), rightDaughter, and setParent().
Referenced by emtf::Tree::buildTree(), and emtf::Tree::loadFromXMLRecursive().
|
private |
Definition at line 72 of file Node.h.
Referenced by calcOptimumSplit(), getAvgError(), Node(), and setAvgError().
|
private |
Definition at line 70 of file Node.h.
Referenced by calcOptimumSplit(), getErrorReduction(), Node(), and setErrorReduction().
|
private |
Definition at line 77 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 74 of file Node.h.
Referenced by calcOptimumSplit(), getFitValue(), and setFitValue().
|
private |
Definition at line 63 of file Node.h.
Referenced by filterEventsToDaughters(), filterEventToDaughter(), getLeftDaughter(), Node(), setLeftDaughter(), theMiracleOfChildBirth(), and ~Node().
|
private |
Definition at line 61 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 75 of file Node.h.
Referenced by calcOptimumSplit(), getNumEvents(), setEvents(), and setNumEvents().
|
private |
Definition at line 65 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(), argparse.HelpFormatter._Section::format_help(), python.rootplot.argparse.HelpFormatter._Section::format_help(), 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 64 of file Node.h.
Referenced by filterEventsToDaughters(), filterEventToDaughter(), getRightDaughter(), Node(), setRightDaughter(), theMiracleOfChildBirth(), and ~Node().
|
private |
Definition at line 67 of file Node.h.
Referenced by calcOptimumSplit(), filterEventsToDaughters(), filterEventToDaughter(), getSplitValue(), Node(), and setSplitValue().
|
private |
Definition at line 68 of file Node.h.
Referenced by calcOptimumSplit(), filterEventsToDaughters(), filterEventToDaughter(), getSplitVariable(), Node(), and setSplitVariable().
|
private |
Definition at line 71 of file Node.h.
Referenced by calcOptimumSplit(), getTotalError(), Node(), and setTotalError().