#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 (Node &&)=default | |
Node (std::string cName) | |
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 44 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 143 of file Node.cc.
References avgError, data, errorReduction, events, fitValue, mps_fire::i, numEvents, splitValue, splitVariable, SUM, filterCSVwithJSON::target, totalError, and findQualityFiles::v.
Referenced by emtf::Tree::buildTree().
void Node::filterEventsToDaughters | ( | ) |
Definition at line 267 of file Node.cc.
References MillePedeFileConverter_cfg::e, events, getEvents(), mps_fire::i, dqmiolumiharvest::j, cmsLHEtoEOSManager::l, leftDaughter, alignCSCRings::r, rightDaughter, setNumEvents(), splitValue, splitVariable, and pfDeepBoostedJetPreprocessParams_cfi::sv.
Referenced by emtf::Tree::buildTree(), and emtf::Tree::filterEventsRecursive().
Definition at line 314 of file Node.cc.
References MillePedeFileConverter_cfg::e, leftDaughter, rightDaughter, splitValue, splitVariable, and pfDeepBoostedJetPreprocessParams_cfi::sv.
Referenced by emtf::Tree::filterEventRecursive().
double Node::getAvgError | ( | ) |
double Node::getErrorReduction | ( | ) |
Definition at line 80 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 132 of file Node.cc.
References events.
Referenced by emtf::Tree::filterEvents(), and filterEventsToDaughters().
double Node::getFitValue | ( | ) |
Definition at line 112 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 86 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 74 of file Node.cc.
References name.
Referenced by emtf::Tree::copyFrom(), plotting.Plot::draw(), and emtf::Tree::saveToXML().
int Node::getNumEvents | ( | ) |
Definition at line 128 of file Node.cc.
References numEvents.
Referenced by emtf::Tree::calcError(), and emtf::Tree::copyFrom().
Node * Node::getParent | ( | ) |
Node * Node::getRightDaughter | ( | ) |
Definition at line 90 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 102 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 106 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 118 of file Node.cc.
References totalError.
Referenced by emtf::Tree::copyFrom().
void Node::listEvents | ( | ) |
Definition at line 239 of file Node.cc.
References gather_cfg::cout, events, mps_fire::i, and dqmiolumiharvest::j.
void Node::setAvgError | ( | double | sAvgError | ) |
void Node::setErrorReduction | ( | double | sErrorReduction | ) |
void Node::setEvents | ( | std::vector< std::vector< Event * > > & | sEvents | ) |
void Node::setFitValue | ( | double | sFitValue | ) |
Definition at line 110 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 126 of file Node.cc.
References numEvents.
Referenced by filterEventsToDaughters().
void Node::setParent | ( | Node * | sParent | ) |
Definition at line 94 of file Node.cc.
References parent.
Referenced by emtf::Tree::copyFrom(), and theMiracleOfChildBirth().
void Node::setRightDaughter | ( | Node * | sLeftDaughter | ) |
void Node::setSplitValue | ( | double | sSplitValue | ) |
Definition at line 100 of file Node.cc.
References splitValue.
Referenced by emtf::Tree::loadFromCondPayloadRecursive(), and emtf::Tree::loadFromXMLRecursive().
void Node::setSplitVariable | ( | int | sSplitVar | ) |
Definition at line 104 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 253 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 77 of file Node.h.
Referenced by calcOptimumSplit(), getAvgError(), Node(), and setAvgError().
|
private |
Definition at line 75 of file Node.h.
Referenced by calcOptimumSplit(), getErrorReduction(), Node(), and setErrorReduction().
|
private |
Definition at line 82 of file Node.h.
Referenced by eventsfwlite.Events::__getattr__(), eventsfwlite.Events::__getitem__(), eventsfwlite.Events::__len__(), calcOptimumSplit(), filterEventsToDaughters(), getEvents(), listEvents(), looper.Looper::loop(), looper.Looper::process(), and setEvents().
|
private |
Definition at line 79 of file Node.h.
Referenced by calcOptimumSplit(), getFitValue(), and setFitValue().
|
private |
Definition at line 68 of file Node.h.
Referenced by filterEventsToDaughters(), filterEventToDaughter(), getLeftDaughter(), Node(), setLeftDaughter(), theMiracleOfChildBirth(), and ~Node().
|
private |
Definition at line 66 of file Node.h.
Referenced by ElectronMVAID.ElectronMVAID::__call__(), FWLite.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__(), FWLite.WorkingPoints::_reformat_cut_definitions(), core.autovars.NTupleObjectType::addSubObjects(), core.autovars.NTupleObjectType::addVariables(), core.autovars.NTupleObjectType::allVars(), dataset.CMSDataset::buildListOfFiles(), dataset.LocalDataset::buildListOfFiles(), dataset.CMSDataset::buildListOfFilesDBS(), 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(), counter.Counter::write(), and average.Average::write().
|
private |
Definition at line 80 of file Node.h.
Referenced by calcOptimumSplit(), getNumEvents(), setEvents(), and setNumEvents().
|
private |
Definition at line 70 of file Node.h.
Referenced by edmIntegrityCheck.PublishToFileSystem::get(), getParent(), Node(), edmIntegrityCheck.PublishToFileSystem::publish(), and setParent().
|
private |
Definition at line 69 of file Node.h.
Referenced by filterEventsToDaughters(), filterEventToDaughter(), getRightDaughter(), Node(), setRightDaughter(), theMiracleOfChildBirth(), and ~Node().
|
private |
Definition at line 72 of file Node.h.
Referenced by calcOptimumSplit(), filterEventsToDaughters(), filterEventToDaughter(), getSplitValue(), Node(), and setSplitValue().
|
private |
Definition at line 73 of file Node.h.
Referenced by calcOptimumSplit(), filterEventsToDaughters(), filterEventToDaughter(), getSplitVariable(), Node(), and setSplitVariable().
|
private |
Definition at line 76 of file Node.h.
Referenced by calcOptimumSplit(), getTotalError(), Node(), and setTotalError().