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

Root IO implementation for the persistency example. More...

#include <geant4/tree/geant4-10.6-release/examples/extended/persistency/P01/include/RootIO.hh>

Public Member Functions

virtual ~RootIO ()
 
void Write (std::vector< ExP01TrackerHit * > *)
 
void Close ()
 

Static Public Member Functions

static RootIOGetInstance ()
 

Protected Member Functions

 RootIO ()
 

Private Attributes

TFile * fFile
 
int fNevents
 

Detailed Description

Root IO implementation for the persistency example.

Author
Witold POKORSKI
Date
2005-10-27

Definition at line 48 of file RootIO.hh.

View newest version in sPHENIX GitHub at line 48 of file RootIO.hh

Constructor & Destructor Documentation

RootIO::~RootIO ( )
virtual

Definition at line 62 of file RootIO.cc.

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

RootIO::RootIO ( )
protected

Definition at line 49 of file RootIO.cc.

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

References fFile.

Referenced by GetInstance().

+ Here is the caller graph for this function:

Member Function Documentation

void RootIO::Close ( )

Definition at line 95 of file RootIO.cc.

View newest version in sPHENIX GitHub at line 95 of file RootIO.cc

References fFile.

Referenced by ExP01TrackerSD::~ExP01TrackerSD().

+ Here is the caller graph for this function:

RootIO * RootIO::GetInstance ( void  )
static

Definition at line 67 of file RootIO.cc.

View newest version in sPHENIX GitHub at line 67 of file RootIO.cc

References instance, and RootIO().

Referenced by ExP01TrackerSD::EndOfEvent(), and ExP01TrackerSD::~ExP01TrackerSD().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void RootIO::Write ( std::vector< ExP01TrackerHit * > *  hcont)

Definition at line 78 of file RootIO.cc.

View newest version in sPHENIX GitHub at line 78 of file RootIO.cc

References fFile, fNevents, G4cout, and G4endl.

Referenced by ExP01TrackerSD::EndOfEvent().

+ Here is the caller graph for this function:

Member Data Documentation

TFile* RootIO::fFile
private

Definition at line 62 of file RootIO.hh.

View newest version in sPHENIX GitHub at line 62 of file RootIO.hh

Referenced by Close(), RootIO(), and Write().

int RootIO::fNevents
private

Definition at line 63 of file RootIO.hh.

View newest version in sPHENIX GitHub at line 63 of file RootIO.hh

Referenced by Write().


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