CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Private Attributes
emtf::Node Class Reference

#include <Node.h>

Public Member Functions

void calcOptimumSplit ()
 
void filterEventsToDaughters ()
 
NodefilterEventToDaughter (emtf::Event *e)
 
Double_t getAvgError ()
 
Double_t getErrorReduction ()
 
std::vector< std::vector
< emtf::Event * > > & 
getEvents ()
 
Double_t getFitValue ()
 
NodegetLeftDaughter ()
 
std::string getName ()
 
Int_t getNumEvents ()
 
NodegetParent ()
 
NodegetRightDaughter ()
 
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
 
NodeleftDaughter
 
std::string name
 
Int_t numEvents
 
Nodeparent
 
NoderightDaughter
 
Double_t splitValue
 
Int_t splitVariable
 
Double_t totalError
 

Detailed Description

Definition at line 11 of file Node.h.

Constructor & Destructor Documentation

Node::Node ( )

Definition at line 31 of file Node.cc.

Node::Node ( std::string  cName)

Definition at line 44 of file Node.cc.

Node::~Node ( )

Definition at line 61 of file Node.cc.

Member Function Documentation

void Node::calcOptimumSplit ( )

Definition at line 213 of file Node.cc.

void Node::filterEventsToDaughters ( )

Definition at line 349 of file Node.cc.

Node * Node::filterEventToDaughter ( emtf::Event e)

Definition at line 394 of file Node.cc.

Double_t Node::getAvgError ( )

Definition at line 179 of file Node.cc.

Double_t Node::getErrorReduction ( )

Definition at line 89 of file Node.cc.

std::vector< std::vector< Event * > > & Node::getEvents ( )

Definition at line 198 of file Node.cc.

Double_t Node::getFitValue ( )

Definition at line 157 of file Node.cc.

Node * Node::getLeftDaughter ( )

Definition at line 101 of file Node.cc.

std::string Node::getName ( void  )

Definition at line 77 of file Node.cc.

Int_t Node::getNumEvents ( )

Definition at line 191 of file Node.cc.

Node * Node::getParent ( )

Definition at line 123 of file Node.cc.

Node * Node::getRightDaughter ( )

Definition at line 111 of file Node.cc.

Double_t Node::getSplitValue ( )

Definition at line 135 of file Node.cc.

Int_t Node::getSplitVariable ( )

Definition at line 145 of file Node.cc.

Double_t Node::getTotalError ( )

Definition at line 169 of file Node.cc.

void Node::listEvents ( )

Definition at line 317 of file Node.cc.

void Node::setAvgError ( Double_t  sAvgError)

Definition at line 174 of file Node.cc.

void Node::setErrorReduction ( Double_t  sErrorReduction)

Definition at line 84 of file Node.cc.

void Node::setEvents ( std::vector< std::vector< emtf::Event * > > &  sEvents)

Definition at line 203 of file Node.cc.

void Node::setFitValue ( Double_t  sFitValue)

Definition at line 152 of file Node.cc.

void Node::setLeftDaughter ( Node sLeftDaughter)

Definition at line 96 of file Node.cc.

void Node::setName ( std::string  sName)

Definition at line 72 of file Node.cc.

void Node::setNumEvents ( Int_t  sNumEvents)

Definition at line 186 of file Node.cc.

void Node::setParent ( Node sParent)

Definition at line 118 of file Node.cc.

Referenced by lumiQTWidget.LumiCanvas::__init__().

void Node::setRightDaughter ( Node sLeftDaughter)

Definition at line 106 of file Node.cc.

void Node::setSplitValue ( Double_t  sSplitValue)

Definition at line 130 of file Node.cc.

void Node::setSplitVariable ( Int_t  sSplitVar)

Definition at line 140 of file Node.cc.

void Node::setTotalError ( Double_t  sTotalError)

Definition at line 164 of file Node.cc.

void Node::theMiracleOfChildBirth ( )

Definition at line 334 of file Node.cc.

Member Data Documentation

Double_t emtf::Node::avgError
private

Definition at line 72 of file Node.h.

Double_t emtf::Node::errorReduction
private

Definition at line 70 of file Node.h.

std::vector< std::vector<emtf::Event*> > emtf::Node::events
private

Definition at line 77 of file Node.h.

Referenced by eventsfwlite.Events::__getattr__(), and eventsfwlite.Events::__init__().

Double_t emtf::Node::fitValue
private

Definition at line 74 of file Node.h.

Node* emtf::Node::leftDaughter
private

Definition at line 63 of file Node.h.

std::string emtf::Node::name
private
Int_t emtf::Node::numEvents
private

Definition at line 75 of file Node.h.

Node* emtf::Node::parent
private
Node* emtf::Node::rightDaughter
private

Definition at line 64 of file Node.h.

Double_t emtf::Node::splitValue
private

Definition at line 67 of file Node.h.

Int_t emtf::Node::splitVariable
private

Definition at line 68 of file Node.h.

Double_t emtf::Node::totalError
private

Definition at line 71 of file Node.h.