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

#include <fun4all_coresoftware/blob/master/offline/packages/NodeDump/PHNodeDump.h>

+ Inheritance diagram for PHNodeDump:
+ Collaboration diagram for PHNodeDump:

Public Member Functions

 PHNodeDump ()
 
 ~PHNodeDump () override
 
int CloseOutputFiles ()
 
int GetGlobalVars (PHCompositeNode *topNode)
 
int RunNumber ()
 
int EvtSequence ()
 
int AddIgnore (const std::string &name)
 
int Select (const std::string &name)
 
int SetOutDir (const std::string &dirname)
 
void SetPrecision (const int digits)
 
- Public Member Functions inherited from PHNodeOperation
 PHNodeOperation ()
 
virtual ~PHNodeOperation ()
 
void operator() (PHNode &o)
 
void operator() (PHNode *o)
 
virtual void Verbosity (const int i)
 
virtual int Verbosity () const
 

Protected Member Functions

void perform (PHNode *) override
 
int AddDumpObject (const std::string &NodeName, PHNode *node)
 

Protected Attributes

std::map< std::string,
DumpObject * > 
dumpthis
 
std::set< std::string > ignore
 
std::set< std::string > exclusive
 
int runnumber
 
int evtsequence
 
int fp_precision
 
std::string outdir
 
- Protected Attributes inherited from PHNodeOperation
int verbosity
 

Detailed Description

Definition at line 14 of file PHNodeDump.h.

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

Constructor & Destructor Documentation

PHNodeDump::PHNodeDump ( )

Definition at line 53 of file PHNodeDump.cc.

View newest version in sPHENIX GitHub at line 53 of file PHNodeDump.cc

PHNodeDump::~PHNodeDump ( )
override

Definition at line 61 of file PHNodeDump.cc.

View newest version in sPHENIX GitHub at line 61 of file PHNodeDump.cc

References dumpthis, exclusive, and ignore.

Member Function Documentation

int PHNodeDump::AddDumpObject ( const std::string &  NodeName,
PHNode node 
)
protected

Definition at line 149 of file PHNodeDump.cc.

View newest version in sPHENIX GitHub at line 149 of file PHNodeDump.cc

References dumpthis, exclusive, fp_precision, PHNode::getType(), ignore, DumpObject::Init(), DumpObject::NoOutput(), outdir, DumpObject::SetOutDir(), DumpObject::SetParentNodeDump(), and DumpObject::SetPrecision().

Referenced by perform().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

int PHNodeDump::AddIgnore ( const std::string &  name)

Definition at line 73 of file PHNodeDump.cc.

View newest version in sPHENIX GitHub at line 73 of file PHNodeDump.cc

References ignore, and PHWHERE.

Referenced by Dumper::AddIgnore().

+ Here is the caller graph for this function:

int PHNodeDump::CloseOutputFiles ( )

Definition at line 139 of file PHNodeDump.cc.

View newest version in sPHENIX GitHub at line 139 of file PHNodeDump.cc

References dumpthis.

Referenced by Dumper::End().

+ Here is the caller graph for this function:

int PHNodeDump::EvtSequence ( )
inline

Definition at line 23 of file PHNodeDump.h.

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

References evtsequence.

Referenced by DumpObject::process_event().

+ Here is the caller graph for this function:

int PHNodeDump::GetGlobalVars ( PHCompositeNode topNode)

Definition at line 97 of file PHNodeDump.cc.

View newest version in sPHENIX GitHub at line 97 of file PHNodeDump.cc

References RunHeader::get_RunNumber(), and runnumber.

Referenced by Dumper::process_event().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void PHNodeDump::perform ( PHNode node)
overrideprotectedvirtual

Implements PHNodeOperation.

Definition at line 107 of file PHNodeDump.cc.

View newest version in sPHENIX GitHub at line 107 of file PHNodeDump.cc

References AddDumpObject(), dumpthis, PHNode::getName(), and PHNode::getType().

+ Here is the call graph for this function:

int PHNodeDump::RunNumber ( )
inline

Definition at line 22 of file PHNodeDump.h.

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

References runnumber.

Referenced by DumpObject::process_event().

+ Here is the caller graph for this function:

int PHNodeDump::Select ( const std::string &  name)

Definition at line 85 of file PHNodeDump.cc.

View newest version in sPHENIX GitHub at line 85 of file PHNodeDump.cc

References exclusive, and PHWHERE.

Referenced by Dumper::Select().

+ Here is the caller graph for this function:

int PHNodeDump::SetOutDir ( const std::string &  dirname)

Definition at line 330 of file PHNodeDump.cc.

View newest version in sPHENIX GitHub at line 330 of file PHNodeDump.cc

References outdir.

Referenced by Dumper::SetOutDir().

+ Here is the caller graph for this function:

void PHNodeDump::SetPrecision ( const int  digits)
inline

Definition at line 28 of file PHNodeDump.h.

View newest version in sPHENIX GitHub at line 28 of file PHNodeDump.h

References fp_precision.

Referenced by Dumper::SetPrecision().

+ Here is the caller graph for this function:

Member Data Documentation

std::map<std::string, DumpObject *> PHNodeDump::dumpthis
protected

Definition at line 33 of file PHNodeDump.h.

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

Referenced by AddDumpObject(), CloseOutputFiles(), perform(), and ~PHNodeDump().

int PHNodeDump::evtsequence
protected

Definition at line 37 of file PHNodeDump.h.

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

Referenced by EvtSequence().

std::set<std::string> PHNodeDump::exclusive
protected

Definition at line 35 of file PHNodeDump.h.

View newest version in sPHENIX GitHub at line 35 of file PHNodeDump.h

Referenced by AddDumpObject(), Select(), and ~PHNodeDump().

int PHNodeDump::fp_precision
protected

Definition at line 38 of file PHNodeDump.h.

View newest version in sPHENIX GitHub at line 38 of file PHNodeDump.h

Referenced by AddDumpObject(), and SetPrecision().

std::set<std::string> PHNodeDump::ignore
protected

Definition at line 34 of file PHNodeDump.h.

View newest version in sPHENIX GitHub at line 34 of file PHNodeDump.h

Referenced by AddDumpObject(), AddIgnore(), and ~PHNodeDump().

std::string PHNodeDump::outdir
protected

Definition at line 39 of file PHNodeDump.h.

View newest version in sPHENIX GitHub at line 39 of file PHNodeDump.h

Referenced by AddDumpObject(), and SetOutDir().

int PHNodeDump::runnumber
protected

Definition at line 36 of file PHNodeDump.h.

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

Referenced by GetGlobalVars(), and RunNumber().


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