EIC Software
Reference for
EIC
simulation and reconstruction software on GitHub
|
#include <fun4all_coresoftware/blob/master/offline/framework/phool/PHNodeIterator.h>
Public Member Functions | |
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 | |
PHCompositeNode * | currentNode |
PHPointerList< PHNode > | subNodeList |
Definition at line 17 of file PHNodeIterator.h.
View newest version in sPHENIX GitHub at line 17 of file PHNodeIterator.h
|
explicit |
Definition at line 23 of file PHNodeIterator.cc.
View newest version in sPHENIX GitHub at line 23 of file PHNodeIterator.cc
|
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
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().
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, and PHCompositeNode::subNodes.
Referenced by Dumper::End(), Dumper::process_event(), PHNodeIOManager::reconstructNodeTree(), and Fun4AllServer::ResetNodeTree().
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(), PHActsVertexFitter::createNodes(), PHInitVertexing::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(), HepMCCompress::Init(), G4RawTowerTTree::Init(), G4ScintillatorSlatTTree::Init(), G4ScintillatorTowerTTree::Init(), G4HitTTree::Init(), HepMCNodeReader::Init(), EvalRootTTreeReco::Init(), PHG4FCalSubsystem::Init(), PHG4FPbScSubsystem::Init(), PHG4SectorSubsystem::Init(), PHG4EnvelopeSubsystem::Init(), PHG4CEmcTestBeamSubsystem::Init(), G4Example01Subsystem::Init(), G4LmonSubsystem::Init(), TrackEvaluation::Init(), DSTEmulator::Init(), PHG4RICHSubsystem::Init(), Fun4AllPrdfOutputManager::InitPrdfNode(), PHG4InEventReadBack::InitRun(), RawTowerBuilder::InitRun(), PHG4InEventCompress::InitRun(), PHG4ParticleGeneratorBase::InitRun(), RawTowerDeadTowerInterp::InitRun(), PHG4MvtxHitReco::InitRun(), HcalRawTowerBuilder::InitRun(), PHG4ForwardCalCellReco::InitRun(), PHG4HcalCellReco::InitRun(), PHG4InttHitReco::InitRun(), CreateCZHitContainer::InitRun(), PHG4InttDigitizer::InitRun(), PHG4BlockCellReco::InitRun(), RawTowerZDCCalibration::InitRun(), B0RawTowerBuilderByHitIndex::InitRun(), BwdRawTowerBuilderByHitIndex::InitRun(), RawTowerBuilderDRCALO::InitRun(), PHG4CylinderCellReco::InitRun(), RawTowerBuilderByHitIndexBECAL::InitRun(), RawTowerCalibration::InitRun(), EICG4ZDCRawTowerBuilderByHitIndex::InitRun(), RawTowerBuilderByHitIndexLHCal::InitRun(), RawTowerBuilderByHitIndex::InitRun(), PHG4FullProjSpacalCellReco::InitRun(), TpcLoadDistortionCorrection::InitRun(), PHG4DetectorSubsystem::InitRun(), PHG4TruthSubsystem::InitRun(), PHG4DetectorGroupSubsystem::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(), QAG4SimulationEicCalorimeter::InitRun(), PHG4HcalSubsystem::InitRun(), PHG4MicromegasHitReco::InitRun(), MvtxClusterizer::InitRun(), PHG4TpcElectronDrift::InitRun(), RawDigitBuilderTTL::InitRun(), RawTowerCombiner::InitRun(), PHG4ECAPToFSubsystem::InitRunSubsystem(), PHG4TRDSubsystem::InitRunSubsystem(), EicRootSubsystem::InitRunSubsystem(), PHG4EPDSubsystem::InitRunSubsystem(), PHG4InnerHcalSubsystem::InitRunSubsystem(), PHG4ZDCSubsystem::InitRunSubsystem(), PHG4TpcSubsystem::InitRunSubsystem(), G4LBLVtxSubsystem::InitRunSubsystem(), PHG4OuterHcalSubsystem::InitRunSubsystem(), BeamLineMagnetSubsystem::InitRunSubsystem(), PHG4CylinderSubsystem::InitRunSubsystem(), PHG4LFHcalSubsystem::InitRunSubsystem(), PHG4ForwardDualReadoutSubsystem::InitRunSubsystem(), PHG4CrystalCalorimeterSubsystem::InitRunSubsystem(), PHG4BarrelEcalSubsystem::InitRunSubsystem(), PHG4BlockSubsystem::InitRunSubsystem(), PHG4ConeSubsystem::InitRunSubsystem(), PHG4HybridHomogeneousCalorimeterSubsystem::InitRunSubsystem(), PHG4BackwardHcalSubsystem::InitRunSubsystem(), PHG4ForwardHcalSubsystem::InitRunSubsystem(), PHG4TTLSubsystem::InitRunSubsystem(), G4JLeicBeamLineMagnetSubsystem::InitRunSubsystem(), PHG4EICMvtxSubsystem::InitRunSubsystem(), PHG4MvtxSubsystem::InitRunSubsystem(), EICG4dRICHSubsystem::InitRunSubsystem(), PHG4ForwardEcalSubsystem::InitRunSubsystem(), EICG4B0Subsystem::InitRunSubsystem(), EICG4B0ECALSubsystem::InitRunSubsystem(), AllSi_Al_support_Subsystem::InitRunSubsystem(), PHG4CylinderStripSubsystem::InitRunSubsystem(), EICG4RPSubsystem::InitRunSubsystem(), EICG4BwdSubsystem::InitRunSubsystem(), EicFRichSubsystem::InitRunSubsystem(), EICG4LumiSubsystem::InitRunSubsystem(), EICG4ZDCSubsystem::InitRunSubsystem(), BeastMagnetSubsystem::InitRunSubsystem(), PHG4InttSubsystem::InitRunSubsystem(), PHG4TpcEndCapSubsystem::InitRunSubsystem(), PHG4MicromegasSubsystem::InitRunSubsystem(), PHG4mRICHSubsystem::InitRunSubsystem(), G4Example02Subsystem::InitRunSubsystem(), G4Example03Subsystem::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().
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.
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().
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().
|
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().
void PHNodeIterator::print | ( | void | ) |
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().
|
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().
|
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().