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

#include <geant4/tree/geant4-10.6-release/examples/extended/parallel/MPI/examples/exMPI03/include/RunMerger.hh>

+ Inheritance diagram for RunMerger:
+ Collaboration diagram for RunMerger:

Public Member Functions

 RunMerger (const Run *arun, G4int destination=G4MPImanager::kRANK_MASTER, G4int verb=0)
 
 RunMerger (const Run *arun, G4int destination=G4MPImanager::kRANK_MASTER, G4int verb=0)
 
- Public Member Functions inherited from G4VUserMPIrunMerger
 G4VUserMPIrunMerger ()
 
 G4VUserMPIrunMerger (const G4Run *aRun, G4int destination=G4MPImanager::kRANK_MASTER, G4int verbosity=0)
 
virtual ~G4VUserMPIrunMerger ()
 
void SetRun (G4Run *r)
 
void SetDestinationRank (G4int i)
 
void SetVerbosity (G4int ver)
 
virtual void Merge ()
 

Protected Member Functions

void Pack ()
 
G4RunUnPack ()
 
void Pack ()
 
G4RunUnPack ()
 
- Protected Member Functions inherited from G4VUserMPIrunMerger
void InputUserData (void *input_data, const MPI::Datatype &dt, int count)
 
void OutputUserData (void *input_data, const MPI::Datatype &dt, int count)
 
void SetupOutputBuffer (char *buff, G4int size, G4int position)
 
void DestroyBuffer ()
 
G4int GetPosition () const
 
char * GetBuffer () const
 
G4int GetBufferSize () const
 
void Send (const unsigned int destination)
 
void Receive (const unsigned int source)
 

Private Attributes

const RunfMyRun
 

Detailed Description

Definition at line 32 of file RunMerger.hh.

View newest version in sPHENIX GitHub at line 32 of file RunMerger.hh

Constructor & Destructor Documentation

RunMerger::RunMerger ( const Run arun,
G4int  destination = G4MPImanager::kRANK_MASTER,
G4int  verb = 0 
)
inline

Definition at line 34 of file RunMerger.hh.

View newest version in sPHENIX GitHub at line 34 of file RunMerger.hh

RunMerger::RunMerger ( const Run arun,
G4int  destination = G4MPImanager::kRANK_MASTER,
G4int  verb = 0 
)
inline

Definition at line 34 of file RunMerger.hh.

View newest version in sPHENIX GitHub at line 34 of file RunMerger.hh

Member Function Documentation

void RunMerger::Pack ( )
protectedvirtual

Implements G4VUserMPIrunMerger.

Definition at line 30 of file RunMerger.cc.

View newest version in sPHENIX GitHub at line 30 of file RunMerger.cc

References Run::fDummyCounter, fMyRun, G4VUserMPIrunMerger::InputUserData(), and G4FFGEnumerations::INT.

+ Here is the call graph for this function:

void RunMerger::Pack ( )
protectedvirtual

Implements G4VUserMPIrunMerger.

G4Run* RunMerger::UnPack ( )
protectedvirtual

Implements G4VUserMPIrunMerger.

G4Run * RunMerger::UnPack ( )
protectedvirtual

Implements G4VUserMPIrunMerger.

Definition at line 37 of file RunMerger.cc.

View newest version in sPHENIX GitHub at line 37 of file RunMerger.cc

References Run::fDummyCounter, G4FFGEnumerations::INT, and G4VUserMPIrunMerger::OutputUserData().

+ Here is the call graph for this function:

Member Data Documentation

const Run * RunMerger::fMyRun
private

Definition at line 41 of file RunMerger.hh.

View newest version in sPHENIX GitHub at line 41 of file RunMerger.hh

Referenced by Pack().


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