source: trunk/source/persistency/gdml/include/G4GDMLStructure.hh@ 1289

Last change on this file since 1289 was 818, checked in by garnier, 17 years ago

import all except CVS

File size: 3.4 KB
Line 
1//
2// ********************************************************************
3// * License and Disclaimer *
4// * *
5// * The Geant4 software is copyright of the Copyright Holders of *
6// * the Geant4 Collaboration. It is provided under the terms and *
7// * conditions of the Geant4 Software License, included in the file *
8// * LICENSE and available at http://cern.ch/geant4/license . These *
9// * include a list of copyright holders. *
10// * *
11// * Neither the authors of this software system, nor their employing *
12// * institutes,nor the agencies providing financial support for this *
13// * work make any representation or warranty, express or implied, *
14// * regarding this software system or assume any liability for its *
15// * use. Please see the license in the file LICENSE and URL above *
16// * for the full disclaimer and the limitation of liability. *
17// * *
18// * This code implementation is the result of the scientific and *
19// * technical work of the GEANT4 collaboration. *
20// * By using, copying, modifying or distributing the software (or *
21// * any work based on the software) you agree to acknowledge its *
22// * use in resulting scientific publications, and indicate your *
23// * acceptance of all terms of the Geant4 Software license. *
24// ********************************************************************
25//
26//
27// $Id: G4GDMLStructure.hh,v 1.16 2007/11/30 14:51:20 ztorzsok Exp $
28// GEANT4 tag $Name: geant4-09-01-patch-02 $
29//
30//
31// class G4GDMLStructure
32//
33// Class description:
34//
35// GDML class for loading physical volumes according to various
36// specifications in Geant4.
37
38// History:
39// - Created. Zoltan Torzsok, November 2007
40// -------------------------------------------------------------------------
41
42#ifndef _G4GDMLSTRUCTURE_INCLUDED_
43#define _G4GDMLSTRUCTURE_INCLUDED_
44
45#include "G4LogicalVolume.hh"
46#include "G4LogicalVolumeStore.hh"
47#include "G4PVDivision.hh"
48#include "G4PVPlacement.hh"
49#include "G4PVReplica.hh"
50#include "G4SolidStore.hh"
51#include "G4VPhysicalVolume.hh"
52#include "G4ReflectionFactory.hh"
53
54#include "G4GDMLSetup.hh"
55
56class G4GDMLStructure : public G4GDMLSetup {
57private:
58 EAxis directionRead(const xercesc::DOMElement* const);
59 void divisionvolRead(const xercesc::DOMElement* const,G4LogicalVolume*);
60 G4LogicalVolume* fileRead(const xercesc::DOMElement* const);
61 void loopRead(const xercesc::DOMElement* const);
62 void paramvolRead(const xercesc::DOMElement* const,G4LogicalVolume*);
63 void physvolRead(const xercesc::DOMElement* const,G4LogicalVolume*);
64 G4double quantityRead(const xercesc::DOMElement* const);
65 G4String refRead(const xercesc::DOMElement* const);
66 void replicate_along_axisRead(const xercesc::DOMElement* const,G4double&,G4double&,EAxis&);
67 void replicavolRead(const xercesc::DOMElement* const,G4LogicalVolume*);
68 void volumeRead(const xercesc::DOMElement* const);
69 void volume_contentRead(const xercesc::DOMElement* const,G4LogicalVolume*);
70 void volume_loopRead(const xercesc::DOMElement* const,G4LogicalVolume*);
71 void structureRead(const xercesc::DOMElement* const);
72protected:
73 G4LogicalVolume* getVolume(const G4String&) const;
74};
75
76#endif
Note: See TracBrowser for help on using the repository browser.