Geant4.10
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions
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.

References G4Element::GetElementTable(), and G4Material::GetMaterialTable().

45  : fTopV(0), fEltab(0), fMattab(0)
46 {
47  fEltab = G4Element::GetElementTable();
48  fMattab = G4Material::GetMaterialTable();
49 }
static G4MaterialTable * GetMaterialTable()
Definition: G4Material.cc:564
static G4ElementTable * GetElementTable()
Definition: G4Element.cc:395
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.

Referenced by ExP02DetConstrReader::Construct().

66 {
67  return fTopV;
68 }

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