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

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

+ Inheritance diagram for DumpObject:
+ Collaboration diagram for DumpObject:

Public Member Functions

 DumpObject (const std::string &NodeName="DUMMY")
 
virtual ~DumpObject ()
 
virtual int Init ()
 
virtual int process_event (PHNode *mynode)
 
virtual int CloseOutputFile ()
 
virtual const char * Name () const
 
virtual void Print (const char *what) const
 
virtual void SetOutDir (const std::string &outdir)
 
virtual void SetPrecision (const int digits)
 
void SetParentNodeDump (PHNodeDump *nd)
 
void NoOutput (const int i=1)
 
void WriteRunEvent (int i)
 

Protected Member Functions

virtual int process_Node (PHNode *myNode)
 
virtual int OpenOutFile ()
 

Protected Attributes

std::ostream * fout
 

Private Attributes

std::string ThisName
 
int write_run_event
 
std::string OutDir
 
int fp_precision
 
PHNodeDumpmyNodeDump
 
int no_output
 

Detailed Description

Definition at line 10 of file DumpObject.h.

View newest version in sPHENIX GitHub at line 10 of file DumpObject.h

Constructor & Destructor Documentation

DumpObject::DumpObject ( const std::string &  NodeName = "DUMMY")

Definition at line 11 of file DumpObject.cc.

View newest version in sPHENIX GitHub at line 11 of file DumpObject.cc

virtual DumpObject::~DumpObject ( )
inlinevirtual

Definition at line 14 of file DumpObject.h.

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

Member Function Documentation

int DumpObject::CloseOutputFile ( )
virtual

Definition at line 73 of file DumpObject.cc.

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

References fout.

int DumpObject::Init ( void  )
virtual

Definition at line 23 of file DumpObject.cc.

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

References OpenOutFile(), and ThisName.

Referenced by PHNodeDump::AddDumpObject().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

virtual const char* DumpObject::Name ( ) const
inlinevirtual

Definition at line 19 of file DumpObject.h.

View newest version in sPHENIX GitHub at line 19 of file DumpObject.h

References ThisName.

void DumpObject::NoOutput ( const int  i = 1)
inline

Definition at line 27 of file DumpObject.h.

View newest version in sPHENIX GitHub at line 27 of file DumpObject.h

References no_output.

Referenced by PHNodeDump::AddDumpObject().

+ Here is the caller graph for this function:

int DumpObject::OpenOutFile ( )
protectedvirtual

Definition at line 32 of file DumpObject.cc.

View newest version in sPHENIX GitHub at line 32 of file DumpObject.cc

References fout, no_output, OutDir, and ThisName.

Referenced by Init().

+ Here is the caller graph for this function:

void DumpObject::Print ( const char *  what) const
virtual

Definition at line 43 of file DumpObject.cc.

View newest version in sPHENIX GitHub at line 43 of file DumpObject.cc

References ThisName.

int DumpObject::process_event ( PHNode mynode)
virtual

Definition at line 49 of file DumpObject.cc.

View newest version in sPHENIX GitHub at line 49 of file DumpObject.cc

References PHNodeDump::EvtSequence(), fout, fp_precision, myNodeDump, process_Node(), PHNodeDump::RunNumber(), and write_run_event.

+ Here is the call graph for this function:

virtual void DumpObject::SetOutDir ( const std::string &  outdir)
inlinevirtual

Definition at line 24 of file DumpObject.h.

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

References OutDir.

Referenced by PHNodeDump::AddDumpObject().

+ Here is the caller graph for this function:

void DumpObject::SetParentNodeDump ( PHNodeDump nd)
inline

Definition at line 26 of file DumpObject.h.

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

References myNodeDump.

Referenced by PHNodeDump::AddDumpObject().

+ Here is the caller graph for this function:

virtual void DumpObject::SetPrecision ( const int  digits)
inlinevirtual

Definition at line 25 of file DumpObject.h.

View newest version in sPHENIX GitHub at line 25 of file DumpObject.h

References fp_precision.

Referenced by PHNodeDump::AddDumpObject().

+ Here is the caller graph for this function:

void DumpObject::WriteRunEvent ( int  i)
inline

Definition at line 28 of file DumpObject.h.

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

References write_run_event.

Referenced by DumpRunHeader::DumpRunHeader().

+ Here is the caller graph for this function:

Member Data Documentation

std::ostream* DumpObject::fout
protected
int DumpObject::fp_precision
private

Definition at line 39 of file DumpObject.h.

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

Referenced by process_event(), and SetPrecision().

PHNodeDump* DumpObject::myNodeDump
private

Definition at line 40 of file DumpObject.h.

View newest version in sPHENIX GitHub at line 40 of file DumpObject.h

Referenced by process_event(), and SetParentNodeDump().

int DumpObject::no_output
private

Definition at line 41 of file DumpObject.h.

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

Referenced by NoOutput(), and OpenOutFile().

std::string DumpObject::OutDir
private

Definition at line 38 of file DumpObject.h.

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

Referenced by OpenOutFile(), and SetOutDir().

std::string DumpObject::ThisName
private

Definition at line 36 of file DumpObject.h.

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

Referenced by Init(), Name(), OpenOutFile(), and Print().

int DumpObject::write_run_event
private

Definition at line 37 of file DumpObject.h.

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

Referenced by process_event(), and WriteRunEvent().


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