Geant4  10.03.p02
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
ExP02GeoTree Class Reference

#include <ExP02GeoTree.hh>

Public Member Functions

 ExP02GeoTree ()
 
 ExP02GeoTree (G4VPhysicalVolume *vol, const G4ElementTable *et, const G4MaterialTable *mt)
 
virtual ~ExP02GeoTree ()
 
G4VPhysicalVolumeTopVol ()
 

Detailed Description

Helper class needed for the ROOT I/O. It contains pointers to geometry tree, element table and material table.

Definition at line 44 of file ExP02GeoTree.hh.

Constructor & Destructor Documentation

ExP02GeoTree::ExP02GeoTree ( )

Definition at line 44 of file ExP02GeoTree.cc.

45  : fTopV(0), fEltab(0), fMattab(0)
46 {
47  fEltab = G4Element::GetElementTable();
48  fMattab = G4Material::GetMaterialTable();
49 }
static G4MaterialTable * GetMaterialTable()
Definition: G4Material.cc:587
static G4ElementTable * GetElementTable()
Definition: G4Element.cc:398

Here is the call graph for this function:

ExP02GeoTree::ExP02GeoTree ( G4VPhysicalVolume vol,
const G4ElementTable et,
const G4MaterialTable mt 
)

Definition at line 53 of file ExP02GeoTree.cc.

55  : fTopV(vol), fEltab(et), fMattab(mt)
56 {}
ExP02GeoTree::~ExP02GeoTree ( )
virtual

Definition at line 60 of file ExP02GeoTree.cc.

60 {}

Member Function Documentation

G4VPhysicalVolume * ExP02GeoTree::TopVol ( )

Definition at line 65 of file ExP02GeoTree.cc.

66 {
67  return fTopV;
68 }

Here is the caller graph for this function:


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