ECCE @ EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
PHNodeIterator Class Reference

#include <coresoftware/blob/master/offline/framework/phool/PHNodeIterator.h>

+ Inheritance diagram for PHNodeIterator:
+ Collaboration diagram for PHNodeIterator:

Public Member Functions

 PHNodeIterator (PHCompositeNode *)
 
virtual ~PHNodeIterator ()
 
 PHNodeIterator ()
 
void print ()
 
PHPointerList< PHNode > & ls ()
 
PHNodefindFirst (const std::string &, const std::string &)
 
PHNodefindFirst (const std::string &)
 
bool cd (const std::string &pathString="")
 
bool addNode (PHNode *)
 
void forEach (PHNodeOperation &)
 
void for_each (PHNodeOperation &)
 
PHCompositeNodeget_currentNode () const
 

Protected Attributes

PHCompositeNodecurrentNode
 
PHPointerList< PHNodesubNodeList
 

Detailed Description

Definition at line 17 of file PHNodeIterator.h.

View newest version in sPHENIX GitHub at line 17 of file PHNodeIterator.h

Constructor & Destructor Documentation

PHNodeIterator::PHNodeIterator ( PHCompositeNode node)
explicit

Definition at line 23 of file PHNodeIterator.cc.

View newest version in sPHENIX GitHub at line 23 of file PHNodeIterator.cc

virtual PHNodeIterator::~PHNodeIterator ( )
inlinevirtual

Definition at line 21 of file PHNodeIterator.h.

View newest version in sPHENIX GitHub at line 21 of file PHNodeIterator.h

PHNodeIterator::PHNodeIterator ( )

Definition at line 28 of file PHNodeIterator.cc.

View newest version in sPHENIX GitHub at line 28 of file PHNodeIterator.cc

Member Function Documentation

bool PHNodeIterator::addNode ( PHNode newNode)

Definition at line 155 of file PHNodeIterator.cc.

View newest version in sPHENIX GitHub at line 155 of file PHNodeIterator.cc

References PHCompositeNode::addNode(), and currentNode.

Referenced by PHDataNodeIterator::AddIODataNode(), and PHNodeIOManager::reconstructNodeTree().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

bool PHNodeIterator::cd ( const std::string &  pathString = "")

Definition at line 102 of file PHNodeIterator.cc.

View newest version in sPHENIX GitHub at line 102 of file PHNodeIterator.cc

References currentNode, PHNode::getName(), PHNode::getParent(), PHNode::getType(), phooldefs::nodetreepathdelim, split(), and PHCompositeNode::subNodes.

Referenced by Dumper::End(), Dumper::process_event(), PHNodeIOManager::reconstructNodeTree(), and Fun4AllServer::ResetNodeTree().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

PHNode * PHNodeIterator::findFirst ( const std::string &  requiredType,
const std::string &  requiredName 
)

Definition at line 52 of file PHNodeIterator.cc.

View newest version in sPHENIX GitHub at line 52 of file PHNodeIterator.cc

References currentNode, findFirst(), PHNode::getName(), PHNode::getType(), and PHCompositeNode::subNodes.

Referenced by PHG4MicromegasDetector::add_geometry_node(), PHG4EICMvtxDetector::AddGeometryNode(), PHG4MvtxDetector::AddGeometryNode(), PHG4InttDetector::AddGeometryNode(), AllSiliconTrackerDetector::AddHitNodes(), PHG4HcalDetector::ConstructMe(), PHG4SpacalDetector::ConstructMe(), PHPythia8::create_node_tree(), PHHepMCGenHelper::create_node_tree(), PHInitZVertexing::create_nodes(), PHPatternReco::create_nodes(), DecayFinder::createDecayNode(), RetowerCEMC::CreateNode(), SubtractTowers::CreateNode(), PHG4CentralityReco::CreateNode(), CopyAndSubtractJets::CreateNode(), SubtractTowersCS::CreateNode(), CaloTriggerSim::CreateNode(), DetermineTowerBackground::CreateNode(), ParticleFlowReco::CreateNode(), RawClusterBuilderGraph::CreateNodes(), RawClusterBuilderFwd::CreateNodes(), RawTowerDeadTowerInterp::CreateNodes(), RawClusterBuilderTemplate::CreateNodes(), BbcVertexFastSimReco::CreateNodes(), GlobalVertexFastSimReco::CreateNodes(), PHSimpleVertexFinder::CreateNodes(), GlobalVertexReco::CreateNodes(), RawClusterBuilderHelper::CreateNodes(), PHInitVertexing::CreateNodes(), PHActsVertexFitter::createNodes(), JetReco::CreateNodes(), PHActsToSvtxTracks::createNodes(), RawTowerBuilder::CreateNodes(), PHActsVertexFinder::createNodes(), HcalRawTowerBuilder::CreateNodes(), RawTowerBuilderDRCALO::CreateNodes(), PHTrackSetMerging::CreateNodes(), B0RawTowerBuilderByHitIndex::CreateNodes(), BwdRawTowerBuilderByHitIndex::CreateNodes(), PHTrackSeeding::CreateNodes(), RawTowerBuilderByHitIndex::CreateNodes(), RawTowerBuilderByHitIndexLHCal::CreateNodes(), RawTowerBuilderByHitIndexBECAL::CreateNodes(), EICG4ZDCRawTowerBuilderByHitIndex::CreateNodes(), PHActsInitialVertexFinder::createNodes(), JetHepMCLoader::CreateNodes(), RawDigitBuilderTTL::CreateNodes(), RawClusterBuilderTopo::CreateNodes(), MakeActsGeometry::createNodes(), PHActsTrkFitter::createNodes(), PHRaveVertexing::CreateNodes(), PHActsSiliconSeeding::createNodes(), RawTowerCombiner::CreateNodes(), RawTowerZDCCalibration::CreateNodes(), RawTowerCalibration::CreateNodes(), RawTowerZDCDigitizer::CreateNodes(), RawTowerDigitizer::CreateNodes(), PHG4TrackFastSim::CreateNodes(), B0TrackFastSim::CreateNodes(), PHGenFitTrkFitter::CreateNodes(), SyncReco::CreateNodeTree(), RawClusterPositionCorrection::CreateNodeTree(), RawClusterDeadAreaMask::CreateNodeTree(), ReadEICFiles::CreateNodeTree(), KFParticle_DST::createParticleNode(), Fun4AllServer::End(), KFParticle_nTuple::fillBranch(), KFParticle_truthAndDetTools::fillCaloBranch(), KFParticle_truthAndDetTools::fillDetectorBranch(), EventEvaluator::fillOutputNtuples(), EventEvaluatorEIC::fillOutputNtuples(), KFParticle_truthAndDetTools::fillTruthBranch(), findFirst(), PHDataNodeIterator::FindIODataNode(), Fun4AllPrdfInputManager::Fun4AllPrdfInputManager(), findNode::getClass(), PHFieldUtility::GetFieldConfigNode(), PHFieldUtility::GetFieldMapNode(), PHGeomUtility::GetGeomIOTGeoNode(), PHGeomUtility::GetGeomTGeoNode(), KFParticle_truthAndDetTools::getHepMCInfo(), Fun4AllServer::getNode(), PHTpcClusterMover::GetNodes(), PHTrackSelector::GetNodes(), PHTruthClustering::GetNodes(), PHTpcCentralMembraneClusterizer::GetNodes(), PHTruthSiliconAssociation::GetNodes(), PHSiliconTpcTrackMatching::GetNodes(), PHG4TrackFastSim::GetNodes(), B0TrackFastSim::GetNodes(), PHG4GDMLUtility::GetOrMakeConfigNode(), MakeSimpleTree::Init(), PHG4HeadReco::Init(), HeadReco::Init(), G4RawTowerTTree::Init(), G4ScintillatorSlatTTree::Init(), G4ScintillatorTowerTTree::Init(), HepMCCompress::Init(), G4HitTTree::Init(), HepMCNodeReader::Init(), PHG4FCalSubsystem::Init(), PHG4FPbScSubsystem::Init(), PHG4SectorSubsystem::Init(), PHG4EnvelopeSubsystem::Init(), PHG4CEmcTestBeamSubsystem::Init(), TrackEvaluation::Init(), DSTEmulator::Init(), PHG4RICHSubsystem::Init(), Fun4AllPrdfOutputManager::InitPrdfNode(), PHG4InEventReadBack::InitRun(), RawTowerBuilder::InitRun(), PHG4InEventCompress::InitRun(), PHG4ParticleGeneratorBase::InitRun(), PHG4MvtxHitReco::InitRun(), HcalRawTowerBuilder::InitRun(), RawTowerDeadTowerInterp::InitRun(), PHG4HcalCellReco::InitRun(), PHG4InttHitReco::InitRun(), PHG4ForwardCalCellReco::InitRun(), CreateCZHitContainer::InitRun(), PHG4InttDigitizer::InitRun(), PHG4BlockCellReco::InitRun(), EICG4ZDCRawTowerBuilderByHitIndex::InitRun(), PHG4CylinderCellReco::InitRun(), RawTowerZDCCalibration::InitRun(), B0RawTowerBuilderByHitIndex::InitRun(), BwdRawTowerBuilderByHitIndex::InitRun(), RawTowerBuilderDRCALO::InitRun(), RawTowerBuilderByHitIndex::InitRun(), RawTowerBuilderByHitIndexBECAL::InitRun(), RawTowerBuilderByHitIndexLHCal::InitRun(), RawTowerCalibration::InitRun(), PHG4FullProjSpacalCellReco::InitRun(), TpcLoadDistortionCorrection::InitRun(), PHG4TruthSubsystem::InitRun(), PHG4DetectorGroupSubsystem::InitRun(), PHG4DetectorSubsystem::InitRun(), RawTowerZDCDigitizer::InitRun(), RawTowerDigitizer::InitRun(), PHG4MvtxDigitizer::InitRun(), PHG4TpcDirectLaser::InitRun(), PHG4ParticleGeneratorVectorMeson::InitRun(), PHG4SimpleEventGenerator::InitRun(), PHG4TpcDigitizer::InitRun(), RawTowerDeadMapLoader::InitRun(), InttClusterizer::InitRun(), PHG4TpcPadPlane::InitRun(), PHG4InttDeadMapLoader::InitRun(), TpcClusterizer::InitRun(), PHG4TpcPadBaselineShift::InitRun(), QAG4SimulationCalorimeter::InitRun(), MicromegasClusterizer::InitRun(), PHG4HcalSubsystem::InitRun(), PHG4MicromegasHitReco::InitRun(), PHG4TpcElectronDrift::InitRun(), MvtxClusterizer::InitRun(), RawDigitBuilderTTL::InitRun(), RawTowerCombiner::InitRun(), PHG4ECAPToFSubsystem::InitRunSubsystem(), PHG4TRDSubsystem::InitRunSubsystem(), PHG4EPDSubsystem::InitRunSubsystem(), PHG4InnerHcalSubsystem::InitRunSubsystem(), PHG4ZDCSubsystem::InitRunSubsystem(), BeamLineMagnetSubsystem::InitRunSubsystem(), PHG4OuterHcalSubsystem::InitRunSubsystem(), PHG4TpcSubsystem::InitRunSubsystem(), G4LBLVtxSubsystem::InitRunSubsystem(), PHG4BackwardHcalSubsystem::InitRunSubsystem(), PHG4ForwardDualReadoutSubsystem::InitRunSubsystem(), PHG4CrystalCalorimeterSubsystem::InitRunSubsystem(), PHG4CylinderSubsystem::InitRunSubsystem(), PHG4ForwardHcalSubsystem::InitRunSubsystem(), PHG4BlockSubsystem::InitRunSubsystem(), PHG4HybridHomogeneousCalorimeterSubsystem::InitRunSubsystem(), PHG4BarrelEcalSubsystem::InitRunSubsystem(), PHG4ConeSubsystem::InitRunSubsystem(), PHG4LFHcalSubsystem::InitRunSubsystem(), G4JLeicBeamLineMagnetSubsystem::InitRunSubsystem(), PHG4EICMvtxSubsystem::InitRunSubsystem(), PHG4TTLSubsystem::InitRunSubsystem(), PHG4MvtxSubsystem::InitRunSubsystem(), EICG4dRICHSubsystem::InitRunSubsystem(), PHG4ForwardEcalSubsystem::InitRunSubsystem(), EicFRichSubsystem::InitRunSubsystem(), EICG4RPSubsystem::InitRunSubsystem(), EICG4LumiSubsystem::InitRunSubsystem(), PHG4CylinderStripSubsystem::InitRunSubsystem(), AllSi_Al_support_Subsystem::InitRunSubsystem(), EICG4ZDCSubsystem::InitRunSubsystem(), EICG4B0Subsystem::InitRunSubsystem(), EICG4B0ECALSubsystem::InitRunSubsystem(), EICG4BwdSubsystem::InitRunSubsystem(), PHG4InttSubsystem::InitRunSubsystem(), BeastMagnetSubsystem::InitRunSubsystem(), PHG4TpcEndCapSubsystem::InitRunSubsystem(), PHG4MicromegasSubsystem::InitRunSubsystem(), PHG4mRICHSubsystem::InitRunSubsystem(), PHG4SpacalSubsystem::InitRunSubsystem(), G4JLeicDIRCSubsystem::InitRunSubsystem(), G4EicDircSubsystem::InitRunSubsystem(), G4JLeicVTXSubsystem::InitRunSubsystem(), PHG4BbcSubsystem::InitRunSubsystem(), PHG4PSTOFSubsystem::InitRunSubsystem(), Dumper::process_event(), TpcClusterizer::process_event(), PHG4TpcPadBaselineShift::process_event(), Fun4AllServer::process_event(), PHNodeIOManager::reconstructNodeTree(), Fun4AllPrdfInputManager::ResetEvent(), Fun4AllPrdfInputManager::run(), PHG4MicromegasHitReco::setup_tiles(), PHG4Reco::setupInputEventNodeReader(), Fun4AllDstOutputManager::Write(), and Fun4AllDstOutputManager::WriteNode().

+ Here is the call graph for this function:

PHNode * PHNodeIterator::findFirst ( const std::string &  requiredName)

Definition at line 76 of file PHNodeIterator.cc.

View newest version in sPHENIX GitHub at line 76 of file PHNodeIterator.cc

References currentNode, findFirst(), PHNode::getName(), PHNode::getType(), and PHCompositeNode::subNodes.

+ Here is the call graph for this function:

void PHNodeIterator::for_each ( PHNodeOperation operation)

Definition at line 179 of file PHNodeIterator.cc.

View newest version in sPHENIX GitHub at line 179 of file PHNodeIterator.cc

References forEach().

+ Here is the call graph for this function:

void PHNodeIterator::forEach ( PHNodeOperation operation)

Definition at line 160 of file PHNodeIterator.cc.

View newest version in sPHENIX GitHub at line 160 of file PHNodeIterator.cc

References currentNode, forEach(), PHNode::getType(), and PHCompositeNode::subNodes.

Referenced by Dumper::End(), Fun4AllDstInputManager::fileopen(), Fun4AllSingleDstPileupInputManager::fileopen(), Fun4AllDstPileupInputManager::fileopen(), for_each(), forEach(), Fun4AllDstPileupMerger::load_nodes(), Dumper::process_event(), and Fun4AllServer::ResetNodeTree().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

PHCompositeNode* PHNodeIterator::get_currentNode ( ) const
inline

Definition at line 33 of file PHNodeIterator.h.

View newest version in sPHENIX GitHub at line 33 of file PHNodeIterator.h

References currentNode.

PHPointerList< PHNode > & PHNodeIterator::ls ( )

Definition at line 34 of file PHNodeIterator.cc.

View newest version in sPHENIX GitHub at line 34 of file PHNodeIterator.cc

References PHPointerList< T >::append(), PHPointerList< T >::clear(), currentNode, subNodeList, and PHCompositeNode::subNodes.

Referenced by Fun4AllServer::CountOutNodesRecursive(), Fun4AllServer::MakeNodesPersistent(), Fun4AllServer::MakeNodesTransient(), PHG4DstCompressReco::SearchG4HitNodes(), and PHG4TruthEventAction::SearchNode().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void PHNodeIterator::print ( )

Definition at line 46 of file PHNodeIterator.cc.

View newest version in sPHENIX GitHub at line 46 of file PHNodeIterator.cc

References currentNode, and PHCompositeNode::print().

Referenced by Fun4AllServer::Print(), and Fun4AllServer::process_event().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Member Data Documentation

PHCompositeNode* PHNodeIterator::currentNode
protected

Definition at line 36 of file PHNodeIterator.h.

View newest version in sPHENIX GitHub at line 36 of file PHNodeIterator.h

Referenced by addNode(), cd(), findFirst(), forEach(), get_currentNode(), ls(), and print().

PHPointerList<PHNode> PHNodeIterator::subNodeList
protected

Definition at line 37 of file PHNodeIterator.h.

View newest version in sPHENIX GitHub at line 37 of file PHNodeIterator.h

Referenced by ls().


The documentation for this class was generated from the following files: