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

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

Inherited by DumpBbcPmtInfoContainer, DumpBbcVertexMap, DumpCaloTriggerInfo, DumpCdbUrlSave, DumpCentralityInfo, DumpEpdGeom, DumpEventHeader, DumpFlagSave, DumpGl1RawHit, DumpGlobalVertexMap, DumpInttDeadMap, DumpInttRawHitContainer, DumpJetContainer, DumpJetMap, DumpMbdGeom, DumpMbdOut, DumpMbdPmtContainer, DumpMbdVertexMap, DumpMicromegasRawHitContainer, DumpMvtxRawEvtHeader, DumpMvtxRawHitContainer, DumpParticleFlowElementContainer, DumpPdbParameterMap, DumpPdbParameterMapContainer, DumpPHFieldConfig, DumpPHG4BlockCellGeomContainer, DumpPHG4BlockGeomContainer, DumpPHG4CellContainer, DumpPHG4CylinderCellContainer, DumpPHG4CylinderCellGeomContainer, DumpPHG4CylinderGeomContainer, DumpPHG4HitContainer, DumpPHG4InEvent, DumpPHG4ParticleSvtxMap, DumpPHG4ScintillatorSlatContainer, DumpPHG4TpcCylinderGeomContainer, DumpPHG4TruthInfoContainer, DumpPHGenIntegral, DumpPHHepMCGenEventMap, DumpRawClusterContainer, DumpRawTowerContainer, DumpRawTowerGeomContainer, DumpRunHeader, DumpSvtxPHG4ParticleMap, DumpSvtxTrackMap, DumpSvtxVertexMap, DumpSyncObject, DumpTowerBackground, DumpTowerInfoContainer, DumpTpcRawHitContainer, DumpTpcSeedTrackMap, DumpTrackSeedContainer, DumpTrkrClusterContainer, DumpTrkrClusterCrossingAssoc, DumpTrkrClusterHitAssoc, DumpTrkrHitSetContainer, DumpTrkrHitTruthAssoc, and DumpVariableArray.

+ 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 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

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

Protected Attributes

std::ostream * fout = nullptr
 

Private Attributes

std::string ThisName
 
int write_run_event = 1
 
std::string OutDir = "./"
 
int fp_precision = -1
 
PHNodeDumpmyNodeDump = nullptr
 
int no_output = 0
 
int print_evtseq = 1
 

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")
explicit

Definition at line 9 of file DumpObject.cc.

View newest version in sPHENIX GitHub at line 9 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 68 of file DumpObject.cc.

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

References fout.

int DumpObject::Init ( )
virtual

Definition at line 15 of file DumpObject.cc.

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

References OpenOutFile(), and ThisName.

Referenced by PHNodeDump::initdump().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

virtual const std::string 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 24 of file DumpObject.h.

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

References i, and no_output.

Referenced by PHNodeDump::AddDumpObject().

+ Here is the caller graph for this function:

int DumpObject::OpenOutFile ( )
protectedvirtual

Definition at line 24 of file DumpObject.cc.

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

References INTTVtxZ::fname, 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 35 of file DumpObject.cc.

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

References ThisName.

void DumpObject::PrintEvtSeq ( const int  i)
inline

Definition at line 26 of file DumpObject.h.

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

References i, and print_evtseq.

Referenced by PHNodeDump::AddDumpObject().

+ Here is the caller graph for this function:

int DumpObject::process_event ( PHNode mynode)
virtual

Definition at line 41 of file DumpObject.cc.

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

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

+ Here is the call graph for this function:

int DumpObject::process_Node ( PHNode myNode)
protectedvirtual

Reimplemented in DumpBbcPmtInfoContainer, DumpBbcVertexMap, DumpCdbUrlSave, DumpCentralityInfo, DumpEpdGeom, DumpEventHeader, DumpFlagSave, DumpGl1RawHit, DumpGlobalVertexMap, DumpInttDeadMap, DumpInttRawHitContainer, DumpJetContainer, DumpJetMap, DumpMbdGeom, DumpMbdOut, DumpMbdPmtContainer, DumpMbdVertexMap, DumpMicromegasRawHitContainer, DumpMvtxRawEvtHeader, DumpMvtxRawHitContainer, DumpParticleFlowElementContainer, DumpPdbParameterMap, DumpPdbParameterMapContainer, DumpPHFieldConfig, DumpPHG4BlockCellGeomContainer, DumpPHG4BlockGeomContainer, DumpPHG4CellContainer, DumpPHG4CylinderCellContainer, DumpPHG4CylinderCellGeomContainer, DumpPHG4CylinderGeomContainer, DumpPHG4HitContainer, DumpPHG4InEvent, DumpPHG4ParticleSvtxMap, DumpPHG4ScintillatorSlatContainer, DumpPHG4TpcCylinderGeomContainer, DumpPHG4TruthInfoContainer, DumpPHGenIntegral, DumpPHHepMCGenEventMap, DumpRawClusterContainer, DumpRawTowerContainer, DumpRawTowerGeomContainer, DumpRunHeader, DumpSvtxPHG4ParticleMap, DumpSvtxTrackMap, DumpSvtxVertexMap, DumpSyncObject, DumpTowerInfoContainer, DumpTpcRawHitContainer, DumpTpcSeedTrackMap, DumpTrackSeedContainer, DumpTrkrClusterContainer, DumpTrkrClusterCrossingAssoc, DumpTrkrClusterHitAssoc, DumpTrkrHitSetContainer, DumpTrkrHitTruthAssoc, DumpVariableArray, DumpCaloTriggerInfo, and DumpTowerBackground.

