EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
PHDataNode< T > Class Template Reference

#include <fun4all_coresoftware/blob/master/offline/framework/phool/PHDataNode.h>

+ Inheritance diagram for PHDataNode< T >:
+ Collaboration diagram for PHDataNode< T >:

Classes

union  tobjcast
 

Public Member Functions

 PHDataNode (T *, const std::string &)
 
 PHDataNode (T *, const std::string &, const std::string &)
 
 ~PHDataNode () override
 
TgetData ()
 
void setData (T *d)
 
void prune () override
 
void forgetMe (PHNode *) 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

 PHDataNode ()=delete
 

Protected Attributes

tobjcast data
 
- Protected Attributes inherited from PHNode
PHNodeparent
 
bool persistent
 
std::string type
 
std::string objecttype
 
std::string name
 
bool reset_able
 
std::string objectclass
 

Detailed Description

template<class T>
class PHDataNode< T >

Definition at line 13 of file PHDataNode.h.

View newest version in sPHENIX GitHub at line 13 of file PHDataNode.h

Constructor & Destructor Documentation

template<class T>
PHDataNode< T >::PHDataNode ( T d,
const std::string &  name 
)

Definition at line 41 of file PHDataNode.h.

View newest version in sPHENIX GitHub at line 41 of file PHDataNode.h

References PHDataNode< T >::setData(), and PHNode::type.

+ Here is the call graph for this function:

template<class T>
PHDataNode< T >::PHDataNode ( T d,
const std::string &  name,
const std::string &  objtype 
)

Definition at line 50 of file PHDataNode.h.

View newest version in sPHENIX GitHub at line 50 of file PHDataNode.h

References PHDataNode< T >::setData(), and PHNode::type.

+ Here is the call graph for this function:

template<class T >
PHDataNode< T >::~PHDataNode ( )
override

Definition at line 60 of file PHDataNode.h.

View newest version in sPHENIX GitHub at line 60 of file PHDataNode.h

References data.

template<class T>
PHDataNode< T >::PHDataNode ( )
protecteddelete

Member Function Documentation

template<class T>
void PHDataNode< T >::forgetMe ( PHNode )
inlineoverridevirtual

Implements PHNode.

Definition at line 24 of file PHDataNode.h.

View newest version in sPHENIX GitHub at line 24 of file PHDataNode.h

template<class T>
T* PHDataNode< T >::getData ( )
inline

Definition at line 21 of file PHDataNode.h.

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

Referenced by JetReco::FillJetNode(), findNode::getClass(), PHIODataNode< T >::operator*(), DumpTowerBackground::process_Node(), DumpCaloTriggerInfo::process_Node(), DumpTrkrHitTruthAssoc::process_Node(), DumpTrkrHitSetContainer::process_Node(), DumpTrkrClusterHitAssoc::process_Node(), DumpTrkrClusterContainer::process_Node(), DumpEventHeader::process_Node(), DumpPHG4CellContainer::process_Node(), DumpSvtxVertexMap::process_Node(), DumpSvtxTrackMap::process_Node(), DumpRunHeader::process_Node(), DumpRawTowerGeomContainer::process_Node(), DumpRawTowerGeom::process_Node(), DumpRawTowerContainer::process_Node(), DumpRawClusterContainer::process_Node(), DumpSyncObject::process_Node(), DumpPHG4TruthInfoContainer::process_Node(), DumpPHG4ScintillatorSlatContainer::process_Node(), DumpPHG4InEvent::process_Node(), DumpPHG4HitContainer::process_Node(), DumpPHG4CylinderGeomContainer::process_Node(), DumpPHG4CylinderCellContainer::process_Node(), DumpGlobalVertexMap::process_Node(), DumpPHG4CylinderCellGeomContainer::process_Node(), DumpPHG4BlockGeomContainer::process_Node(), DumpPHG4BlockCellGeomContainer::process_Node(), DumpPdbParameterMapContainer::process_Node(), DumpPHHepMCGenEventMap::process_Node(), DumpParticleFlowElementContainer::process_Node(), DumpAssocInfoContainer::process_Node(), DumpJetMap::process_Node(), DumpVariableArray::process_Node(), DumpBbcVertexMap::process_Node(), DumpPdbParameterMap::process_Node(), PHNodeIOManager::reconstructNodeTree(), PHG4DstCompressReco::SearchG4HitNodes(), PHG4TruthEventAction::SearchNode(), and PHRawOManager::write().

+ Here is the caller graph for this function:

template<class T >
void PHDataNode< T >::print ( const std::string &  path)
overridevirtual

Implements PHNode.

Definition at line 73 of file PHDataNode.h.

View newest version in sPHENIX GitHub at line 73 of file PHDataNode.h

References name.

template<class T>
void PHDataNode< T >::prune ( )
inlineoverridevirtual

Implements PHNode.

Definition at line 23 of file PHDataNode.h.

View newest version in sPHENIX GitHub at line 23 of file PHDataNode.h

template<class T>
void PHDataNode< T >::setData ( T d)
inline

Definition at line 22 of file PHDataNode.h.

View newest version in sPHENIX GitHub at line 22 of file PHDataNode.h

Referenced by PHDataNode< T >::PHDataNode(), Fun4AllPrdfInputManager::ResetEvent(), and Fun4AllPrdfInputManager::run().

+ Here is the caller graph for this function:

template<class T>
bool PHDataNode< T >::write ( PHIOManager ,
const std::string &  = "" 
)
inlineoverridevirtual

Implements PHNode.

Reimplemented in PHIODataNode< T >.

Definition at line 26 of file PHDataNode.h.

View newest version in sPHENIX GitHub at line 26 of file PHDataNode.h

Member Data Documentation

template<class T>
tobjcast PHDataNode< T >::data
protected

Definition at line 36 of file PHDataNode.h.

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

Referenced by PHDataNode< PHDWORD >::getData(), PHNodeIOManager::reconstructNodeTree(), and PHDataNode< PHDWORD >::setData().


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