G3toG4MANY.hh

Go to the documentation of this file.
00001 //
00002 // ********************************************************************
00003 // * License and Disclaimer                                           *
00004 // *                                                                  *
00005 // * The  Geant4 software  is  copyright of the Copyright Holders  of *
00006 // * the Geant4 Collaboration.  It is provided  under  the terms  and *
00007 // * conditions of the Geant4 Software License,  included in the file *
00008 // * LICENSE and available at  http://cern.ch/geant4/license .  These *
00009 // * include a list of copyright holders.                             *
00010 // *                                                                  *
00011 // * Neither the authors of this software system, nor their employing *
00012 // * institutes,nor the agencies providing financial support for this *
00013 // * work  make  any representation or  warranty, express or implied, *
00014 // * regarding  this  software system or assume any liability for its *
00015 // * use.  Please see the license in the file  LICENSE  and URL above *
00016 // * for the full disclaimer and the limitation of liability.         *
00017 // *                                                                  *
00018 // * This  code  implementation is the result of  the  scientific and *
00019 // * technical work of the GEANT4 collaboration.                      *
00020 // * By using,  copying,  modifying or  distributing the software (or *
00021 // * any work based  on the software)  you  agree  to acknowledge its *
00022 // * use  in  resulting  scientific  publications,  and indicate your *
00023 // * acceptance of all terms of the Geant4 Software license.          *
00024 // ********************************************************************
00025 //
00026 //
00027 // $Id$
00028 //
00029 // ----------------------
00030 // Class Description:
00031 //
00032 // Definition of global methods:
00033 //
00034 // void G3toG4MANY(G3VolTableEntry* curVTE);
00035 //
00036 // void MakeBooleanSolids(G3VolTableEntry* curVTE, 
00037 //                        G3VolTableEntryVector* overlaps,
00038 //                        const G4Transform3D& transform);
00039 //
00040 // void SubstractSolids(G3VolTableEntry* vte1, 
00041 //                      G3VolTableEntry* vte2,
00042 //                      G4int copy, 
00043 //                      const G4Transform3D& transform);
00044 //
00045 // G4Transform3D GetTransform3D(G3Pos*);
00046 //
00047 // MANY positions are resolved in G3toG4MANY() function, which has to be
00048 // processed before G3toG4BuildTree() (it is not called by default).
00049 // In order to resolve MANY, the user code has to provide additional info
00050 // using G4gsbool(G4String volName, G4String manyVolName) function, for
00051 // all overlapping volumes. Daughters of overlapping volumes are then
00052 // resolved automatically and should not be specified via Gsbool.
00053 //
00054 // Limitation: a volume with a MANY position can have only this one
00055 // ----------  position; if more than one position is needed a new volume
00056 //             has to be defined (gsvolu) for each position.
00057 
00058 // ----------------------
00059 //
00060 // By I.Hrivnacova, 22.10.01
00061 
00062 #ifndef G3TOG4_MANY_HH
00063 #define G3TOG4_MANY_HH 1
00064 
00065 #include <vector>
00066 #include "G3VolTableEntry.hh"
00067 #include "G4Transform3D.hh"
00068 
00069 typedef std::vector<G3VolTableEntry*>  G3VolTableEntryVector;
00070 
00071 void G3toG4MANY(G3VolTableEntry* curVTE);
00072 
00073 void MakeBooleanSolids(G3VolTableEntry* curVTE, 
00074                        G3VolTableEntryVector* overlaps,
00075                        const G4Transform3D& transform);
00076 
00077 void SubstractSolids(G3VolTableEntry* vte1, 
00078                      G3VolTableEntry* vte2,
00079                      G4int copy, 
00080                      const G4Transform3D& transform);
00081 
00082 G4Transform3D GetTransform3D(G3Pos*);
00083 
00084 #endif  

Generated on Mon May 27 17:47:36 2013 for Geant4 by  doxygen 1.4.7