Definition at line 62 of file DumpObject.cc.

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

Referenced by process_event().

+ Here is the caller graph for this function:

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

Definition at line 21 of file DumpObject.h.

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

References OutDir.

Referenced by PHNodeDump::initdump().

+ Here is the caller graph for this function:

void DumpObject::SetParentNodeDump ( PHNodeDump nd)
inline

Definition at line 23 of file DumpObject.h.

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

References myNodeDump.

Referenced by PHNodeDump::initdump().

+ Here is the caller graph for this function:

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

Definition at line 22 of file DumpObject.h.

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

References fp_precision.

Referenced by PHNodeDump::initdump().

+ Here is the caller graph for this function:

void DumpObject::WriteRunEvent ( const int  i)
inline

Definition at line 25 of file DumpObject.h.

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

References i, and write_run_event.

Referenced by DumpRunHeader::DumpRunHeader().

+ Here is the caller graph for this function:

Member Data Documentation

std::ostream* DumpObject::fout = nullptr
protected

Definition at line 31 of file DumpObject.h.

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

Referenced by CloseOutputFile(), OpenOutFile(), process_event(), DumpCaloTriggerInfo::process_Node(), DumpTowerBackground::process_Node(), DumpTrkrClusterCrossingAssoc::process_Node(), DumpTrkrClusterContainer::process_Node(), DumpTrackSeedContainer::process_Node(), DumpTpcSeedTrackMap::process_Node(), DumpTpcRawHitContainer::process_Node(), DumpTowerInfoContainer::process_Node(), DumpParticleFlowElementContainer::process_Node(), DumpSyncObject::process_Node(), DumpSvtxVertexMap::process_Node(), DumpSvtxTrackMap::process_Node(), DumpSvtxPHG4ParticleMap::process_Node(), DumpRunHeader::process_Node(), DumpRawTowerGeomContainer::process_Node(), DumpRawTowerContainer::process_Node(), DumpRawClusterContainer::process_Node(), DumpPHHepMCGenEventMap::process_Node(), DumpPHGenIntegral::process_Node(), DumpPHG4TruthInfoContainer::process_Node(), DumpPHG4TpcCylinderGeomContainer::process_Node(), DumpPHG4ScintillatorSlatContainer::process_Node(), DumpPHG4ParticleSvtxMap::process_Node(), DumpPHG4InEvent::process_Node(), DumpPHG4HitContainer::process_Node(), DumpPHG4CylinderGeomContainer::process_Node(), DumpPHG4CylinderCellGeomContainer::process_Node(), DumpPHG4CylinderCellContainer::process_Node(), DumpPHG4CellContainer::process_Node(), DumpPHG4BlockGeomContainer::process_Node(), DumpPHG4BlockCellGeomContainer::process_Node(), DumpPHFieldConfig::process_Node(), DumpPdbParameterMapContainer::process_Node(), DumpPdbParameterMap::process_Node(), DumpEpdGeom::process_Node(), DumpInttRawHitContainer::process_Node(), DumpCentralityInfo::process_Node(), DumpInttDeadMap::process_Node(), DumpMvtxRawHitContainer::process_Node(), DumpMvtxRawEvtHeader::process_Node(), DumpMicromegasRawHitContainer::process_Node(), DumpMbdVertexMap::process_Node(), DumpMbdPmtContainer::process_Node(), DumpMbdOut::process_Node(), DumpMbdGeom::process_Node(), DumpJetMap::process_Node(), DumpJetContainer::process_Node(), DumpBbcPmtInfoContainer::process_Node(), DumpBbcVertexMap::process_Node(), DumpGlobalVertexMap::process_Node(), DumpGl1RawHit::process_Node(), DumpFlagSave::process_Node(), DumpEventHeader::process_Node(), DumpVariableArray::process_Node(), DumpTrkrHitTruthAssoc::process_Node(), DumpCdbUrlSave::process_Node(), DumpTrkrClusterHitAssoc::process_Node(), and DumpTrkrHitSetContainer::process_Node().

int DumpObject::fp_precision = -1
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 SetPrecision().

PHNodeDump* DumpObject::myNodeDump = nullptr
private

Definition at line 38 of file DumpObject.h.

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

Referenced by process_event(), and SetParentNodeDump().

int DumpObject::no_output = 0
private

Definition at line 39 of file DumpObject.h.

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

Referenced by NoOutput(), and OpenOutFile().

std::string DumpObject::OutDir = "./"
private

Definition at line 36 of file DumpObject.h.

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

Referenced by OpenOutFile(), and SetOutDir().

int DumpObject::print_evtseq = 1
private

Definition at line 40 of file DumpObject.h.

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

Referenced by PrintEvtSeq(), and process_event().

std::string DumpObject::ThisName
private

Definition at line 34 of file DumpObject.h.

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

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

int DumpObject::write_run_event = 1
private

Definition at line 35 of file DumpObject.h.

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

Referenced by process_event(), and WriteRunEvent().


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