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

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

+ Inheritance diagram for PHCompositeNode:
+ Collaboration diagram for PHCompositeNode:

Public Member Functions

 PHCompositeNode (const std::string &)
 
 ~PHCompositeNode () override
 
bool addNode (PHNode *)
 
void prune () override
 
void print (const std::string &="") override
 
bool write (PHIOManager *, const std::string &="") override
 
- Public Member Functions inherited from PHNode
 PHNode (const std::string &)
 
 PHNode (const std::string &, const std::string &)
 
virtual ~PHNode ()
 
PHNodegetParent () const
 
bool isPersistent () const
 
void makePersistent ()
 
const std::string getObjectType () const
 
const std::string getType () const
 
const std::string getName () const
 
const std::string getClass () const
 
void setParent (PHNode *p)
 
void setName (const std::string &n)
 
void setObjectType (const std::string &type)
 
virtual void setResetFlag (const bool b)
 
virtual bool getResetFlag () const
 
void makeTransient ()
 

Protected Member Functions

void forgetMe (PHNode *) override
 

Protected Attributes

PHPointerList< PHNodesubNodes
 
int deleteMe
 
- Protected Attributes inherited from PHNode
PHNodeparent
 
bool persistent
 
std::string type
 
std::string objecttype
 
std::string name
 
bool reset_able
 
std::string objectclass
 

Private Member Functions

 PHCompositeNode ()=delete
 

Friends

class PHNodeIterator
 

Detailed Description

Definition at line 14 of file PHCompositeNode.h.

View newest version in sPHENIX GitHub at line 14 of file PHCompositeNode.h

Constructor & Destructor Documentation

PHCompositeNode::PHCompositeNode ( const std::string &  name)
explicit

Definition at line 18 of file PHCompositeNode.cc.

View newest version in sPHENIX GitHub at line 18 of file PHCompositeNode.cc

References PHNode::type.

PHCompositeNode::~PHCompositeNode ( )
override

Definition at line 25 of file PHCompositeNode.cc.

View newest version in sPHENIX GitHub at line 25 of file PHCompositeNode.cc

References PHPointerList< T >::clearAndDestroy(), deleteMe, and subNodes.

+ Here is the call graph for this function:

PHCompositeNode::PHCompositeNode ( )
privatedelete

Referenced by AllSiliconTrackerDetector::AddHitNodes(), and PHTruthClustering::GetNodes().

+ Here is the caller graph for this function:

Member Function Documentation

bool PHCompositeNode::addNode ( PHNode newNode)

Definition at line 37 of file PHCompositeNode.cc.

View newest version in sPHENIX GitHub at line 37 of file PHCompositeNode.cc

References PHPointerList< T >::append(), PHNode::getName(), PHWHERE, PHNode::setParent(), and subNodes.

Referenced by PHG4EICMvtxDetector::AddGeometryNode(), PHG4MvtxDetector::AddGeometryNode(), PHG4InttDetector::AddGeometryNode(), AllSiliconTrackerDetector::AddHitNodes(), PHNodeIterator::addNode(), PHG4HcalDetector::ConstructMe(), PHG4SpacalDetector::ConstructMe(), 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(), 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(), RawTowerBuilderByHitIndexBECAL::CreateNodes(), RawTowerBuilderByHitIndexLHCal::CreateNodes(), PHTrackSeeding::CreateNodes(), RawTowerBuilderByHitIndex::CreateNodes(), EICG4ZDCRawTowerBuilderByHitIndex::CreateNodes(), PHActsInitialVertexFinder::createNodes(), JetHepMCLoader::CreateNodes(), RawDigitBuilderTTL::CreateNodes(), RawClusterBuilderTopo::CreateNodes(), MakeActsGeometry::createNodes(), PHActsTrkFitter::createNodes(), PHRaveVertexing::CreateNodes(), PHActsSiliconSeeding::createNodes(), PHG4TrackFastSim::CreateNodes(), B0TrackFastSim::CreateNodes(), PHGenFitTrkFitter::CreateNodes(), SyncReco::CreateNodeTree(), RawClusterPositionCorrection::CreateNodeTree(), ReadEICFiles::CreateNodeTree(), KFParticle_DST::createParticleNode(), Fun4AllHepMCInputManager::Fun4AllHepMCInputManager(), Fun4AllOscarInputManager::Fun4AllOscarInputManager(), Fun4AllPrdfInputManager::Fun4AllPrdfInputManager(), Fun4AllServer::getNode(), PHTpcClusterMover::GetNodes(), PHTrackSelector::GetNodes(), PHTruthClustering::GetNodes(), PHTpcCentralMembraneClusterizer::GetNodes(), PHTruthSiliconAssociation::GetNodes(), PHSiliconTpcTrackMatching::GetNodes(), 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(), PHG4RICHSubsystem::Init(), Fun4AllServer::InitNodeTree(), Fun4AllPrdfOutputManager::InitPrdfNode(), PHG4InEventReadBack::InitRun(), PHG4InEventCompress::InitRun(), PHG4ParticleGeneratorBase::InitRun(), PHG4MvtxHitReco::InitRun(), HcalRawTowerBuilder::InitRun(), PHG4HcalCellReco::InitRun(), PHG4ForwardCalCellReco::InitRun(), PHG4InttHitReco::InitRun(), PHG4InttDigitizer::InitRun(), CreateCZHitContainer::InitRun(), PHG4BlockCellReco::InitRun(), PHG4CylinderCellReco::InitRun(), PHG4FullProjSpacalCellReco::InitRun(), PHG4DetectorGroupSubsystem::InitRun(), PHG4DetectorSubsystem::InitRun(), PHG4TruthSubsystem::InitRun(), PHG4TpcDirectLaser::InitRun(), RawTowerDeadMapLoader::InitRun(), PHG4ParticleGeneratorVectorMeson::InitRun(), PHG4SimpleEventGenerator::InitRun(), InttClusterizer::InitRun(), PHG4InttDeadMapLoader::InitRun(), PHG4TpcPadPlane::InitRun(), TpcClusterizer::InitRun(), PHG4HcalSubsystem::InitRun(), MvtxClusterizer::InitRun(), PHG4TpcElectronDrift::InitRun(), ECCEFastPIDReco::InitRun(), RawDigitBuilderTTL::InitRun(), PHG4ECAPToFSubsystem::InitRunSubsystem(), PHG4TRDSubsystem::InitRunSubsystem(), PHG4EPDSubsystem::InitRunSubsystem(), PHG4InnerHcalSubsystem::InitRunSubsystem(), PHG4ZDCSubsystem::InitRunSubsystem(), BeamLineMagnetSubsystem::InitRunSubsystem(), G4LBLVtxSubsystem::InitRunSubsystem(), PHG4OuterHcalSubsystem::InitRunSubsystem(), PHG4TpcSubsystem::InitRunSubsystem(), PHG4ConeSubsystem::InitRunSubsystem(), PHG4ForwardDualReadoutSubsystem::InitRunSubsystem(), PHG4BackwardHcalSubsystem::InitRunSubsystem(), PHG4ForwardHcalSubsystem::InitRunSubsystem(), PHG4CrystalCalorimeterSubsystem::InitRunSubsystem(), PHG4LFHcalSubsystem::InitRunSubsystem(), PHG4BarrelEcalSubsystem::InitRunSubsystem(), PHG4CylinderSubsystem::InitRunSubsystem(), PHG4BlockSubsystem::InitRunSubsystem(), PHG4HybridHomogeneousCalorimeterSubsystem::InitRunSubsystem(), G4JLeicBeamLineMagnetSubsystem::InitRunSubsystem(), PHG4MvtxSubsystem::InitRunSubsystem(), PHG4EICMvtxSubsystem::InitRunSubsystem(), PHG4TTLSubsystem::InitRunSubsystem(), EICG4dRICHSubsystem::InitRunSubsystem(), PHG4ForwardEcalSubsystem::InitRunSubsystem(), EICG4ZDCSubsystem::InitRunSubsystem(), EICG4LumiSubsystem::InitRunSubsystem(), EICG4BwdSubsystem::InitRunSubsystem(), EICG4B0ECALSubsystem::InitRunSubsystem(), AllSi_Al_support_Subsystem::InitRunSubsystem(), EICG4B0Subsystem::InitRunSubsystem(), EICG4RPSubsystem::InitRunSubsystem(), EicFRichSubsystem::InitRunSubsystem(), PHG4CylinderStripSubsystem::InitRunSubsystem(), PHG4InttSubsystem::InitRunSubsystem(), BeastMagnetSubsystem::InitRunSubsystem(), PHG4TpcEndCapSubsystem::InitRunSubsystem(), PHG4mRICHSubsystem::InitRunSubsystem(), PHG4SpacalSubsystem::InitRunSubsystem(), G4JLeicDIRCSubsystem::InitRunSubsystem(), G4EicDircSubsystem::InitRunSubsystem(), G4JLeicVTXSubsystem::InitRunSubsystem(), PHG4BbcSubsystem::InitRunSubsystem(), PHG4PSTOFSubsystem::InitRunSubsystem(), PHParameterInterface::PutOnParNode(), PHParameterContainerInterface::PutOnParNode(), and PHG4Reco::setupInputEventNodeReader().

+ Here is the call graph for this function:

void PHCompositeNode::forgetMe ( PHNode child)
overrideprotectedvirtual

Implements PHNode.

Definition at line 79 of file PHCompositeNode.cc.

View newest version in sPHENIX GitHub at line 79 of file PHCompositeNode.cc

References deleteMe, PHPointerListIterator< T >::pos(), PHPointerList< T >::removeAt(), and subNodes.

+ Here is the call graph for this function:

void PHCompositeNode::print ( const std::string &  path = "")
overridevirtual

Implements PHNode.

Definition at line 121 of file PHCompositeNode.cc.

View newest version in sPHENIX GitHub at line 121 of file PHCompositeNode.cc

References PHNode::print(), subNodes, and PHNode::type.

Referenced by PHNodeIterator::print().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void PHCompositeNode::prune ( )
overridevirtual

Implements PHNode.

Definition at line 60 of file PHCompositeNode.cc.

View newest version in sPHENIX GitHub at line 60 of file PHCompositeNode.cc

References PHNode::isPersistent(), PHPointerListIterator< T >::pos(), PHNode::prune(), PHPointerList< T >::removeAt(), and subNodes.

+ Here is the call graph for this function:

bool PHCompositeNode::write ( PHIOManager IOManager,
const std::string &  path = "" 
)
overridevirtual

Implements PHNode.

Definition at line 101 of file PHCompositeNode.cc.

View newest version in sPHENIX GitHub at line 101 of file PHCompositeNode.cc

References phooldefs::branchpathdelim, PHNode::name, subNodes, and PHNode::write().

Referenced by PHNodeIOManager::write(), and PHRawOManager::write().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Friends And Related Function Documentation

friend class PHNodeIterator
friend

Definition at line 16 of file PHCompositeNode.h.

View newest version in sPHENIX GitHub at line 16 of file PHCompositeNode.h

Member Data Documentation

int PHCompositeNode::deleteMe
protected

Definition at line 43 of file PHCompositeNode.h.

View newest version in sPHENIX GitHub at line 43 of file PHCompositeNode.h

Referenced by forgetMe(), and ~PHCompositeNode().

PHPointerList<PHNode> PHCompositeNode::subNodes
protected

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