Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
DumpRunHeader Class Reference

#include <coresoftware/blob/master/offline/packages/NodeDump/DumpRunHeader.h>

+ Inheritance diagram for DumpRunHeader:
+ Collaboration diagram for DumpRunHeader:

Public Member Functions

 DumpRunHeader (const std::string &NodeName)
 
 ~DumpRunHeader () override
 
- Public Member Functions inherited from DumpObject
 DumpObject (const std::string &NodeName="DUMMY")
 
virtual ~DumpObject ()
 
virtual int Init ()
 
virtual int process_event (PHNode *mynode)
 
virtual int CloseOutputFile ()
 
virtual const std::string 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 (const int i)
 
void PrintEvtSeq (const int i)
 

Protected Member Functions

int process_Node (PHNode *mynode) override
 
- Protected Member Functions inherited from DumpObject
virtual int OpenOutFile ()
 

Protected Attributes

int node_written = 0
 
- Protected Attributes inherited from DumpObject
std::ostream * fout = nullptr
 

Detailed Description

Definition at line 10 of file DumpRunHeader.h.

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

Constructor & Destructor Documentation

DumpRunHeader::DumpRunHeader ( const std::string &  NodeName)
explicit

Definition at line 14 of file DumpRunHeader.cc.

View newest version in sPHENIX GitHub at line 14 of file DumpRunHeader.cc

References DumpObject::WriteRunEvent().

+ Here is the call graph for this function:

DumpRunHeader::~DumpRunHeader ( )
inlineoverride

Definition at line 14 of file DumpRunHeader.h.

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

Member Function Documentation

int DumpRunHeader::process_Node ( PHNode mynode)
overrideprotectedvirtual

Reimplemented from DumpObject.

Definition at line 21 of file DumpRunHeader.cc.

View newest version in sPHENIX GitHub at line 21 of file DumpRunHeader.cc

References DumpObject::fout, RunHeader::get_RunNumber(), PHDataNode< T >::getData(), RunHeader::isValid(), and node_written.

+ Here is the call graph for this function:

Member Data Documentation

int DumpRunHeader::node_written = 0
protected

Definition at line 18 of file DumpRunHeader.h.

View newest version in sPHENIX GitHub at line 18 of file DumpRunHeader.h

Referenced by process_Node().


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