ECCE @ EIC Software
Reference for
ECCE @ EIC
simulation and reconstruction software on GitHub
|
#include <coresoftware/blob/master/offline/framework/phool/PHTypedNodeIterator.h>
Public Member Functions | |
PHTypedNodeIterator (PHCompositeNode *n) | |
Constructor. | |
PHTypedNodeIterator () | |
T & | operator* () |
~PHTypedNodeIterator () override | |
Destructor. | |
PHIODataNode< T > * | FindIODataNode (const char *name) |
PHIODataNode< T > * | find (const char *name) |
bool | AddIODataNode (T *data, const char *name) |
bool | insert (T *data, const char *name) |
Public Member Functions inherited from PHNodeIterator | |
PHNodeIterator (PHCompositeNode *) | |
virtual | ~PHNodeIterator () |
PHNodeIterator () | |
void | print () |
PHPointerList< PHNode > & | ls () |
PHNode * | findFirst (const std::string &, const std::string &) |
PHNode * | findFirst (const std::string &) |
bool | cd (const std::string &pathString="") |
bool | addNode (PHNode *) |
void | forEach (PHNodeOperation &) |
void | for_each (PHNodeOperation &) |
PHCompositeNode * | get_currentNode () const |
Protected Attributes | |
PHIODataNode< T > * | myIODataNode |
Protected Attributes inherited from PHNodeIterator | |
PHCompositeNode * | currentNode |
PHPointerList< PHNode > | subNodeList |
Definition at line 20 of file PHTypedNodeIterator.h.
View newest version in sPHENIX GitHub at line 20 of file PHTypedNodeIterator.h
|
inlineexplicit |
Constructor.
Definition at line 24 of file PHTypedNodeIterator.h.
View newest version in sPHENIX GitHub at line 24 of file PHTypedNodeIterator.h
References PHTypedNodeIterator< T >::myIODataNode.
|
inline |
Definition at line 30 of file PHTypedNodeIterator.h.
View newest version in sPHENIX GitHub at line 30 of file PHTypedNodeIterator.h
References PHTypedNodeIterator< T >::myIODataNode.
|
inlineoverride |
Destructor.
Definition at line 40 of file PHTypedNodeIterator.h.
View newest version in sPHENIX GitHub at line 40 of file PHTypedNodeIterator.h
bool PHTypedNodeIterator< T >::AddIODataNode | ( | T * | data, |
const char * | name | ||
) |
Adds a data node called "name" to the tree, and inserts "data". The data node is added at the current "directory" of this iterator object, so remember to "cd" to the desired location in the tree!
Definition at line 100 of file PHTypedNodeIterator.h.
View newest version in sPHENIX GitHub at line 100 of file PHTypedNodeIterator.h
PHIODataNode< T > * PHTypedNodeIterator< T >::find | ( | const char * | name | ) |
Definition at line 80 of file PHTypedNodeIterator.h.
View newest version in sPHENIX GitHub at line 80 of file PHTypedNodeIterator.h
Referenced by JetReco::FillJetNode().
PHIODataNode< T > * PHTypedNodeIterator< T >::FindIODataNode | ( | const char * | name | ) |
Finds an IODataNode of name "name" containing data of type "T". A null pointer will be returned if the node is not found, or if it contains data of the wrong type.
Definition at line 73 of file PHTypedNodeIterator.h.
View newest version in sPHENIX GitHub at line 73 of file PHTypedNodeIterator.h
bool PHTypedNodeIterator< T >::insert | ( | T * | data, |
const char * | name | ||
) |
Definition at line 106 of file PHTypedNodeIterator.h.
View newest version in sPHENIX GitHub at line 106 of file PHTypedNodeIterator.h
References n.
T & PHTypedNodeIterator< T >::operator* | ( | ) |
Definition at line 66 of file PHTypedNodeIterator.h.
View newest version in sPHENIX GitHub at line 66 of file PHTypedNodeIterator.h
|
protected |
Definition at line 61 of file PHTypedNodeIterator.h.
View newest version in sPHENIX GitHub at line 61 of file PHTypedNodeIterator.h
Referenced by PHTypedNodeIterator< T >::PHTypedNodeIterator().