#include <SeedingTree.h>
Public Member Functions | |
const SeedingNode< DATA > * | firstChild () const |
const SeedingNode< DATA > * | getChild (unsigned int ichild) const |
unsigned int | getChildIndex () const |
unsigned int | getChildrenSize () const |
const DATA & | getData () const |
unsigned int | getDepth () const |
unsigned int | getIndex () const |
const SeedingNode * | getParent () const |
bool | insert (const std::vector< DATA > &dataList, std::vector< SeedingNode< DATA > * > &allNodes) |
const SeedingNode< DATA > * | next () const |
void | print () const |
void | printRecursive () const |
SeedingNode (const DATA &data, std::vector< SeedingNode * > &allNodes, int parentIndex=-1) | |
void | sort (std::vector< SeedingNode< DATA > * > &allNodes, unsigned int parentIndex) |
Protected Attributes | |
const std::vector< SeedingNode< DATA > * > & | _allNodes |
int | _childIndex |
std::vector< unsigned int > | _children |
const DATA | _data |
unsigned int | _depth |
unsigned int | _index |
int | _parentIndex |
Definition at line 10 of file SeedingTree.h.
|
inline |
Definition at line 21 of file SeedingTree.h.
References SeedingNode< DATA >::_childIndex, SeedingNode< DATA >::_depth, SeedingNode< DATA >::_index, SeedingNode< DATA >::_parentIndex, and class-composition::parent.
|
inline |
Definition at line 74 of file SeedingTree.h.
References SeedingNode< DATA >::_allNodes, and SeedingNode< DATA >::_children.
|
inline |
Definition at line 92 of file SeedingTree.h.
References SeedingNode< DATA >::_allNodes, and SeedingNode< DATA >::_children.
Referenced by SeedFinder::insertHit().
|
inline |
|
inline |
Definition at line 90 of file SeedingTree.h.
References SeedingNode< DATA >::_children.
Referenced by SeedFinder::insertHit().
|
inline |
Definition at line 96 of file SeedingTree.h.
References SeedingNode< DATA >::_data.
Referenced by SeedingNode< DATA >::insert(), and SeedFinder::insertHit().
|
inline |
Definition at line 65 of file SeedingTree.h.
References SeedingNode< DATA >::_depth.
Referenced by SeedingNode< DATA >::insert(), SeedFinder::insertHit(), and SeedFinder::iterateHits().
|
inline |
Definition at line 81 of file SeedingTree.h.
References SeedingNode< DATA >::_index.
Referenced by SeedFinder::insertHit(), and SeedFinder::iterateHits().
|
inline |
Definition at line 83 of file SeedingTree.h.
References SeedingNode< DATA >::_allNodes, and SeedingNode< DATA >::_parentIndex.
Referenced by SeedFinder::insertHit(), and SeedFinder::iterateHits().
|
inline |
Definition at line 49 of file SeedingTree.h.
References SeedingNode< DATA >::_children, SeedingNode< DATA >::_depth, SeedingNode< DATA >::_index, SeedingNode< DATA >::getData(), SeedingNode< DATA >::getDepth(), and SeedingNode< DATA >::insert().
Referenced by SeedingNode< DATA >::insert(), and SeedingTree< TrackingLayer >::insert().
|
inline |
Definition at line 67 of file SeedingTree.h.
References SeedingNode< DATA >::_allNodes, and SeedingNode< DATA >::_index.
|
inline |
Definition at line 98 of file SeedingTree.h.
References SeedingNode< DATA >::_childIndex, SeedingNode< DATA >::_data, SeedingNode< DATA >::_depth, SeedingNode< DATA >::_index, gather_cfg::cout, and mps_fire::i.
Referenced by SeedingNode< DATA >::printRecursive().
|
inline |
Definition at line 105 of file SeedingTree.h.
References SeedingNode< DATA >::_allNodes, SeedingNode< DATA >::_children, and SeedingNode< DATA >::print().
|
inline |
Definition at line 37 of file SeedingTree.h.
References SeedingNode< DATA >::_allNodes, SeedingNode< DATA >::_childIndex, SeedingNode< DATA >::_children, SeedingNode< DATA >::_index, and SeedingNode< DATA >::_parentIndex.
|
protected |
Definition at line 13 of file SeedingTree.h.
Referenced by SeedingNode< DATA >::firstChild(), SeedingNode< DATA >::getChild(), SeedingNode< DATA >::getParent(), SeedingNode< DATA >::next(), SeedingNode< DATA >::printRecursive(), and SeedingNode< DATA >::sort().
|
protected |
Definition at line 16 of file SeedingTree.h.
Referenced by SeedingNode< DATA >::getChildIndex(), SeedingNode< DATA >::print(), SeedingNode< DATA >::SeedingNode(), and SeedingNode< DATA >::sort().
|
protected |
Definition at line 18 of file SeedingTree.h.
Referenced by SeedingNode< DATA >::firstChild(), SeedingNode< DATA >::getChild(), SeedingNode< DATA >::getChildrenSize(), SeedingNode< DATA >::insert(), SeedingNode< DATA >::printRecursive(), and SeedingNode< DATA >::sort().
|
protected |
Definition at line 12 of file SeedingTree.h.
Referenced by XML2Python.DataNode::__init__(), python.XML2Python.DataNode::__nonzero__(), XML2Python.DataNode::__nonzero__(), python.XML2Python.DataNode::__repr__(), XML2Python.DataNode::__repr__(), XML2Python.DataNode::__str__(), python.XML2Python.DataNode::__str__(), SeedingNode< DATA >::getData(), SeedingNode< DATA >::print(), and XML2Python.DataNode::stringify().
|
protected |
Definition at line 17 of file SeedingTree.h.
Referenced by SeedingNode< DATA >::getDepth(), SeedingNode< DATA >::insert(), SeedingNode< DATA >::print(), and SeedingNode< DATA >::SeedingNode().
|
protected |
Definition at line 14 of file SeedingTree.h.
Referenced by ntupleDataFormat._Object::__getattr__(), python.cmstools.EventTree::__getitem__(), python.cmstools.EventTree::__iter__(), python.cmstools.EventBranch::__readData(), python.cmstools.EventTree::__setBranchIndicies(), ntupleDataFormat.TrackingParticle::_nMatchedSeeds(), ntupleDataFormat._SimHitMatchAdaptor::_nMatchedSimHits(), ntupleDataFormat._TrackingParticleMatchAdaptor::_nMatchedTrackingParticles(), ntupleDataFormat.TrackingParticle::_nMatchedTracks(), html.HtmlReport::addNote(), ntupleDataFormat.TrackingVertex::daughterTrackingParticles(), ntupleDataFormat.TrackingParticle::decayVertices(), ntupleDataFormat._DetIdStrAdaptor::detIdStr(), SeedingNode< DATA >::getIndex(), ntupleDataFormat._Object::index(), python.cmstools.EventTree::index(), ntupleDataFormat.Seed::indexWithinAlgo(), SeedingNode< DATA >::insert(), ntupleDataFormat._Object::isValid(), ntupleDataFormat._DetIdStrAdaptor::layerStr(), ntupleDataFormat.InvalidHit::layerStr(), ntupleDataFormat.TrackingParticle::matchedSeedInfos(), ntupleDataFormat._SimHitMatchAdaptor::matchedSimHitInfos(), ntupleDataFormat.TrackingParticle::matchedTrackInfos(), ntupleDataFormat._TrackingParticleMatchAdaptor::matchedTrackingParticleInfos(), ntupleDataFormat.GluedHit::monoHit(), ntupleDataFormat.TrackingVertex::nDaughterTrackingParticles(), SeedingNode< DATA >::next(), ntupleDataFormat.SimHit::nRecHits(), ntupleDataFormat._HitObject::nseeds(), ntupleDataFormat.GluedHit::nseeds(), ntupleDataFormat.TrackingVertex::nSourceTrackingParticles(), ntupleDataFormat._HitObject::ntracks(), ntupleDataFormat.Vertex::nTracks(), ntupleDataFormat.TrackingParticle::parentVertex(), SeedingNode< DATA >::print(), ntupleDataFormat.SeedMatchInfo::seed(), ntupleDataFormat.Track::seed(), SeedingNode< DATA >::SeedingNode(), ntupleDataFormat._HitObject::seeds(), ntupleDataFormat.GluedHit::seeds(), python.cmstools.EventBranch::setIndex(), ntupleDataFormat.SimHitMatchInfo::simHit(), SeedingNode< DATA >::sort(), ntupleDataFormat.TrackingVertex::sourceTrackingParticles(), ntupleDataFormat.GluedHit::stereoHit(), ntupleDataFormat.Seed::track(), ntupleDataFormat.SimHit::trackingParticle(), ntupleDataFormat._HitObject::tracks(), ntupleDataFormat.Vertex::tracks(), ntupleDataFormat.Track::vertex(), and html.HtmlReport::write().
|
protected |
Definition at line 15 of file SeedingTree.h.
Referenced by SeedingNode< DATA >::getParent(), SeedingNode< DATA >::SeedingNode(), and SeedingNode< DATA >::sort().