Geant4  10.02.p02
RootIO Class Reference

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

#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 49 of file RootIO.hh.

Constructor & Destructor Documentation

RootIO::~RootIO ( )
virtual

Definition at line 63 of file RootIO.cc.

RootIO::RootIO ( )
protected

Definition at line 50 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 97 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 68 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 79 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 63 of file RootIO.hh.

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

int RootIO::fNevents
private

Definition at line 64 of file RootIO.hh.

Referenced by Write().


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