Geant4  10.00.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 66 of file RootIO.cc.

RootIO::RootIO ( )
protected

Definition at line 51 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 100 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 71 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 82 of file RootIO.cc.

References fFile, and fNevents.

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: